Can't you define a struct the same as DDSURFACEDESC2 but replace the LPVOID with LPVOID POINTER_32 instead in that case?
EDIT: That's a hack of course, but better than reading fields one at a time.
Posted 05 January 2013 - 03:14 PM
Posted 05 January 2013 - 03:13 PM