I was wondering if anyone could help me understand how to pass this param in the DirectDrawCreateEx call. I'm working with Dx7. Since it's a GUID, it doesn't pass directly in Invoke, but I have had some luck with this:
DATA SECTION
IID_IDirectDraw7 GUID GUID_IID_IDirectDraw7
CODE SECTION
invoke DirectDrawCreateEx, NULL, ADDR ptrIDirectDraw, ADDR IID_IDirectDraw7, NULL
Is this how to go about it?
yes, you must pass a pointer to the GUID.
AFAICS it should work.
Thank you, q.