19#ifndef __WINE_CORHDR_H
20#define __WINE_CORHDR_H
95#define RidToToken(rid,tktype) ((rid) |= (tktype))
96#define TokenFromRid(rid,tktype) ((rid) | (tktype))
97#define RidFromToken(tk) ((RID)((tk) & 0x00ffffff))
98#define TypeFromToken(tk) ((ULONG32)((tk) & 0xff000000))
99#define IsNilToken(tk) ((RidFromToken(tk)) == 0)
mdToken mdCustomAttribute
@ ELEMENT_TYPE_TYPEDBYREF
@ ELEMENT_TYPE_GENERICINST
@ mdtGenericParamConstraint
mdToken mdGenericParamConstraint
mdToken mdManifestResource