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