|
|
| version 1.9, 2004/03/26 06:47:11 | version 1.11, 2004/06/20 03:40:31 |
|---|---|
| Line 31 enum { | Line 31 enum { |
| *((a)+1) = (BYTE)((b)>>8) | *((a)+1) = (BYTE)((b)>>8) |
| #endif | #endif |
| #ifndef NELEMENTS | |
| #define NELEMENTS(a) ((int)(sizeof(a) / sizeof(a[0]))) | |
| #endif | |
| // ---- Optimize Macros | // ---- Optimize Macros |
| #ifndef REG8 | #ifndef REG8 |
| #define REG8 BYTE | #define REG8 UINT8 |
| #endif | #endif |
| #ifndef REG16 | #ifndef REG16 |
| #define REG16 UINT16 | #define REG16 UINT16 |
| Line 57 enum { | Line 61 enum { |
| #define HIGH16(a) (((UINT32)(a)) >> 16) | #define HIGH16(a) (((UINT32)(a)) >> 16) |
| #endif | #endif |
| #ifndef OEMCHAR | |
| #define OEMCHAR char | |
| #endif | |
| #ifndef OEMTEXT | |
| #define OEMTEXT(string) (string) | |
| #endif | |
| #ifndef OEMNULLSTR | |
| #define OEMNULLSTR OEMTEXT("") | |
| #endif | |
| #ifndef STRLITERAL | #ifndef STRLITERAL |
| #ifdef UNICODE | #ifdef UNICODE |
| #define STRLITERAL(string) _T(string) | #define STRLITERAL(string) _T(string) |