Changeset 3268
- Timestamp:
 - Mar 29, 2000, 5:16:10 PM (26 years ago)
 - Location:
 - trunk/include
 - Files:
 - 
      
- 4 edited
 
- 
          
  win/winbase.h (modified) (22 diffs)
 - 
          
  win32api.h (modified) (2 diffs)
 - 
          
  win32type.h (modified) (17 diffs)
 - 
          
  winconst.h (modified) (6 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/include/win/winbase.h
r2524 r3268 1 /* $Id: winbase.h,v 1.1 0 2000-01-26 23:17:49 sandervlExp $ */1 /* $Id: winbase.h,v 1.11 2000-03-29 15:16:10 cbratschi Exp $ */ 2 2 3 3 #ifndef __WINE_WINBASE_H … … 20 20 21 21 /* Windows Exit Procedure flag values */ 22 #define WEP_FREE_DLL 023 #define WEP_SYSTEM_EXIT 122 #define WEP_FREE_DLL 0 23 #define WEP_SYSTEM_EXIT 1 24 24 25 25 typedef DWORD (* CALLBACK LPTHREAD_START_ROUTINE)(LPVOID); … … 158 158 159 159 /* GetTempFileName() Flags */ 160 #define TF_FORCEDRIVE 0x80160 #define TF_FORCEDRIVE 0x80 161 161 162 162 … … 254 254 /* comm */ 255 255 256 #define CBR_110 0xFF10257 #define CBR_300 0xFF11258 #define CBR_600 0xFF12259 #define CBR_1200 0xFF13260 #define CBR_2400 0xFF14261 #define CBR_4800 0xFF15262 #define CBR_9600 0xFF16263 #define CBR_14400 0xFF17264 #define CBR_19200 0xFF18265 #define CBR_38400 0xFF1B266 #define CBR_56000 0xFF1F267 #define CBR_128000 0xFF23268 #define CBR_256000 0xFF27269 270 #define NOPARITY 0271 #define ODDPARITY 1272 #define EVENPARITY 2273 #define MARKPARITY 3274 #define SPACEPARITY 4275 #define ONESTOPBIT 0276 #define ONE5STOPBITS 1277 #define TWOSTOPBITS 2278 279 #define IGNORE 0256 #define CBR_110 0xFF10 257 #define CBR_300 0xFF11 258 #define CBR_600 0xFF12 259 #define CBR_1200 0xFF13 260 #define CBR_2400 0xFF14 261 #define CBR_4800 0xFF15 262 #define CBR_9600 0xFF16 263 #define CBR_14400 0xFF17 264 #define CBR_19200 0xFF18 265 #define CBR_38400 0xFF1B 266 #define CBR_56000 0xFF1F 267 #define CBR_128000 0xFF23 268 #define CBR_256000 0xFF27 269 270 #define NOPARITY 0 271 #define ODDPARITY 1 272 #define EVENPARITY 2 273 #define MARKPARITY 3 274 #define SPACEPARITY 4 275 #define ONESTOPBIT 0 276 #define ONE5STOPBITS 1 277 #define TWOSTOPBITS 2 278 279 #define IGNORE 0 280 280 #define INFINITE16 0xFFFF 281 281 #define INFINITE 0xFFFFFFFF 282 282 283 #define CE_RXOVER 0x0001284 #define CE_OVERRUN 0x0002285 #define CE_RXPARITY 0x0004286 #define CE_FRAME 0x0008287 #define CE_BREAK 0x0010288 #define CE_CTSTO 0x0020289 #define CE_DSRTO 0x0040290 #define CE_RLSDTO 0x0080291 #define CE_TXFULL 0x0100292 #define CE_PTO 0x0200293 #define CE_IOE 0x0400294 #define CE_DNS 0x0800295 #define CE_OOP 0x1000296 #define CE_MODE 0x8000297 298 #define IE_BADID -1299 #define IE_OPEN -2300 #define IE_NOPEN -3301 #define IE_MEMORY -4302 #define IE_DEFAULT -5303 #define IE_HARDWARE -10304 #define IE_BYTESIZE -11305 #define IE_BAUDRATE -12306 307 #define EV_RXCHAR 0x0001308 #define EV_RXFLAG 0x0002309 #define EV_TXEMPTY 0x0004310 #define EV_CTS 0x0008311 #define EV_DSR 0x0010312 #define EV_RLSD 0x0020313 #define EV_BREAK 0x0040314 #define EV_ERR 0x0080315 #define EV_RING 0x0100316 #define EV_PERR 0x0200317 #define EV_CTSS 0x0400318 #define EV_DSRS 0x0800319 #define EV_RLSDS 0x1000320 #define EV_RINGTE 0x2000321 #define EV_RingTe EV_RINGTE322 323 #define SETXOFF 1324 #define SETXON 2325 #define SETRTS 3326 #define CLRRTS 4327 #define SETDTR 5328 #define CLRDTR 6329 #define RESETDEV 7330 #define SETBREAK 8331 #define CLRBREAK 9332 333 #define GETBASEIRQ 10283 #define CE_RXOVER 0x0001 284 #define CE_OVERRUN 0x0002 285 #define CE_RXPARITY 0x0004 286 #define CE_FRAME 0x0008 287 #define CE_BREAK 0x0010 288 #define CE_CTSTO 0x0020 289 #define CE_DSRTO 0x0040 290 #define CE_RLSDTO 0x0080 291 #define CE_TXFULL 0x0100 292 #define CE_PTO 0x0200 293 #define CE_IOE 0x0400 294 #define CE_DNS 0x0800 295 #define CE_OOP 0x1000 296 #define CE_MODE 0x8000 297 298 #define IE_BADID -1 299 #define IE_OPEN -2 300 #define IE_NOPEN -3 301 #define IE_MEMORY -4 302 #define IE_DEFAULT -5 303 #define IE_HARDWARE -10 304 #define IE_BYTESIZE -11 305 #define IE_BAUDRATE -12 306 307 #define EV_RXCHAR 0x0001 308 #define EV_RXFLAG 0x0002 309 #define EV_TXEMPTY 0x0004 310 #define EV_CTS 0x0008 311 #define EV_DSR 0x0010 312 #define EV_RLSD 0x0020 313 #define EV_BREAK 0x0040 314 #define EV_ERR 0x0080 315 #define EV_RING 0x0100 316 #define EV_PERR 0x0200 317 #define EV_CTSS 0x0400 318 #define EV_DSRS 0x0800 319 #define EV_RLSDS 0x1000 320 #define EV_RINGTE 0x2000 321 #define EV_RingTe EV_RINGTE 322 323 #define SETXOFF 1 324 #define SETXON 2 325 #define SETRTS 3 326 #define CLRRTS 4 327 #define SETDTR 5 328 #define CLRDTR 6 329 #define RESETDEV 7 330 #define SETBREAK 8 331 #define CLRBREAK 9 332 333 #define GETBASEIRQ 10 334 334 335 335 /* Purge functions for Comm Port */ 336 336 #define PURGE_TXABORT 0x0001 /* Kill the pending/current writes to the 337 comm port */337 comm port */ 338 338 #define PURGE_RXABORT 0x0002 /*Kill the pending/current reads to 339 the comm port */339 the comm port */ 340 340 #define PURGE_TXCLEAR 0x0004 /* Kill the transmit queue if there*/ 341 341 #define PURGE_RXCLEAR 0x0008 /* Kill the typeahead buffer if there*/ … … 348 348 #define MS_RLSD_ON ((DWORD)0x0080) 349 349 350 #define RTS_CONTROL_DISABLE0351 #define RTS_CONTROL_ENABLE1352 #define RTS_CONTROL_HANDSHAKE2353 #define RTS_CONTROL_TOGGLE3354 355 #define DTR_CONTROL_DISABLE0356 #define DTR_CONTROL_ENABLE1357 #define DTR_CONTROL_HANDSHAKE2358 359 #define CSTF_CTSHOLD 0x01360 #define CSTF_DSRHOLD 0x02361 #define CSTF_RLSDHOLD 0x04362 #define CSTF_XOFFHOLD 0x08363 #define CSTF_XOFFSENT 0x10364 #define CSTF_EOF 0x20365 #define CSTF_TXIM 0x40350 #define RTS_CONTROL_DISABLE 0 351 #define RTS_CONTROL_ENABLE 1 352 #define RTS_CONTROL_HANDSHAKE 2 353 #define RTS_CONTROL_TOGGLE 3 354 355 #define DTR_CONTROL_DISABLE 0 356 #define DTR_CONTROL_ENABLE 1 357 #define DTR_CONTROL_HANDSHAKE 2 358 359 #define CSTF_CTSHOLD 0x01 360 #define CSTF_DSRHOLD 0x02 361 #define CSTF_RLSDHOLD 0x04 362 #define CSTF_XOFFHOLD 0x08 363 #define CSTF_XOFFSENT 0x10 364 #define CSTF_EOF 0x20 365 #define CSTF_TXIM 0x40 366 366 367 367 #define MAKEINTRESOURCEA(i) (LPSTR)((DWORD)((WORD)(i))) … … 418 418 #define LMEM_MODIFY 0x0080 419 419 #define LMEM_DISCARDABLE 0x0F00 420 #define LMEM_DISCARDED 0x4000421 #define LMEM_LOCKCOUNT 0x00FF420 #define LMEM_DISCARDED 0x4000 421 #define LMEM_LOCKCOUNT 0x00FF 422 422 423 423 #define LHND (LMEM_MOVEABLE | LMEM_ZEROINIT) … … 640 640 641 641 /* STARTUPINFO.dwFlags */ 642 #define STARTF_USESHOWWINDOW0x00000001643 #define STARTF_USESIZE0x00000002644 #define STARTF_USEPOSITION0x00000004645 #define STARTF_USECOUNTCHARS0x00000008646 #define STARTF_USEFILLATTRIBUTE0x00000010647 #define STARTF_RUNFULLSCREEN0x00000020648 #define STARTF_FORCEONFEEDBACK0x00000040649 #define STARTF_FORCEOFFFEEDBACK0x00000080650 #define STARTF_USESTDHANDLES0x00000100651 #define STARTF_USEHOTKEY0x00000200642 #define STARTF_USESHOWWINDOW 0x00000001 643 #define STARTF_USESIZE 0x00000002 644 #define STARTF_USEPOSITION 0x00000004 645 #define STARTF_USECOUNTCHARS 0x00000008 646 #define STARTF_USEFILLATTRIBUTE 0x00000010 647 #define STARTF_RUNFULLSCREEN 0x00000020 648 #define STARTF_FORCEONFEEDBACK 0x00000040 649 #define STARTF_FORCEOFFFEEDBACK 0x00000080 650 #define STARTF_USESTDHANDLES 0x00000100 651 #define STARTF_USEHOTKEY 0x00000200 652 652 653 653 typedef struct { 654 DWORD cb; /* 00: size of struct */655 LPSTR lpReserved; /* 04: */656 LPSTR lpDesktop; /* 08: */657 LPSTR lpTitle; /* 0c: */658 DWORD dwX; /* 10: */659 DWORD dwY; /* 14: */660 DWORD dwXSize; /* 18: */661 DWORD dwYSize; /* 1c: */662 DWORD dwXCountChars; /* 20: */663 DWORD dwYCountChars; /* 24: */664 DWORD dwFillAttribute; /* 28: */665 DWORD dwFlags; /* 2c: */666 WORD wShowWindow; /* 30: */667 WORD cbReserved2; /* 32: */668 BYTE *lpReserved2; /* 34: */669 HANDLE hStdInput; /* 38: */670 HANDLE hStdOutput; /* 3c: */671 HANDLE hStdError; /* 40: */654 DWORD cb; /* 00: size of struct */ 655 LPSTR lpReserved; /* 04: */ 656 LPSTR lpDesktop; /* 08: */ 657 LPSTR lpTitle; /* 0c: */ 658 DWORD dwX; /* 10: */ 659 DWORD dwY; /* 14: */ 660 DWORD dwXSize; /* 18: */ 661 DWORD dwYSize; /* 1c: */ 662 DWORD dwXCountChars; /* 20: */ 663 DWORD dwYCountChars; /* 24: */ 664 DWORD dwFillAttribute; /* 28: */ 665 DWORD dwFlags; /* 2c: */ 666 WORD wShowWindow; /* 30: */ 667 WORD cbReserved2; /* 32: */ 668 BYTE *lpReserved2; /* 34: */ 669 HANDLE hStdInput; /* 38: */ 670 HANDLE hStdOutput; /* 3c: */ 671 HANDLE hStdError; /* 40: */ 672 672 } STARTUPINFOA, *LPSTARTUPINFOA; 673 673 … … 697 697 698 698 typedef struct { 699 HANDLEhProcess;700 HANDLEhThread;701 DWORDdwProcessId;702 DWORDdwThreadId;699 HANDLE hProcess; 700 HANDLE hThread; 701 DWORD dwProcessId; 702 DWORD dwThreadId; 703 703 } PROCESS_INFORMATION,*LPPROCESS_INFORMATION; 704 704 … … 750 750 */ 751 751 #define FILE_FLAG_WRITE_THROUGH 0x80000000UL 752 #define FILE_FLAG_OVERLAPPED 0x40000000L752 #define FILE_FLAG_OVERLAPPED 0x40000000L 753 753 #define FILE_FLAG_NO_BUFFERING 0x20000000L 754 754 #define FILE_FLAG_RANDOM_ACCESS 0x10000000L … … 816 816 { 817 817 union { 818 DWORDdwOemId;819 struct {820 WORD wProcessorArchitecture;821 WORD wReserved;822 } x;818 DWORD dwOemId; 819 struct { 820 WORD wProcessorArchitecture; 821 WORD wReserved; 822 } x; 823 823 } u; 824 DWORD dwPageSize;825 LPVOID lpMinimumApplicationAddress;826 LPVOID lpMaximumApplicationAddress;827 DWORD dwActiveProcessorMask;828 DWORD dwNumberOfProcessors;829 DWORD dwProcessorType;830 DWORD dwAllocationGranularity;831 WORD wProcessorLevel;832 WORD wProcessorRevision;824 DWORD dwPageSize; 825 LPVOID lpMinimumApplicationAddress; 826 LPVOID lpMaximumApplicationAddress; 827 DWORD dwActiveProcessorMask; 828 DWORD dwNumberOfProcessors; 829 DWORD dwProcessorType; 830 DWORD dwAllocationGranularity; 831 WORD wProcessorLevel; 832 WORD wProcessorRevision; 833 833 } SYSTEM_INFO, *LPSYSTEM_INFO; 834 834 835 835 /* {G,S}etPriorityClass */ 836 #define NORMAL_PRIORITY_CLASS0x00000020837 #define IDLE_PRIORITY_CLASS0x00000040838 #define HIGH_PRIORITY_CLASS0x00000080839 #define REALTIME_PRIORITY_CLASS0x00000100836 #define NORMAL_PRIORITY_CLASS 0x00000020 837 #define IDLE_PRIORITY_CLASS 0x00000040 838 #define HIGH_PRIORITY_CLASS 0x00000080 839 #define REALTIME_PRIORITY_CLASS 0x00000100 840 840 841 841 typedef BOOL (* CALLBACK ENUMRESTYPEPROCA)(HMODULE,LPSTR,LONG); … … 851 851 852 852 /* flags that can be passed to LoadLibraryEx */ 853 #define DONT_RESOLVE_DLL_REFERENCES0x00000001854 #define LOAD_LIBRARY_AS_DATAFILE0x00000002855 #define LOAD_WITH_ALTERED_SEARCH_PATH0x00000008853 #define DONT_RESOLVE_DLL_REFERENCES 0x00000001 854 #define LOAD_LIBRARY_AS_DATAFILE 0x00000002 855 #define LOAD_WITH_ALTERED_SEARCH_PATH 0x00000008 856 856 857 857 /* ifdef _x86_ ... */ 858 858 typedef struct _LDT_ENTRY { 859 WORD LimitLow;860 WORD BaseLow;859 WORD LimitLow; 860 WORD BaseLow; 861 861 union { 862 struct {863 BYTEBaseMid;864 BYTEFlags1;/*Declare as bytes to avoid alignment problems */865 BYTEFlags2;866 BYTEBaseHi;867 } Bytes;868 struct { 869 unsigned BaseMid: 8;870 unsigned Type: 5;871 unsigned Dpl: 2;872 unsigned Pres: 1;873 unsigned LimitHi: 4;874 unsigned Sys: 1;875 unsigned Reserved_0: 1;876 unsigned Default_Big: 1;877 unsigned Granularity: 1;878 unsigned BaseHi: 8;879 } Bits;862 struct { 863 BYTE BaseMid; 864 BYTE Flags1;/*Declare as bytes to avoid alignment problems */ 865 BYTE Flags2; 866 BYTE BaseHi; 867 } Bytes; 868 struct { 869 unsigned BaseMid : 8; 870 unsigned Type : 5; 871 unsigned Dpl : 2; 872 unsigned Pres : 1; 873 unsigned LimitHi : 4; 874 unsigned Sys : 1; 875 unsigned Reserved_0 : 1; 876 unsigned Default_Big : 1; 877 unsigned Granularity : 1; 878 unsigned BaseHi : 8; 879 } Bits; 880 880 } HighWord; 881 881 } LDT_ENTRY, *LPLDT_ENTRY; … … 901 901 902 902 /* WOWCallback16Ex defines */ 903 #define WCB16_MAX_CBARGS 16903 #define WCB16_MAX_CBARGS 16 904 904 /* ... dwFlags */ 905 #define WCB16_PASCAL 0x0906 #define WCB16_CDECL 0x1905 #define WCB16_PASCAL 0x0 906 #define WCB16_CDECL 0x1 907 907 908 908 typedef enum _GET_FILEEX_INFO_LEVELS { … … 936 936 937 937 938 #define WAIT_FAILED 0xffffffff939 #define WAIT_OBJECT_0 0940 #define WAIT_ABANDONED STATUS_ABANDONED_WAIT_0941 #define WAIT_ABANDONED_0 STATUS_ABANDONED_WAIT_0942 #define WAIT_IO_COMPLETION STATUS_USER_APC943 #define WAIT_TIMEOUT STATUS_TIMEOUT944 945 #define PAGE_NOACCESS0x01946 #define PAGE_READONLY0x02947 #define PAGE_READWRITE0x04948 #define PAGE_WRITECOPY0x08949 #define PAGE_EXECUTE0x10950 #define PAGE_EXECUTE_READ0x20951 #define PAGE_EXECUTE_READWRITE0x40952 #define PAGE_EXECUTE_WRITECOPY0x80953 #define PAGE_GUARD0x100954 #define PAGE_NOCACHE0x200938 #define WAIT_FAILED 0xffffffff 939 #define WAIT_OBJECT_0 0 940 #define WAIT_ABANDONED STATUS_ABANDONED_WAIT_0 941 #define WAIT_ABANDONED_0 STATUS_ABANDONED_WAIT_0 942 #define WAIT_IO_COMPLETION STATUS_USER_APC 943 #define WAIT_TIMEOUT STATUS_TIMEOUT 944 945 #define PAGE_NOACCESS 0x01 946 #define PAGE_READONLY 0x02 947 #define PAGE_READWRITE 0x04 948 #define PAGE_WRITECOPY 0x08 949 #define PAGE_EXECUTE 0x10 950 #define PAGE_EXECUTE_READ 0x20 951 #define PAGE_EXECUTE_READWRITE 0x40 952 #define PAGE_EXECUTE_WRITECOPY 0x80 953 #define PAGE_GUARD 0x100 954 #define PAGE_NOCACHE 0x200 955 955 956 956 #define MEM_COMMIT 0x00001000 … … 1002 1002 #define STATUS_BREAKPOINT 0x80000003 1003 1003 #define STATUS_SINGLE_STEP 0x80000004 1004 #define STATUS_BUFFER_OVERFLOW 0x800000051004 #define STATUS_BUFFER_OVERFLOW 0x80000005 1005 1005 #define STATUS_ACCESS_VIOLATION 0xC0000005 1006 1006 #define STATUS_IN_PAGE_ERROR 0xC0000006 … … 1008 1008 #define STATUS_NO_MEMORY 0xC0000017 1009 1009 #define STATUS_ILLEGAL_INSTRUCTION 0xC000001D 1010 #define STATUS_BUFFER_TOO_SMALL 0xC00000231010 #define STATUS_BUFFER_TOO_SMALL 0xC0000023 1011 1011 #define STATUS_NONCONTINUABLE_EXCEPTION 0xC0000025 1012 1012 #define STATUS_INVALID_DISPOSITION 0xC0000026 1013 #define STATUS_UNKNOWN_REVISION 0xC00000581014 #define STATUS_INVALID_SECURITY_DESCR 0xC00000791013 #define STATUS_UNKNOWN_REVISION 0xC0000058 1014 #define STATUS_INVALID_SECURITY_DESCR 0xC0000079 1015 1015 #define STATUS_ARRAY_BOUNDS_EXCEEDED 0xC000008C 1016 1016 #define STATUS_FLOAT_DENORMAL_OPERAND 0xC000008D … … 1024 1024 #define STATUS_INTEGER_OVERFLOW 0xC0000095 1025 1025 #define STATUS_PRIVILEGED_INSTRUCTION 0xC0000096 1026 #define STATUS_INVALID_PARAMETER_2 0xC00000F01026 #define STATUS_INVALID_PARAMETER_2 0xC00000F0 1027 1027 #define STATUS_STACK_OVERFLOW 0xC00000FD 1028 1028 #define STATUS_CONTROL_C_EXIT 0xC000013A 1029 1029 1030 #define DUPLICATE_CLOSE_SOURCE 0x000000011031 #define DUPLICATE_SAME_ACCESS 0x000000021030 #define DUPLICATE_CLOSE_SOURCE 0x00000001 1031 #define DUPLICATE_SAME_ACCESS 0x00000002 1032 1032 1033 1033 #define HANDLE_FLAG_INHERIT 0x00000001 … … 1070 1070 /* Could this type be considered opaque? */ 1071 1071 typedef struct { 1072 LPVOIDDebugInfo;1073 LONG LockCount;1074 LONG RecursionCount;1075 HANDLE OwningThread;1076 HANDLE LockSemaphore;1077 DWORD Reserved;1072 LPVOID DebugInfo; 1073 LONG LockCount; 1074 LONG RecursionCount; 1075 HANDLE OwningThread; 1076 HANDLE LockSemaphore; 1077 DWORD Reserved; 1078 1078 }CRITICAL_SECTION; 1079 1079 1080 1080 typedef struct { 1081 DWORD dwOSVersionInfoSize;1082 DWORD dwMajorVersion;1083 DWORD dwMinorVersion;1084 DWORD dwBuildNumber;1085 DWORD dwPlatformId;1086 CHAR szCSDVersion[128];1081 DWORD dwOSVersionInfoSize; 1082 DWORD dwMajorVersion; 1083 DWORD dwMinorVersion; 1084 DWORD dwBuildNumber; 1085 DWORD dwPlatformId; 1086 CHAR szCSDVersion[128]; 1087 1087 } OSVERSIONINFOA; 1088 1088 1089 1089 typedef struct { 1090 DWORD dwOSVersionInfoSize;1091 DWORD dwMajorVersion;1092 DWORD dwMinorVersion;1093 DWORD dwBuildNumber;1094 DWORD dwPlatformId;1095 WCHAR szCSDVersion[128];1090 DWORD dwOSVersionInfoSize; 1091 DWORD dwMajorVersion; 1092 DWORD dwMinorVersion; 1093 DWORD dwBuildNumber; 1094 DWORD dwPlatformId; 1095 WCHAR szCSDVersion[128]; 1096 1096 } OSVERSIONINFOW; 1097 1097 … … 1164 1164 1165 1165 typedef struct tagCOMMTIMEOUTS { 1166 DWORDReadIntervalTimeout;1167 DWORDReadTotalTimeoutMultiplier;1168 DWORDReadTotalTimeoutConstant;1169 DWORDWriteTotalTimeoutMultiplier;1170 DWORDWriteTotalTimeoutConstant;1166 DWORD ReadIntervalTimeout; 1167 DWORD ReadTotalTimeoutMultiplier; 1168 DWORD ReadTotalTimeoutConstant; 1169 DWORD WriteTotalTimeoutMultiplier; 1170 DWORD WriteTotalTimeoutConstant; 1171 1171 } COMMTIMEOUTS,*LPCOMMTIMEOUTS; 1172 1172 … … 1346 1346 BOOL WINAPI FlushViewOfFile(LPCVOID, DWORD); 1347 1347 DWORD WINAPI FormatMessageA(DWORD,LPCVOID,DWORD,DWORD,LPSTR, 1348 DWORD,LPDWORD);1348 DWORD,LPDWORD); 1349 1349 DWORD WINAPI FormatMessageW(DWORD,LPCVOID,DWORD,DWORD,LPWSTR, 1350 DWORD,LPDWORD);1350 DWORD,LPDWORD); 1351 1351 #define FormatMessage WINELIB_NAME_AW(FormatMessage) 1352 1352 BOOL WINAPI FreeConsole(void); … … 1519 1519 #define ReadConsole WINELIB_NAME_AW(ReadConsole) 1520 1520 BOOL WINAPI ReadConsoleOutputCharacterA(HANDLE,LPSTR,DWORD, 1521 COORD,LPDWORD);1521 COORD,LPDWORD); 1522 1522 #define ReadConsoleOutputCharacter WINELIB_NAME_AW(ReadConsoleOutputCharacter) 1523 1523 BOOL WINAPI ReadEventLogA(HANDLE,DWORD,DWORD,LPVOID,DWORD,DWORD *,DWORD *); … … 1646 1646 #define FindAtom WINELIB_NAME_AW(FindAtom) 1647 1647 BOOL WINAPI FindClose(HANDLE); 1648 HANDLE16 WINAPI FindFirstFile16(LPCSTR,LPWIN32_FIND_DATAA);1649 1648 HANDLE WINAPI FindFirstFileA(LPCSTR,LPWIN32_FIND_DATAA); 1650 1649 HANDLE WINAPI FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW); 1651 1650 #define FindFirstFile WINELIB_NAME_AW(FindFirstFile) 1652 BOOL16 WINAPI FindNextFile16(HANDLE16,LPWIN32_FIND_DATAA); 1651 HANDLE WINAPI FindFirstFileMultiA(LPCSTR,LPWIN32_FIND_DATAA,DWORD*); //Odin only 1653 1652 BOOL WINAPI FindNextFileA(HANDLE,LPWIN32_FIND_DATAA); 1654 1653 BOOL WINAPI FindNextFileW(HANDLE,LPWIN32_FIND_DATAW); 1655 1654 #define FindNextFile WINELIB_NAME_AW(FindNextFile) 1655 BOOL WINAPI FindNextFileMultiA(HANDLE,LPWIN32_FIND_DATAA,DWORD*); //Odin only 1656 1656 HRSRC WINAPI FindResourceA(HMODULE,LPCSTR,LPCSTR); 1657 1657 HRSRC WINAPI FindResourceW(HMODULE,LPCWSTR,LPCWSTR); … … 1829 1829 BOOL WINAPI WritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR); 1830 1830 #define WritePrivateProfileString WINELIB_NAME_AW(WritePrivateProfileString) 1831 BOOL WINAPI WriteProfileSectionA(LPCSTR,LPCSTR);1832 BOOL WINAPI WriteProfileSectionW(LPCWSTR,LPCWSTR);1831 BOOL WINAPI WriteProfileSectionA(LPCSTR,LPCSTR); 1832 BOOL WINAPI WriteProfileSectionW(LPCWSTR,LPCWSTR); 1833 1833 #define WritePrivateProfileSection WINELIB_NAME_AW(WritePrivateProfileSection) 1834 1834 BOOL WINAPI WritePrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR);  - 
      
trunk/include/win32api.h
r3196 r3268 1 /* $Id: win32api.h,v 1. 6 2000-03-22 18:47:01 sandervlExp $ */1 /* $Id: win32api.h,v 1.7 2000-03-29 15:16:09 cbratschi Exp $ */ 2 2 3 3 /* … … 79 79 BOOL WIN32API HeapValidate(HANDLE,DWORD,LPCVOID); 80 80 81 BOOL WIN32API DosDateTimeToFileTime(WORD,WORD,LPFILETIME); 82 81 83 #endif  - 
      
trunk/include/win32type.h
r3124 r3268 1 /* $Id: win32type.h,v 1.3 6 2000-03-16 19:16:35 sandervlExp $ */1 /* $Id: win32type.h,v 1.37 2000-03-29 15:16:09 cbratschi Exp $ */ 2 2 3 3 /* … … 421 421 typedef struct 422 422 { 423 DWORD dwFileAttributes; 424 FILETIME ftCreationTime; 425 FILETIME ftLastAccessTime; 426 FILETIME ftLastWriteTime; 427 DWORD nFileSizeHigh; 428 DWORD nFileSizeLow; 429 DWORD dwReserved0; 430 DWORD dwReserved1; 431 CHAR cFileName[260]; 432 CHAR cAlternateFileName[14]; 433 } WIN32_FIND_DATAA, *LPWIN32_FIND_DATAA; 434 435 typedef struct 436 { 437 DWORD dwFileAttributes; 438 FILETIME ftCreationTime; 439 FILETIME ftLastAccessTime; 440 FILETIME ftLastWriteTime; 441 DWORD nFileSizeHigh; 442 DWORD nFileSizeLow; 443 DWORD dwReserved0; 444 DWORD dwReserved1; 445 WCHAR cFileName[260]; 446 WCHAR cAlternateFileName[14]; 447 } WIN32_FIND_DATAW, *LPWIN32_FIND_DATAW; 448 449 typedef struct 450 { 423 451 int dwFileAttributes; 424 452 FILETIME ftCreationTime; … … 623 651 624 652 typedef struct { 625 LPVOIDDebugInfo;626 LONG LockCount;627 LONG RecursionCount;628 HANDLE OwningThread;629 HANDLE LockSemaphore;630 DWORD Reserved;653 LPVOID DebugInfo; 654 LONG LockCount; 655 LONG RecursionCount; 656 HANDLE OwningThread; 657 HANDLE LockSemaphore; 658 DWORD Reserved; 631 659 }CRITICAL_SECTION; 632 660 … … 791 819 #endif /* !defined(SID_DEFINED) */ 792 820 793 /* 794 * ACL 821 /* 822 * ACL 795 823 */ 796 824 … … 803 831 } ACL, *PACL; 804 832 805 /* 833 /* 806 834 * SID_AND_ATTRIBUTES 807 835 */ 808 836 809 837 typedef struct _SID_AND_ATTRIBUTES { 810 PSID Sid; 811 DWORD Attributes; 812 } SID_AND_ATTRIBUTES ; 813 838 PSID Sid; 839 DWORD Attributes; 840 } SID_AND_ATTRIBUTES ; 841 814 842 /* 815 843 * TOKEN_USER … … 817 845 818 846 typedef struct _TOKEN_USER { 819 SID_AND_ATTRIBUTES User; 820 } TOKEN_USER; 847 SID_AND_ATTRIBUTES User; 848 } TOKEN_USER; 821 849 822 850 /* … … 825 853 826 854 typedef struct _TOKEN_GROUPS { 827 DWORD GroupCount; 828 SID_AND_ATTRIBUTES Groups[ANYSIZE_ARRAY]; 829 } TOKEN_GROUPS; 855 DWORD GroupCount; 856 SID_AND_ATTRIBUTES Groups[ANYSIZE_ARRAY]; 857 } TOKEN_GROUPS; 830 858 831 859 typedef LARGE_INTEGER LUID,*PLUID; 832 860 833 861 typedef struct _LUID_AND_ATTRIBUTES { 834 LUID Luid; 835 DWORD Attributes; 836 } LUID_AND_ATTRIBUTES; 862 LUID Luid; 863 DWORD Attributes; 864 } LUID_AND_ATTRIBUTES; 837 865 838 866 /* … … 851 879 852 880 typedef struct _TOKEN_PRIVILEGES { 853 DWORD PrivilegeCount; 854 LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY]; 855 } TOKEN_PRIVILEGES, *PTOKEN_PRIVILEGES; 881 DWORD PrivilegeCount; 882 LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY]; 883 } TOKEN_PRIVILEGES, *PTOKEN_PRIVILEGES; 856 884 857 885 /* … … 860 888 861 889 typedef struct _TOKEN_OWNER { 862 PSID Owner; 863 } TOKEN_OWNER; 890 PSID Owner; 891 } TOKEN_OWNER; 864 892 865 893 /* … … 868 896 869 897 typedef struct _TOKEN_PRIMARY_GROUP { 870 PSID PrimaryGroup; 871 } TOKEN_PRIMARY_GROUP; 898 PSID PrimaryGroup; 899 } TOKEN_PRIMARY_GROUP; 872 900 873 901 … … 876 904 */ 877 905 878 typedef struct _TOKEN_DEFAULT_DACL { 879 PACL DefaultDacl; 880 } TOKEN_DEFAULT_DACL; 906 typedef struct _TOKEN_DEFAULT_DACL { 907 PACL DefaultDacl; 908 } TOKEN_DEFAULT_DACL; 881 909 882 910 /* … … 885 913 886 914 typedef struct _TOKEN_SOURCE { 887 char Sourcename[8]; 888 LUID SourceIdentifier; 889 } TOKEN_SOURCE; 915 char Sourcename[8]; 916 LUID SourceIdentifier; 917 } TOKEN_SOURCE; 890 918 891 919 /* … … 894 922 895 923 typedef enum tagTOKEN_TYPE { 896 TokenPrimary = 1, 897 TokenImpersonation 898 } TOKEN_TYPE; 924 TokenPrimary = 1, 925 TokenImpersonation 926 } TOKEN_TYPE; 899 927 900 928 /* … … 903 931 904 932 typedef enum _SECURITY_IMPERSONATION_LEVEL { 905 SecurityAnonymous, 906 SecurityIdentification, 907 SecurityImpersonation, 908 SecurityDelegation 909 } SECURITY_IMPERSONATION_LEVEL, *PSECURITY_IMPERSONATION_LEVEL; 933 SecurityAnonymous, 934 SecurityIdentification, 935 SecurityImpersonation, 936 SecurityDelegation 937 } SECURITY_IMPERSONATION_LEVEL, *PSECURITY_IMPERSONATION_LEVEL; 910 938 911 939 #define SIZE_OF_80387_REGISTERS 80 … … 915 943 DWORD ControlWord; 916 944 DWORD StatusWord; 917 DWORD TagWord; 945 DWORD TagWord; 918 946 DWORD ErrorOffset; 919 947 DWORD ErrorSelector; 920 948 DWORD DataOffset; 921 DWORD DataSelector; 949 DWORD DataSelector; 922 950 BYTE RegisterArea[SIZE_OF_80387_REGISTERS]; 923 951 DWORD Cr0NpxState; … … 943 971 DWORD SegFs; 944 972 DWORD SegEs; 945 DWORD SegDs; 973 DWORD SegDs; 946 974 947 975 /* These are selected by CONTEXT_INTEGER */ … … 949 977 DWORD Esi; 950 978 DWORD Ebx; 951 DWORD Edx; 979 DWORD Edx; 952 980 DWORD Ecx; 953 981 DWORD Eax; 954 982 955 983 /* These are selected by CONTEXT_CONTROL */ 956 DWORD Ebp; 984 DWORD Ebp; 957 985 DWORD Eip; 958 986 DWORD SegCs;  - 
      
