uuid: Mark all GUID variables as hidden.
This commit is contained in:
parent
d74b280e95
commit
236fd51020
|
@ -21,6 +21,7 @@
|
|||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#define COM_NO_WINDOWS_H
|
||||
#include "initguid.h"
|
||||
|
||||
|
|
|
@ -32,16 +32,18 @@ typedef struct _GUID
|
|||
#ifdef INITGUID
|
||||
#ifdef __cplusplus
|
||||
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
|
||||
EXTERN_C const GUID name DECLSPEC_HIDDEN; \
|
||||
EXTERN_C const GUID name = \
|
||||
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
|
||||
#else
|
||||
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
|
||||
const GUID name DECLSPEC_HIDDEN; \
|
||||
const GUID name = \
|
||||
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
|
||||
#endif
|
||||
#else
|
||||
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
|
||||
EXTERN_C const GUID name
|
||||
EXTERN_C const GUID name DECLSPEC_HIDDEN
|
||||
#endif
|
||||
|
||||
#define DEFINE_OLEGUID(name, l, w1, w2) \
|
||||
|
|
Loading…
Reference in New Issue