Add files contributed by Vincent R
[cegcc.git] / cegcc / src / w32api / include / mapidefs.h
blob408d0b874ef4c180eea7d29fcbe83ec00c721594
1 #ifndef _MAPIDEFS_H
2 #define _MAPIDEFS_H
3 #if __GNUC__ >=3
4 #pragma GCC system_header
5 #endif
7 /*
8 * http://msdn.microsoft.com/en-us/library/ms862955.aspx (PROP_ID)
9 * http://msdn.microsoft.com/en-us/library/ms862956.aspx (PROP_TAG)
10 * http://msdn.microsoft.com/en-us/library/ms862957.aspx (PROP_TYPE)
13 #define PROP_TYPE(ulPropTag) (((ULONG)(ulPropTag))& 0x0000FFFF)
14 #define PROP_ID(ulPropTag) (((ULONG)(ulPropTag)) >> 16)
15 #define PROP_TAG(ulPropType,ulPropID) ((((ULONG)(ulPropID)) << 16)|((ULONG)(ulPropType)))
18 #endif /* Not _MAPIDEFS_H */