trunk/include/winconst.h
r3196 r3268 1 /* $Id: winconst.h,v 1.3 0 2000-03-22 18:47:01 sandervlExp $ */1 /* $Id: winconst.h,v 1.31 2000-03-29 15:16:09 cbratschi Exp $ */ 2 2 3 3 /* … … 762 762 #define ERROR_ALREADY_REGISTERED_W 1242L 763 763 #define ERROR_SERVICE_NOT_FOUND_W 1243L 764 #define ERROR_NOT_AUTHENTICATED_W 1244L764 #define ERROR_NOT_AUTHENTICATED_W 1244L 765 765 #define ERROR_NOT_LOGGED_ON_W 1245L 766 766 #define ERROR_CONTINUE_W 1246L … … 1037 1037 1038 1038 1039 #define PAGE_NOACCESS_W0x011040 #define PAGE_READONLY_W0x021041 #define PAGE_READWRITE_W0x041042 #define PAGE_WRITECOPY_W0x081043 #define PAGE_EXECUTE_W0x101044 #define PAGE_EXECUTE_READ_W0x201045 #define PAGE_EXECUTE_READWRITE_W0x401046 #define PAGE_EXECUTE_WRITECOPY_W0x801047 #define PAGE_GUARD_W0x1001048 #define PAGE_NOCACHE_W0x2001049 1050 #define MEM_COMMIT_W 0x000010001051 #define MEM_RESERVE_W 0x000020001052 #define MEM_DECOMMIT_W 0x000040001053 #define MEM_RELEASE_W 0x000080001054 #define MEM_FREE_W 0x000100001055 #define MEM_PRIVATE_W 0x000200001056 #define MEM_MAPPED_W 0x000400001057 #define MEM_TOP_DOWN_W 0x001000001058 1059 #define SEC_FILE_W 0x008000001060 #define SEC_IMAGE_W 0x010000001061 #define SEC_RESERVE_W 0x040000001062 #define SEC_COMMIT_W 0x080000001063 #define SEC_NOCACHE_W 0x100000001039 #define PAGE_NOACCESS_W 0x01 1040 #define PAGE_READONLY_W 0x02 1041 #define PAGE_READWRITE_W 0x04 1042 #define PAGE_WRITECOPY_W 0x08 1043 #define PAGE_EXECUTE_W 0x10 1044 #define PAGE_EXECUTE_READ_W 0x20 1045 #define PAGE_EXECUTE_READWRITE_W 0x40 1046 #define PAGE_EXECUTE_WRITECOPY_W 0x80 1047 #define PAGE_GUARD_W 0x100 1048 #define PAGE_NOCACHE_W 0x200 1049 1050 #define MEM_COMMIT_W 0x00001000 1051 #define MEM_RESERVE_W 0x00002000 1052 #define MEM_DECOMMIT_W 0x00004000 1053 #define MEM_RELEASE_W 0x00008000 1054 #define MEM_FREE_W 0x00010000 1055 #define MEM_PRIVATE_W 0x00020000 1056 #define MEM_MAPPED_W 0x00040000 1057 #define MEM_TOP_DOWN_W 0x00100000 1058 1059 #define SEC_FILE_W 0x00800000 1060 #define SEC_IMAGE_W 0x01000000 1061 #define SEC_RESERVE_W 0x04000000 1062 #define SEC_COMMIT_W 0x08000000 1063 #define SEC_NOCACHE_W 0x10000000 1064 1064 1065 1065 #define FILE_MAP_COPY_W 0x00000001 … … 1068 1068 #define FILE_MAP_ALL_ACCESS_W 0x000f001f 1069 1069 1070 #define SND_SYNC_W 0x0000 /* play synchronously (default) */1071 #define SND_ASYNC_W 0x0001 /* play asynchronously */1072 #define SND_NODEFAULT_W 0x0002 /* don't use default sound */1073 #define SND_MEMORY_W 0x0004 /* lpszSoundName points to a memory file */1074 #define SND_LOOP_W 0x0008 /* loop the sound until next sndPlaySound */1075 #define SND_NOSTOP_W 0x0010 /* don't stop any currently playing sound */1076 1077 #define SND_NOWAIT_W 0x00002000L /* don't wait if the driver is busy */1078 #define SND_ALIAS_W 0x00010000L /* name is a registry alias */1079 #define SND_ALIAS_ID_W 0x00110000L /* alias is a predefined ID */1080 #define SND_FILENAME_W 0x00020000L /* name is file name */1081 #define SND_RESOURCE_W 0x00040004L /* name is resource name or atom */1082 #define SND_PURGE_W 0x00000040L /* purge all sounds */1083 #define SND_APPLICATION_W 0x00000080L /* look for application specific association */1070 #define SND_SYNC_W 0x0000 /* play synchronously (default) */ 1071 #define SND_ASYNC_W 0x0001 /* play asynchronously */ 1072 #define SND_NODEFAULT_W 0x0002 /* don't use default sound */ 1073 #define SND_MEMORY_W 0x0004 /* lpszSoundName points to a memory file */ 1074 #define SND_LOOP_W 0x0008 /* loop the sound until next sndPlaySound */ 1075 #define SND_NOSTOP_W 0x0010 /* don't stop any currently playing sound */ 1076 1077 #define SND_NOWAIT_W 0x00002000L /* don't wait if the driver is busy */ 1078 #define SND_ALIAS_W 0x00010000L /* name is a registry alias */ 1079 #define SND_ALIAS_ID_W 0x00110000L /* alias is a predefined ID */ 1080 #define SND_FILENAME_W 0x00020000L /* name is file name */ 1081 #define SND_RESOURCE_W 0x00040004L /* name is resource name or atom */ 1082 #define SND_PURGE_W 0x00000040L /* purge all sounds */ 1083 #define SND_APPLICATION_W 0x00000080L /* look for application specific association */ 1084 1084 1085 1085 … … 1104 1104 #define KEY_CREATE_LINK 0x00000020 1105 1105 1106 #define KEY_READ (STANDARD_RIGHTS_READ| \1107 KEY_QUERY_VALUE|\1108 KEY_ENUMERATE_SUB_KEYS|\1109 KEY_NOTIFY\1110 )1111 #define KEY_WRITE (STANDARD_RIGHTS_WRITE| \1112 KEY_SET_VALUE|\1113 KEY_CREATE_SUB_KEY\1114 )1106 #define KEY_READ (STANDARD_RIGHTS_READ| \ 1107 KEY_QUERY_VALUE| \ 1108 KEY_ENUMERATE_SUB_KEYS|\ 1109 KEY_NOTIFY \ 1110 ) 1111 #define KEY_WRITE (STANDARD_RIGHTS_WRITE| \ 1112 KEY_SET_VALUE| \ 1113 KEY_CREATE_SUB_KEY \ 1114 ) 1115 1115 #define KEY_EXECUTE KEY_READ 1116 #define KEY_ALL_ACCESS (STANDARD_RIGHTS_ALL| \1117 KEY_READ|KEY_WRITE|\1118 KEY_CREATE_LINK\1119 )1116 #define KEY_ALL_ACCESS (STANDARD_RIGHTS_ALL| \ 1117 KEY_READ|KEY_WRITE| \ 1118 KEY_CREATE_LINK \ 1119 ) 1120 1120 1121 1121 #define HKEY_CLASSES_ROOT ((HKEY) 0x80000000) … … 1319 1319 #define HEAP_CREATE_ALIGN_16 0x00010000 1320 1320 #define HEAP_CREATE_ENABLE_TRACING 0x00020000 1321 1322 /* FindFirstFile */ 1323 1324 #define INVALID_HANDLE_VALUE_W ((HANDLE) -1)  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  