If this is done in C code you can have the compiler generate the offsets for you. printf ("%d\n", &((OPENFILENAME *) 0)- hInstance); 8 on Win32 and 16 on Win64.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.