ReactOS 0.4.16-dev-87-g3dfbe52
guiddef.h File Reference
#include <string.h>
Include dependency graph for guiddef.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GUID
 

Macros

#define FAR
 
#define DECLSPEC_SELECTANY   __declspec(selectany)
 
#define EXTERN_C   extern
 
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)    EXTERN_C const GUID name
 
#define DEFINE_OLEGUID(name, l, w1, w2)    DEFINE_GUID(name, l, w1, w2, 0xC0,0,0,0,0,0,0,0x46)
 
#define _GUIDDEF_H_
 
#define __LPGUID_DEFINED__
 
#define __LPCGUID_DEFINED__
 
#define __IID_DEFINED__
 
#define IsEqualIID(riid1, riid2)   IsEqualGUID(riid1, riid2)
 
#define IsEqualCLSID(rclsid1, rclsid2)   IsEqualGUID(rclsid1, rclsid2)
 
#define IsEqualFMTID(rfmtid1, rfmtid2)   IsEqualGUID(rfmtid1, rfmtid2)
 
#define IID_NULL   GUID_NULL
 
#define CLSID_NULL   GUID_NULL
 
#define FMTID_NULL   GUID_NULL
 
#define __MIDL_CONST   const
 
#define REFGUID   const GUID* __MIDL_CONST
 
#define REFCLSID   const CLSID* __MIDL_CONST
 
#define REFIID   const IID* __MIDL_CONST
 
#define REFFMTID   const FMTID* __MIDL_CONST
 
#define InlineIsEqualGUID(rguid1, rguid2)
 
#define IsEqualGUID(rguid1, rguid2)   (!memcmp(rguid1, rguid2, sizeof(GUID)))
 

Typedefs

typedef struct _GUID GUID
 
typedef GUIDLPGUID
 
typedef const GUIDLPCGUID
 
typedef GUID IID
 
typedef GUIDLPIID
 
typedef GUID CLSID
 
typedef GUIDLPCLSID
 
typedef GUID FMTID
 
typedef GUIDLPFMTID
 

Macro Definition Documentation

◆ __IID_DEFINED__

#define __IID_DEFINED__

Definition at line 90 of file guiddef.h.

◆ __LPCGUID_DEFINED__

#define __LPCGUID_DEFINED__

Definition at line 85 of file guiddef.h.

◆ __LPGUID_DEFINED__

#define __LPGUID_DEFINED__

Definition at line 80 of file guiddef.h.

◆ __MIDL_CONST

#define __MIDL_CONST   const

Definition at line 105 of file guiddef.h.

◆ _GUIDDEF_H_

#define _GUIDDEF_H_

Definition at line 77 of file guiddef.h.

◆ CLSID_NULL

#define CLSID_NULL   GUID_NULL

Definition at line 99 of file guiddef.h.

◆ DECLSPEC_SELECTANY

#define DECLSPEC_SELECTANY   __declspec(selectany)

Definition at line 40 of file guiddef.h.

◆ DEFINE_GUID

#define DEFINE_GUID (   name,
  l,
  w1,
  w2,
  b1,
  b2,
  b3,
  b4,
  b5,
  b6,
  b7,
  b8 
)     EXTERN_C const GUID name

Definition at line 68 of file guiddef.h.

◆ DEFINE_OLEGUID

#define DEFINE_OLEGUID (   name,
  l,
  w1,
  w2 
)     DEFINE_GUID(name, l, w1, w2, 0xC0,0,0,0,0,0,0,0x46)

Definition at line 73 of file guiddef.h.

◆ EXTERN_C

#define EXTERN_C   extern

Definition at line 47 of file guiddef.h.

◆ FAR

#define FAR

Definition at line 36 of file guiddef.h.

◆ FMTID_NULL

#define FMTID_NULL   GUID_NULL

Definition at line 100 of file guiddef.h.

◆ IID_NULL

#define IID_NULL   GUID_NULL

Definition at line 98 of file guiddef.h.

◆ InlineIsEqualGUID

#define InlineIsEqualGUID (   rguid1,
  rguid2 
)
Value:
(((unsigned long *)rguid1)[0] == ((unsigned long *)rguid2)[0] && \
((unsigned long *)rguid1)[1] == ((unsigned long *)rguid2)[1] && \
((unsigned long *)rguid1)[2] == ((unsigned long *)rguid2)[2] && \
((unsigned long *)rguid1)[3] == ((unsigned long *)rguid2)[3])

Definition at line 142 of file guiddef.h.

◆ IsEqualCLSID

#define IsEqualCLSID (   rclsid1,
  rclsid2 
)    IsEqualGUID(rclsid1, rclsid2)

Definition at line 96 of file guiddef.h.

◆ IsEqualFMTID

#define IsEqualFMTID (   rfmtid1,
  rfmtid2 
)    IsEqualGUID(rfmtid1, rfmtid2)

Definition at line 97 of file guiddef.h.

◆ IsEqualGUID

#define IsEqualGUID (   rguid1,
  rguid2 
)    (!memcmp(rguid1, rguid2, sizeof(GUID)))

Definition at line 147 of file guiddef.h.

◆ IsEqualIID

#define IsEqualIID (   riid1,
  riid2 
)    IsEqualGUID(riid1, riid2)

Definition at line 95 of file guiddef.h.

◆ REFCLSID

#define REFCLSID   const CLSID* __MIDL_CONST

Definition at line 117 of file guiddef.h.

◆ REFFMTID

static FMTID *static IPropertySetStorage **static const CLSID IPropertyStorage **static REFFMTID   const FMTID* __MIDL_CONST

Definition at line 119 of file guiddef.h.

◆ REFGUID

Definition at line 116 of file guiddef.h.

◆ REFIID

Typedef Documentation

◆ CLSID

typedef GUID CLSID

Definition at line 93 of file guiddef.h.

◆ FMTID

typedef GUID FMTID

Definition at line 94 of file guiddef.h.

◆ GUID

typedef struct _GUID GUID

◆ IID

typedef GUID IID

Definition at line 92 of file guiddef.h.

◆ LPCGUID

typedef const GUID* LPCGUID

Definition at line 86 of file guiddef.h.

◆ LPCLSID

typedef GUID * LPCLSID

Definition at line 93 of file guiddef.h.

◆ LPFMTID

typedef GUID * LPFMTID

Definition at line 94 of file guiddef.h.

◆ LPGUID

typedef GUID* LPGUID

Definition at line 81 of file guiddef.h.

◆ LPIID

typedef GUID * LPIID

Definition at line 92 of file guiddef.h.