|
|
| version 1.2, 2004/08/03 11:01:59 | version 1.6, 2004/08/12 17:57:36 |
|---|---|
| Line 4 enum { | Line 4 enum { |
| FAILURE = 1 | FAILURE = 1 |
| }; | }; |
| #ifndef PI | |
| #define PI 3.14159265357989 | |
| #endif | |
| #ifndef BRESULT | #ifndef BRESULT |
| #define BRESULT UINT8 | #define BRESULT UINT |
| #endif | #endif |
| #ifndef PI | #ifndef INTPTR |
| #define PI 3.14159265357989 | #define INTPTR long |
| #endif | #endif |
| #ifndef LOADINTELDWORD | #ifndef LOADINTELDWORD |
| Line 49 enum { | Line 53 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 | #ifndef LOW11 |
| #define LOW11(a) ((a) & 0x07ff) | #define LOW11(a) ((a) & 0x07ff) |
| #endif | #endif |
| Line 148 enum { | Line 158 enum { |
| #define FASTCALL | #define FASTCALL |
| #endif | #endif |
| #if 0 | |
| typedef struct { | |
| DWORD x; | |
| DWORD y; | |
| DWORD w; | |
| DWORD h; | |
| } NP2RECT; | |
| typedef struct { | |
| DWORD x; | |
| DWORD y; | |
| } XYSIZE; | |
| #endif | |