Best to get to get the whole header and clean it up, as I have done with the FreeGlut header.
All pointers and handles should be declared sys, long or dword for 32 bits, short or word for 16 bits.
once the base types have been typedef'd, very little needs to be changed in the header
example:
typedef dword uint32
typedef word uint16
typedef byte uint8
...