Heya .. having an AWFUL time trying to convert d3d8.h to d3d8.inc .... h2inc.exe is a total piece of crap (anyone not agree?) Does anyone know where I could find these headers for MASM ?
It looks like this file just defines 12 COM interfaces:
#define INTERFACE IDirect3D8
#define INTERFACE IDirect3DDevice8
#define INTERFACE IDirect3DSwapChain8
#define INTERFACE IDirect3DResource8
#define INTERFACE IDirect3DBaseTexture8
#define INTERFACE IDirect3DTexture8
#define INTERFACE IDirect3DVolumeTexture8
#define INTERFACE IDirect3DCubeTexture8
#define INTERFACE IDirect3DVertexBuffer8
#define INTERFACE IDirect3DIndexBuffer8
#define INTERFACE IDirect3DSurface8
#define INTERFACE IDirect3DVolume8
It also defined the interface ID's, and a C-style wrapper for each COM method.
Take a peek at here.is/COMinASM. While this header must be translated manually, it doesn't look very involved.
I might try the translation if you publish your work.