guiddef.h: Better GUID declaration for widl.

This commit is contained in:
Jacek Caban 2013-08-29 15:09:40 +02:00 committed by Alexandre Julliard
parent 7e4462e28e
commit 21c395cbfa
1 changed files with 11 additions and 0 deletions

View File

@ -18,6 +18,16 @@
#ifndef GUID_DEFINED
#define GUID_DEFINED
#ifdef __WIDL__
typedef struct
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
byte Data4[ 8 ];
} GUID;
#else
typedef struct _GUID
{
#ifdef _MSC_VER
@ -29,6 +39,7 @@ typedef struct _GUID
unsigned short Data3;
unsigned char Data4[ 8 ];
} GUID;
#endif
/* Macros for __uuidof emulation */
#if defined(__cplusplus) && !defined(_MSC_VER)