Commit 21c395cb authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

guiddef.h: Better GUID declaration for widl.

parent 7e4462e2
...@@ -18,6 +18,16 @@ ...@@ -18,6 +18,16 @@
#ifndef GUID_DEFINED #ifndef GUID_DEFINED
#define 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 typedef struct _GUID
{ {
#ifdef _MSC_VER #ifdef _MSC_VER
...@@ -29,6 +39,7 @@ typedef struct _GUID ...@@ -29,6 +39,7 @@ typedef struct _GUID
unsigned short Data3; unsigned short Data3;
unsigned char Data4[ 8 ]; unsigned char Data4[ 8 ];
} GUID; } GUID;
#endif
/* Macros for __uuidof emulation */ /* Macros for __uuidof emulation */
#if defined(__cplusplus) && !defined(_MSC_VER) #if defined(__cplusplus) && !defined(_MSC_VER)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment