typedef struct IDirect3DDevice9 *LPDIRECT3DDEVICE9, *PDIRECT3DDEVICE9; long __stdcall hkEndScene(LPDIRECT3DDEVICE9 pDevice) { g_GUI.pDevice = pDevice; // I need