Typelib marshalling BSTRs
Kelly Leahy
kellyleahy at swbell.net
Fri Jul 18 11:31:36 CDT 2003
> Hm, so if you declare an array like so:
>
> DWORD args[32];
>
> and then pass args as a parameter of type "DWORD *args", it
> automatically gets the address of it? I thought passing variables
> directly like that would normally cause a copy by value, but I don't
> know C well enough I suppose.
>
yes. As far as parameter passing goes, xxx *bob is the same as xxx bob[].
this is always true in C and C++, as far as I can remember.
Kelly
More information about the wine-devel
mailing list