In your d3d9.inc file, the first 2 virtual tables have the typedef of the id structure.
IDirect3D9 struct
_vtIDirect3D9 IDirect3D9
IDirect3D9 ends
LPDIRECT3D9 typedef PTR IDirect3D9
PDIRECT3D9 typedef PTR IDirect3D9
But the rest of the tables have typedef dword.
IDirect3DSwapChain9 struct
_vtIDirect3DSwapChain9 IDirect3DSwapChain9
IDirect3DSwapChain9 ends
LPDIRECT3DSWAPCHAIN9 typedef PTR DWORD
PDIRECT3DSWAPCHAIN9 typedef PTR DWORD
Why the difference, reason? Thx.
They are both DWORD type definitions.
Don't remember exactly why I did it this way.
I translated the D3D9 includes in 2003 from C++ to assembly by hand, maybe that's why.
Herryquiz is a lousy bot, and his coder is even lousier :greenclp:
:bgrin: