|
|
| version 1.1, 2004/08/01 05:31:29 | version 1.5, 2004/08/08 14:00:56 |
|---|---|
| Line 4 enum { | Line 4 enum { |
| FAILURE = 1 | FAILURE = 1 |
| }; | }; |
| #ifndef BRESULT | |
| #define BRESULT UINT8 | |
| #endif | |
| #ifndef PI | #ifndef PI |
| #define PI 3.14159265357989 | #define PI 3.14159265357989 |
| #endif | #endif |
| #ifndef BRESULT | |
| #define BRESULT UINT | |
| #endif | |
| #ifndef LOADINTELDWORD | #ifndef LOADINTELDWORD |
| #define LOADINTELDWORD(a) (((UINT32)(a)[0]) | \ | #define LOADINTELDWORD(a) (((UINT32)(a)[0]) | \ |
| ((UINT32)(a)[1] << 8) | \ | ((UINT32)(a)[1] << 8) | \ |
| Line 49 enum { | Line 49 enum { |
| #define REG16 UINT16 | #define REG16 UINT16 |
| #endif | #endif |
| #ifndef LOW8 | |
| #define LOW8(a) ((UINT8)(a)) | |
| #endif | |
| #ifndef LOW10 | |
| #define LOW10(a) ((a) & 0x03ff) | |
| #endif | |
| #ifndef LOW11 | |
| #define LOW11(a) ((a) & 0x07ff) | |
| #endif | |
| #ifndef LOW12 | #ifndef LOW12 |
| #define LOW12(a) ((a) & 0x0fff) | #define LOW12(a) ((a) & 0x0fff) |
| #endif | #endif |
| Line 145 enum { | Line 154 enum { |
| #define FASTCALL | #define FASTCALL |
| #endif | #endif |
| // ---- ? | |
| typedef struct { | |
| DWORD x; | |
| DWORD y; | |
| DWORD w; | |
| DWORD h; | |
| } NP2RECT; | |
| typedef struct { | |
| DWORD x; | |
| DWORD y; | |
| } XYSIZE; | |