22 Oct
2012
22 Oct
'12
9:53 p.m.
Le 22/10/2012 22:29, Rico Schüller a écrit :
On 22.10.2012 21:28, Christian Costa wrote:
+static HRESULT WINAPI ID3DXFileDataImpl_GetType(ID3DXFileData *iface, GUID* guid) Spacing. msdn says "const GUID *pType" see http://msdn.microsoft.com/en-us/library/windows/desktop/bb205843%28v=vs.85%2.... Is it a bug in msdn?
+ ID3DXFileDataImpl* object; *object?
+ object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(ID3DXFileDataImpl)); I'd use sizeof(*object), but that's probably only a matter of taste.
I use to do it this way but I don't have particular taste. If sizeof(*object) is the Wine preferred way I can change it.