|
#define | __DX_BCD(bcd) 0x##bcd |
|
#define | __DX_CAT(id1, id2) id1##id2 |
|
#define | __DX_CAT_VERSION(mj, mn, s, d, b) mj##.##mn##.##s##d##b |
|
#define | __DX_LSTRINGIFY(x) L#x |
|
#define | __DX_STRINGIFY(x) #x |
|
#define | DX_BCD(bcd) __DX_BCD(bcd) |
|
#define | DX_BUILD_INFO " debug build " __DATE__ " " __TIME__ |
|
#define | DX_CAT(id1, id2) __DX_CAT(id1,id2) |
|
#define | DX_CAT_VERSION(mj, mn, s, d, b) __DX_CAT_VERSION(mj,mn,s,d,b) |
|
#define | DX_DEBUG |
|
#define | DX_GUID_FORMAT %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x |
|
#define | DX_GUID_SPLIT(g) (g).Data1,(g).Data2,(g).Data3,(g).Data4[0],(g).Data4[1],(g).Data4[2],(g).Data4[3],(g).Data4[4],(g).Data4[5],(g).Data4[6],(g).Data4[7] |
|
#define | DX_LSTRINGIFY(x) __DX_LSTRINGIFY(x) |
|
#define | DX_PLATFORM_SDK DX_VERSION32_COMBINE(DX_PLATFORM_SDK_MAJOR,DX_PLATFORM_SDK_MINOR,DX_PLATFORM_SDK_SUB,0,0) |
|
#define | DX_STRINGIFY(x) __DX_STRINGIFY(x) |
|
#define | DX_VERSION DX_CAT_VERSION(DX_VERSION_MAJOR,DX_VERSION_MINOR,DX_VERSION_SUB,DX_VERSION_DEPLOYMENT,DX_VERSION_BUILD) |
|
#define | DX_VERSION32 DX_VERSION32_COMBINE(DX_BCD(DX_VERSION_MAJOR),DX_VERSION_MINOR,DX_VERSION_SUB,DX_BCD(DX_VERSION_DEPLOYMENT),DX_BCD(DX_VERSION_BUILD)) |
|
#define | DX_VERSION32_BUILD(v32) ((v32)&DX_VERSION_MASK_BUILD) |
|
#define | DX_VERSION32_COMBINE(M, m, s, d, b) (((M)<<DX_VERSION_SHIFT_MAJOR)|((m)<<DX_VERSION_SHIFT_MINOR)|((s)<<DX_VERSION_SHIFT_SUB)|((d)<<DX_VERSION_SHIFT_DEPLOYMENT)|((b))) |
|
#define | DX_VERSION32_DEPLOYMENT(v32) (((v32)&DX_VERSION_MASK_DEPLOYMENT)>>DX_VERSION_SHIFT_DEPLOYMENT) |
|
#define | DX_VERSION32_FORMAT(v32) DX_VERSION32_MAJOR(v32),DX_VERSION32_MINOR(v32),DX_VERSION32_SUB(v32),DX_VERSION32_DEPLOYMENT(v32),DX_VERSION32_BUILD(v32) |
|
#define | DX_VERSION32_FORMAT_SHORT(v32) DX_VERSION32_MAJOR(v32),DX_VERSION32_MINOR(v32),DX_VERSION32_SUB(v32) |
|
#define | DX_VERSION32_MAJOR(v32) (((v32)&DX_VERSION_MASK_MAJOR)>>DX_VERSION_SHIFT_MAJOR) |
|
#define | DX_VERSION32_MINOR(v32) (((v32)&DX_VERSION_MASK_MINOR)>>DX_VERSION_SHIFT_MINOR) |
|
#define | DX_VERSION32_SUB(v32) (((v32)&DX_VERSION_MASK_SUB)>>DX_VERSION_SHIFT_SUB) |
|
#define | DX_VERSION_FORMAT %x.%d.%d%x%x |
|
#define | DX_VERSION_FORMAT_SHORT %x.%d.%d |
|
#define | DX_VERSION_MASK_BUILD 0x000003ff |
|
#define | DX_VERSION_MASK_COMPATIBILITY 0xffffffff |
|
#define | DX_VERSION_MASK_DEPLOYMENT 0x0000f000 |
|
#define | DX_VERSION_MASK_MAJOR 0xff000000 |
|
#define | DX_VERSION_MASK_MINOR 0x00f00000 |
|
#define | DX_VERSION_MASK_SUB 0x000f0000 |
|
#define | DX_VERSION_SHIFT_DEPLOYMENT 12 |
|
#define | DX_VERSION_SHIFT_MAJOR 24 |
|
#define | DX_VERSION_SHIFT_MINOR 20 |
|
#define | DX_VERSION_SHIFT_SUB 16 |
|
#define | sizeof_array(array) (sizeof(array)/sizeof((array)[0])) |
|