Hello All,

I've got a problem with DDRAW's QueryInterface. It wants as parameter IID_IDirectDraw2, but I can't find what this value EQUates to anywhere (neither MASM nor NASM includes, nor C includes). Please understand that I am not coding in MASM nor in NASM nor in C, it's for a custom project, thus I'd like to know what the following (and eventually other, additional ones that I missed, e.g. DirectSound) constants (for QueryInterface) equate to:


IID_IDirectDraw
IID_IDirectDraw2
IID_IDirectDrawSurface
IID_IDirectDrawSurface2
IID_IDirectDrawSurface3
IID_IDirectDrawSurface4
IID_IDirectDrawSurface7
IID_IDirectDrawPalette
IID_IDirectDrawClipper
IID_IDirectDrawColorControl
..direct sound ones, etc..


I don't have VisualC++ installed in this box.. it would be easy to obtain those values for me if I had. It's quite urgent, I hope somebody can help.

Thank you for any help.

Greets,
Maverick
Posted on 2002-03-17 06:32:36 by Maverick
Don't worry, I just figured it myself.. as I imagined, it was the pointer to a GUID structure.. it's just that because of a problem elsewhere it didn't work, and I wondered if I was doing it wrong, regardless of what my memory told me.

Thanks anyway :)

Greets,
Maverick
Posted on 2002-03-17 06:47:37 by Maverick