How do I pass a 128-bit GUID parameter? I'm trying to retrieve an IDirectDraw7 interface and I've got the GUID (from MSVC++ includes), but I don't know how to place it properly on the stack.
Posted on 2003-07-11 17:20:15 by Hugin
You don't.
You define the GUID somewhere like in your DATA segment, and you refer to that GUID using its effective address ie a pointer to it.
Whenever you do anything in asm involving higher langs, chances are that you'll be using pointers a lot, because they tend to use a lot of indirection!
Posted on 2003-07-11 19:36:09 by Homer
Now, that was rather easy. Thanks. I guess I got confused by the 'by value' thingie in MSVC++.
Posted on 2003-07-12 05:00:59 by Hugin