view src/win32/7zip/7z/CPP/7zip/IDecl.h @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
line wrap: on
line source
1 // IDecl.h
3 #ifndef __IDECL_H
4 #define __IDECL_H
6 #include "../Common/MyUnknown.h"
8 #define DECL_INTERFACE_SUB(i, base, groupId, subId) \
9 DEFINE_GUID(IID_ ## i, \
10 0x23170F69, 0x40C1, 0x278A, 0, 0, 0, (groupId), 0, (subId), 0, 0); \
11 struct i: public base
13 #define DECL_INTERFACE(i, groupId, subId) DECL_INTERFACE_SUB(i, IUnknown, groupId, subId)
15 #endif