winapi missing definition

John Fortin fortinj@ibm.net
Sun Jul 11 18:24:00 GMT 1999


Hi Anders,

	My name is John Fortin and I've been using the cygwin compiler.  I
found what I believe is a missing definition in one of the headers in
your winapi library.

basetyps.h :

typedef struct _GUID
{
    unsigned long Data1;
    unsigned short Data2;
    unsigned short Data3;
    unsigned char Data4[8];
} GUID;

needs to have *LPGUID added...

typedef struct _GUID
{
    unsigned long Data1;
    unsigned short Data2;
    unsigned short Data3;
    unsigned char Data4[8];
} GUID, *LPGUID;

I found this during a port of DirectX 6.0.  If this is incorrect, please
let me know.

Thanks,
John Fortin


More information about the Cygwin-developers mailing list