mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-29 11:13:57 +00:00
fix: add missing winerror macro definitions
This commit is contained in:
parent
55964caf95
commit
e3b63aa690
|
|
@ -67,6 +67,12 @@ typedef unsigned char byte;
|
|||
typedef short SHORT;
|
||||
typedef float FLOAT;
|
||||
|
||||
#define ERROR_SUCCESS 0L
|
||||
#define ERROR_IO_PENDING 997L // dderror
|
||||
#define ERROR_CANCELLED 1223L
|
||||
//#define S_OK ((HRESULT)0x00000000L)
|
||||
#define S_FALSE ((HRESULT)0x00000001L)
|
||||
|
||||
#define PAGE_READWRITE 0x04
|
||||
#define MEM_LARGE_PAGES 0x20000000
|
||||
#define MAXULONG_PTR ((ULONG_PTR)~0UL)
|
||||
|
|
|
|||
Loading…
Reference in a new issue