[PATCH] include: data_size on GetPrivateData should be a pointer type since it is an in/out parameter.

Reece Dunn msclrhd at googlemail.com
Fri Oct 17 15:02:57 CDT 2008


Hi,

Building dxgi.idl with the VC9 midl tool produces an error on the
data_size parameter of GetPrivateData. This is because the type is an
in *and* out parameter, and the type in the IDL file is a UINT, not a
pointer type. Make it a pointer to a UINT type to fix the error (this
is correct, as per MSDN:
http://msdn.microsoft.com/en-us/library/bb174543(VS.85).aspx).

- Reece
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-include-data_size-on-GetPrivateData-should-be-a-poi.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081017/13b66b94/attachment.txt 


More information about the wine-patches mailing list