windows-nt/Source/XPSP1/NT/public/sdk/inc/adoguids.h
2020-09-26 16:20:57 +08:00

30 lines
911 B
C

//-----------------------------------------------------------------------------
// File: adoguids.h
//
// Copyright: Copyright (c) Microsoft Corporation
//
// Contents: ADO GUIDs macros definition
//
// Comments:
//
//-----------------------------------------------------------------------------
#ifndef __ADOGUIDS_H__
#define __ADOGUIDS_H__
#define STRING_GUID(l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) l##-##w1##-##w2##-##b1##b2##-##b3##b4##b5##b6##b7##b8
#if defined(__midl) || defined(GEN_MIDL)
#define GUID_BUILDER(n,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) STRING_GUID(l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else
#define GUID_BUILDER(n,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) DEFINE_GUID(n,0x##l,0x##w1,0x##w2,0x##b1,0x##b2,0x##b3,0x##b4,0x##b5,0x##b6,0x##b7,0x##b8)
#define IMMEDIATE_GUID_USE
#endif
#define INCLUDING_ADOGUIDS
#include "adogpool.h"
#undef INCLUDING_ADOGUIDS
#undef IMMEDIATE_GUID_USE
#endif //__ADOGUIDS_H__