Changeset 278 for trunk/include/win
- Timestamp:
- Jul 6, 1999, 5:48:48 PM (26 years ago)
- Location:
- trunk/include/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/winbase.h
r4 r278 1 /* $Id: winbase.h,v 1. 1 1999-05-24 20:19:21 ktkExp $ */1 /* $Id: winbase.h,v 1.2 1999-07-06 15:48:44 phaller Exp $ */ 2 2 3 3 #ifndef __WINE_WINBASE_H … … 321 321 322 322 /* Purge functions for Comm Port */ 323 #define PURGE_TXABORT 0x0001 /* Kill the pending/current writes to the 323 #define PURGE_TXABORT 0x0001 /* Kill the pending/current writes to the 324 324 comm port */ 325 #define PURGE_RXABORT 0x0002 /*Kill the pending/current reads to 325 #define PURGE_RXABORT 0x0002 /*Kill the pending/current reads to 326 326 the comm port */ 327 327 #define PURGE_TXCLEAR 0x0004 /* Kill the transmit queue if there*/ … … 398 398 399 399 400 #define LMEM_FIXED 0 400 #define LMEM_FIXED 0 401 401 #define LMEM_MOVEABLE 0x0002 402 402 #define LMEM_NOCOMPACT 0x0010 … … 867 867 BYTE BaseMid; 868 868 BYTE Flags1;/*Declare as bytes to avoid alignment problems */ 869 BYTE Flags2; 869 BYTE Flags2; 870 870 BYTE BaseHi; 871 871 } Bytes; 872 struct { 872 struct { 873 873 unsigned BaseMid : 8; 874 874 unsigned Type : 5; … … 935 935 * WINAPI instead of CALLBACK in the windows headers. 936 936 */ 937 typedef DWORD (* WINAPI LPPROGRESS_ROUTINE)(LARGE_INTEGER, LARGE_INTEGER, LARGE_INTEGER, 937 typedef DWORD (* WINAPI LPPROGRESS_ROUTINE)(LARGE_INTEGER, LARGE_INTEGER, LARGE_INTEGER, 938 938 LARGE_INTEGER, DWORD, DWORD, HANDLE, 939 939 HANDLE, LPVOID); … … 997 997 998 998 #define STATUS_SUCCESS 0x00000000 999 #define STATUS_WAIT_0 0x00000000 1000 #define STATUS_ABANDONED_WAIT_0 0x00000080 1001 #define STATUS_USER_APC 0x000000C0 1002 #define STATUS_TIMEOUT 0x00000102 1003 #define STATUS_PENDING 0x00000103 1004 #define STATUS_GUARD_PAGE_VIOLATION 0x80000001 1005 #define STATUS_DATATYPE_MISALIGNMENT 0x80000002 1006 #define STATUS_BREAKPOINT 0x80000003 1007 #define STATUS_SINGLE_STEP 0x80000004 999 #define STATUS_WAIT_0 0x00000000 1000 #define STATUS_ABANDONED_WAIT_0 0x00000080 1001 #define STATUS_USER_APC 0x000000C0 1002 #define STATUS_TIMEOUT 0x00000102 1003 #define STATUS_PENDING 0x00000103 1004 #define STATUS_GUARD_PAGE_VIOLATION 0x80000001 1005 #define STATUS_DATATYPE_MISALIGNMENT 0x80000002 1006 #define STATUS_BREAKPOINT 0x80000003 1007 #define STATUS_SINGLE_STEP 0x80000004 1008 1008 #define STATUS_BUFFER_OVERFLOW 0x80000005 1009 #define STATUS_ACCESS_VIOLATION 0xC0000005 1010 #define STATUS_IN_PAGE_ERROR 0xC0000006 1009 #define STATUS_ACCESS_VIOLATION 0xC0000005 1010 #define STATUS_IN_PAGE_ERROR 0xC0000006 1011 1011 #define STATUS_INVALID_PARAMETER 0xC000000D 1012 #define STATUS_NO_MEMORY 0xC0000017 1013 #define STATUS_ILLEGAL_INSTRUCTION 0xC000001D 1012 #define STATUS_NO_MEMORY 0xC0000017 1013 #define STATUS_ILLEGAL_INSTRUCTION 0xC000001D 1014 1014 #define STATUS_BUFFER_TOO_SMALL 0xC0000023 1015 #define STATUS_NONCONTINUABLE_EXCEPTION 0xC0000025 1016 #define STATUS_INVALID_DISPOSITION 0xC0000026 1015 #define STATUS_NONCONTINUABLE_EXCEPTION 0xC0000025 1016 #define STATUS_INVALID_DISPOSITION 0xC0000026 1017 1017 #define STATUS_UNKNOWN_REVISION 0xC0000058 1018 1018 #define STATUS_INVALID_SECURITY_DESCR 0xC0000079 1019 #define STATUS_ARRAY_BOUNDS_EXCEEDED 0xC000008C 1020 #define STATUS_FLOAT_DENORMAL_OPERAND 0xC000008D 1021 #define STATUS_FLOAT_DIVIDE_BY_ZERO 0xC000008E 1022 #define STATUS_FLOAT_INEXACT_RESULT 0xC000008F 1023 #define STATUS_FLOAT_INVALID_OPERATION 0xC0000090 1024 #define STATUS_FLOAT_OVERFLOW 0xC0000091 1025 #define STATUS_FLOAT_STACK_CHECK 0xC0000092 1026 #define STATUS_FLOAT_UNDERFLOW 0xC0000093 1027 #define STATUS_INTEGER_DIVIDE_BY_ZERO 0xC0000094 1028 #define STATUS_INTEGER_OVERFLOW 0xC0000095 1029 #define STATUS_PRIVILEGED_INSTRUCTION 0xC0000096 1019 #define STATUS_ARRAY_BOUNDS_EXCEEDED 0xC000008C 1020 #define STATUS_FLOAT_DENORMAL_OPERAND 0xC000008D 1021 #define STATUS_FLOAT_DIVIDE_BY_ZERO 0xC000008E 1022 #define STATUS_FLOAT_INEXACT_RESULT 0xC000008F 1023 #define STATUS_FLOAT_INVALID_OPERATION 0xC0000090 1024 #define STATUS_FLOAT_OVERFLOW 0xC0000091 1025 #define STATUS_FLOAT_STACK_CHECK 0xC0000092 1026 #define STATUS_FLOAT_UNDERFLOW 0xC0000093 1027 #define STATUS_INTEGER_DIVIDE_BY_ZERO 0xC0000094 1028 #define STATUS_INTEGER_OVERFLOW 0xC0000095 1029 #define STATUS_PRIVILEGED_INSTRUCTION 0xC0000096 1030 1030 #define STATUS_INVALID_PARAMETER_2 0xC00000F0 1031 #define STATUS_STACK_OVERFLOW 0xC00000FD 1032 #define STATUS_CONTROL_C_EXIT 0xC000013A 1031 #define STATUS_STACK_OVERFLOW 0xC00000FD 1032 #define STATUS_CONTROL_C_EXIT 0xC000013A 1033 1033 1034 1034 #define DUPLICATE_CLOSE_SOURCE 0x00000001 … … 1049 1049 #define THREAD_PRIORITY_IDLE THREAD_BASE_PRIORITY_IDLE 1050 1050 1051 typedef struct 1051 typedef struct 1052 1052 { 1053 1053 int type; 1054 1054 } wine_exception; 1055 1055 1056 typedef struct 1056 typedef struct 1057 1057 { 1058 1058 int pad[39]; … … 1228 1228 DWORD WriteTotalTimeoutConstant; 1229 1229 } COMMTIMEOUTS,*LPCOMMTIMEOUTS; 1230 1230 1231 1231 typedef struct _COMMCONFIG { 1232 1232 DWORD dwSize; … … 1257 1257 BOOL WINAPI TransmitCommChar(INT,CHAR); 1258 1258 1259 1259 1260 1260 /*DWORD WINAPI GetVersion( void );*/ 1261 1261 BOOL16 WINAPI GetVersionEx16(OSVERSIONINFO16*); … … 1278 1278 BOOL WINAPI TerminateProcess(HANDLE,DWORD); 1279 1279 BOOL WINAPI TerminateThread(HANDLE,DWORD); 1280 BOOL WINAPI GetExitCodeThread(HANDLE,LPDWORD); 1280 BOOL WINAPI GetExitCodeThread(HANDLE,LPDWORD); 1281 1281 1282 1282 /* GetBinaryType return values. … … 1312 1312 HANDLE WINAPI CreateEventA(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCSTR); 1313 1313 HANDLE WINAPI CreateEventW(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCWSTR); 1314 #define CreateEvent WINELIB_NAME_AW(CreateEvent)1315 1314 HFILE WINAPI CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES, 1316 1315 DWORD,DWORD,HANDLE); … … 1477 1476 HANDLE WINAPI OpenEventA(DWORD,BOOL,LPCSTR); 1478 1477 HANDLE WINAPI OpenEventW(DWORD,BOOL,LPCWSTR); 1479 #define OpenEvent WINELIB_NAME_AW(OpenEvent)1480 1478 HANDLE WINAPI OpenFileMappingA(DWORD,BOOL,LPCSTR); 1481 1479 HANDLE WINAPI OpenFileMappingW(DWORD,BOOL,LPCWSTR); 1482 #define OpenFileMapping WINELIB_NAME_AW(OpenFileMapping)1483 1480 HANDLE WINAPI OpenMutexA(DWORD,BOOL,LPCSTR); 1484 1481 HANDLE WINAPI OpenMutexW(DWORD,BOOL,LPCWSTR); 1485 #define OpenMutex WINELIB_NAME_AW(OpenMutex)1486 1482 HANDLE WINAPI OpenProcess(DWORD,BOOL,DWORD); 1487 1483 HANDLE WINAPI OpenSemaphoreA(DWORD,BOOL,LPCSTR); 1488 1484 HANDLE WINAPI OpenSemaphoreW(DWORD,BOOL,LPCWSTR); 1489 #define OpenSemaphore WINELIB_NAME_AW(OpenSemaphore)1490 1485 BOOL WINAPI PulseEvent(HANDLE); 1491 1486 BOOL WINAPI PurgeComm(HANDLE,DWORD); 1492 1487 DWORD WINAPI QueryDosDeviceA(LPCSTR,LPSTR,DWORD); 1493 1488 DWORD WINAPI QueryDosDeviceW(LPCWSTR,LPWSTR,DWORD); 1494 #define QueryDosDevice WINELIB_NAME_AW(QueryDosDevice)1495 1489 BOOL WINAPI QueryPerformanceCounter(PLARGE_INTEGER); 1496 1490 BOOL WINAPI ReadConsoleA(HANDLE,LPVOID,DWORD,LPDWORD,LPVOID); 1497 1491 BOOL WINAPI ReadConsoleW(HANDLE,LPVOID,DWORD,LPDWORD,LPVOID); 1498 #define ReadConsole WINELIB_NAME_AW(ReadConsole)1499 1492 BOOL WINAPI ReadConsoleOutputCharacterA(HANDLE,LPSTR,DWORD, 1500 1493 COORD,LPDWORD); 1501 #define ReadConsoleOutputCharacter WINELIB_NAME_AW(ReadConsoleOutputCharacter)1502 1494 BOOL WINAPI ReadFile(HANDLE,LPVOID,DWORD,LPDWORD,LPOVERLAPPED); 1503 1495 BOOL WINAPI ReleaseMutex(HANDLE); -
trunk/include/win/windef.h
r13 r278 1 /* $Id: windef.h,v 1. 2 1999-05-31 17:04:19phaller Exp $ */1 /* $Id: windef.h,v 1.3 1999-07-06 15:48:44 phaller Exp $ */ 2 2 3 3 /* … … 97 97 #endif 98 98 99 #ifndef pascal 99 #ifndef pascal 100 100 #define pascal __stdcall 101 101 #endif … … 468 468 /* Macros to access unaligned or wrong-endian WORDs and DWORDs. */ 469 469 /* Note: These macros are semantically broken, at least for wrc. wrc 470 spits out data in the platform's current binary format, *not* in 470 spits out data in the platform's current binary format, *not* in 471 471 little-endian format. These macros are used throughout the resource 472 code to load and store data to the resources. Since it is unlikely 473 that we'll ever be dealing with little-endian resource data, the 474 byte-swapping nature of these macros has been disabled. Rather than 472 code to load and store data to the resources. Since it is unlikely 473 that we'll ever be dealing with little-endian resource data, the 474 byte-swapping nature of these macros has been disabled. Rather than 475 475 remove the use of these macros from the resource loading code, the 476 macros have simply been disabled. In the future, someone may want 476 macros have simply been disabled. In the future, someone may want 477 477 to reactivate these macros for other purposes. In that case, the 478 resource code will have to be modified to use different macros. */ 478 resource code will have to be modified to use different macros. */ 479 479 480 480 #if 1 … … 618 618 { 619 619 LONG left; 620 LONG top; 620 LONG top; 621 621 LONG right; 622 622 LONG bottom;
Note:
See TracChangeset
for help on using the changeset viewer.