SafeArrayCreateVector

Martin Fuchs martin-fuchs at gmx.net
Mon Mar 1 15:51:17 CST 2004


> > Changelog:
> > correct parameter type for SafeArrayCreateVector() and
>  SafeArrayCreateVectorEx() from ULONG to UINT
> 
> The Microsoft headers have ULONG here, what headers are you using?

Yes, you are right. In the headers there is "ULONG".
I looked in the MSDN documentation:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/automat/htm/chap7_4w8i.asp

There it's defined as:
SAFEARRAY* SafeArrayCreateVector( VARTYPE vt, long lLbound, unsigned int cElements );

I guess the docu is wrong, since the second parameter is also "long".
So please forget the patch. Seems it is better to correct the W32API headers.

Regards,

   Martin




More information about the wine-devel mailing list