Futher changes to casts
[tinycc/daniel.git] / win32 / include / winapi / winbase.h
blobb3fab6c3d9ad022730ee81d3cce2d75bf9abd61d
1 #ifndef _WINBASE_H
2 #define _WINBASE_H
3 #if __GNUC__ >=3
4 #pragma GCC system_header
5 #endif
7 #define WINBASEAPI DECLSPEC_IMPORT
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
12 #define SP_SERIALCOMM 1
13 #define PST_UNSPECIFIED 0
14 #define PST_RS232 1
15 #define PST_PARALLELPORT 2
16 #define PST_RS422 3
17 #define PST_RS423 4
18 #define PST_RS449 5
19 #define PST_MODEM 6
20 #define PST_FAX 0x21
21 #define PST_SCANNER 0x22
22 #define PST_NETWORK_BRIDGE 0x100
23 #define PST_LAT 0x101
24 #define PST_TCPIP_TELNET 0x102
25 #define PST_X25 0x103
26 #define BAUD_075 1
27 #define BAUD_110 2
28 #define BAUD_134_5 4
29 #define BAUD_150 8
30 #define BAUD_300 16
31 #define BAUD_600 32
32 #define BAUD_1200 64
33 #define BAUD_1800 128
34 #define BAUD_2400 256
35 #define BAUD_4800 512
36 #define BAUD_7200 1024
37 #define BAUD_9600 2048
38 #define BAUD_14400 4096
39 #define BAUD_19200 8192
40 #define BAUD_38400 16384
41 #define BAUD_56K 32768
42 #define BAUD_128K 65536
43 #define BAUD_115200 131072
44 #define BAUD_57600 262144
45 #define BAUD_USER 0x10000000
46 #define PCF_DTRDSR 1
47 #define PCF_RTSCTS 2
48 #define PCF_RLSD 4
49 #define PCF_PARITY_CHECK 8
50 #define PCF_XONXOFF 16
51 #define PCF_SETXCHAR 32
52 #define PCF_TOTALTIMEOUTS 64
53 #define PCF_INTTIMEOUTS 128
54 #define PCF_SPECIALCHARS 256
55 #define PCF_16BITMODE 512
56 #define SP_PARITY 1
57 #define SP_BAUD 2
58 #define SP_DATABITS 4
59 #define SP_STOPBITS 8
60 #define SP_HANDSHAKING 16
61 #define SP_PARITY_CHECK 32
62 #define SP_RLSD 64
63 #define DATABITS_5 1
64 #define DATABITS_6 2
65 #define DATABITS_7 4
66 #define DATABITS_8 8
67 #define DATABITS_16 16
68 #define DATABITS_16X 32
69 #define STOPBITS_10 1
70 #define STOPBITS_15 2
71 #define STOPBITS_20 4
72 #define PARITY_NONE 256
73 #define PARITY_ODD 512
74 #define PARITY_EVEN 1024
75 #define PARITY_MARK 2048
76 #define PARITY_SPACE 4096
77 #define EXCEPTION_DEBUG_EVENT 1
78 #define CREATE_THREAD_DEBUG_EVENT 2
79 #define CREATE_PROCESS_DEBUG_EVENT 3
80 #define EXIT_THREAD_DEBUG_EVENT 4
81 #define EXIT_PROCESS_DEBUG_EVENT 5
82 #define LOAD_DLL_DEBUG_EVENT 6
83 #define UNLOAD_DLL_DEBUG_EVENT 7
84 #define OUTPUT_DEBUG_STRING_EVENT 8
85 #define RIP_EVENT 9
86 #define HFILE_ERROR ((HFILE)-1)
87 #define FILE_BEGIN 0
88 #define FILE_CURRENT 1
89 #define FILE_END 2
90 #define INVALID_SET_FILE_POINTER ((DWORD)-1)
91 #define OF_READ 0
92 #define OF_READWRITE 2
93 #define OF_WRITE 1
94 #define OF_SHARE_COMPAT 0
95 #define OF_SHARE_DENY_NONE 64
96 #define OF_SHARE_DENY_READ 48
97 #define OF_SHARE_DENY_WRITE 32
98 #define OF_SHARE_EXCLUSIVE 16
99 #define OF_CANCEL 2048
100 #define OF_CREATE 4096
101 #define OF_DELETE 512
102 #define OF_EXIST 16384
103 #define OF_PARSE 256
104 #define OF_PROMPT 8192
105 #define OF_REOPEN 32768
106 #define OF_VERIFY 1024
107 #define NMPWAIT_NOWAIT 1
108 #define NMPWAIT_WAIT_FOREVER (-1)
109 #define NMPWAIT_USE_DEFAULT_WAIT 0
110 #define CE_BREAK 16
111 #define CE_DNS 2048
112 #define CE_FRAME 8
113 #define CE_IOE 1024
114 #define CE_MODE 32768
115 #define CE_OOP 4096
116 #define CE_OVERRUN 2
117 #define CE_PTO 512
118 #define CE_RXOVER 1
119 #define CE_RXPARITY 4
120 #define CE_TXFULL 256
121 #define PROGRESS_CONTINUE 0
122 #define PROGRESS_CANCEL 1
123 #define PROGRESS_STOP 2
124 #define PROGRESS_QUIET 3
125 #define CALLBACK_CHUNK_FINISHED 0
126 #define CALLBACK_STREAM_SWITCH 1
127 #define COPY_FILE_FAIL_IF_EXISTS 1
128 #define COPY_FILE_RESTARTABLE 2
129 #define OFS_MAXPATHNAME 128
130 #define DUPLICATE_CLOSE_SOURCE 1
131 #define DUPLICATE_SAME_ACCESS 2
132 #define FILE_MAP_ALL_ACCESS 0xf001f
133 #define FILE_MAP_READ 4
134 #define FILE_MAP_WRITE 2
135 #define FILE_MAP_COPY 1
136 #define MUTEX_ALL_ACCESS 0x1f0001
137 #define MUTEX_MODIFY_STATE 1
138 #define SEMAPHORE_ALL_ACCESS 0x1f0003
139 #define SEMAPHORE_MODIFY_STATE 2
140 #define EVENT_ALL_ACCESS 0x1f0003
141 #define EVENT_MODIFY_STATE 2
142 #define PIPE_ACCESS_DUPLEX 3
143 #define PIPE_ACCESS_INBOUND 1
144 #define PIPE_ACCESS_OUTBOUND 2
145 #define PIPE_TYPE_BYTE 0
146 #define PIPE_TYPE_MESSAGE 4
147 #define PIPE_READMODE_BYTE 0
148 #define PIPE_READMODE_MESSAGE 2
149 #define PIPE_WAIT 0
150 #define PIPE_NOWAIT 1
151 #define PIPE_CLIENT_END 0
152 #define PIPE_SERVER_END 1
153 #define PIPE_UNLIMITED_INSTANCES 255
154 #define CREATE_DEFAULT_ERROR_MODE 67108864
155 #define DEBUG_PROCESS 1
156 #define DEBUG_ONLY_THIS_PROCESS 2
157 #define CREATE_SUSPENDED 4
158 #define DETACHED_PROCESS 8
159 #define CREATE_NEW_CONSOLE 16
160 #define NORMAL_PRIORITY_CLASS 32
161 #define IDLE_PRIORITY_CLASS 64
162 #define HIGH_PRIORITY_CLASS 128
163 #define REALTIME_PRIORITY_CLASS 256
164 #define CREATE_NEW_PROCESS_GROUP 512
165 #define CREATE_UNICODE_ENVIRONMENT 1024
166 #define CREATE_SEPARATE_WOW_VDM 2048
167 #define CREATE_SHARED_WOW_VDM 4096
168 #define CREATE_FORCEDOS 8192
169 #define CREATE_NO_WINDOW 0x8000000
170 #define CONSOLE_TEXTMODE_BUFFER 1
171 #define CREATE_NEW 1
172 #define CREATE_ALWAYS 2
173 #define OPEN_EXISTING 3
174 #define OPEN_ALWAYS 4
175 #define TRUNCATE_EXISTING 5
176 #define FILE_FLAG_WRITE_THROUGH 0x80000000
177 #define FILE_FLAG_OVERLAPPED 1073741824
178 #define FILE_FLAG_NO_BUFFERING 536870912
179 #define FILE_FLAG_RANDOM_ACCESS 268435456
180 #define FILE_FLAG_SEQUENTIAL_SCAN 134217728
181 #define FILE_FLAG_DELETE_ON_CLOSE 67108864
182 #define FILE_FLAG_BACKUP_SEMANTICS 33554432
183 #define FILE_FLAG_POSIX_SEMANTICS 16777216
184 #define FILE_FLAG_OPEN_REPARSE_POINT 2097152
185 #define FILE_FLAG_OPEN_NO_RECALL 1048576
186 #define CLRDTR 6
187 #define CLRRTS 4
188 #define SETDTR 5
189 #define SETRTS 3
190 #define SETXOFF 1
191 #define SETXON 2
192 #define SETBREAK 8
193 #define CLRBREAK 9
194 #define STILL_ACTIVE 0x103
195 #define FIND_FIRST_EX_CASE_SENSITIVE 1
196 #define SCS_32BIT_BINARY 0
197 #define SCS_DOS_BINARY 1
198 #define SCS_OS216_BINARY 5
199 #define SCS_PIF_BINARY 3
200 #define SCS_POSIX_BINARY 4
201 #define SCS_WOW_BINARY 2
202 #define MAX_COMPUTERNAME_LENGTH 15
203 #define HW_PROFILE_GUIDLEN 39
204 #define MAX_PROFILE_LEN 80
205 #define DOCKINFO_UNDOCKED 1
206 #define DOCKINFO_DOCKED 2
207 #define DOCKINFO_USER_SUPPLIED 4
208 #define DOCKINFO_USER_UNDOCKED (DOCKINFO_USER_SUPPLIED|DOCKINFO_UNDOCKED)
209 #define DOCKINFO_USER_DOCKED (DOCKINFO_USER_SUPPLIED|DOCKINFO_DOCKED)
210 #define DRIVE_REMOVABLE 2
211 #define DRIVE_FIXED 3
212 #define DRIVE_REMOTE 4
213 #define DRIVE_CDROM 5
214 #define DRIVE_RAMDISK 6
215 #define DRIVE_UNKNOWN 0
216 #define DRIVE_NO_ROOT_DIR 1
217 #define FILE_TYPE_UNKNOWN 0
218 #define FILE_TYPE_DISK 1
219 #define FILE_TYPE_CHAR 2
220 #define FILE_TYPE_PIPE 3
221 #define FILE_TYPE_REMOTE 0x8000
222 #define HANDLE_FLAG_INHERIT 1
223 #define HANDLE_FLAG_PROTECT_FROM_CLOSE 2
224 #define STD_INPUT_HANDLE (DWORD)(0xfffffff6)
225 #define STD_OUTPUT_HANDLE (DWORD)(0xfffffff5)
226 #define STD_ERROR_HANDLE (DWORD)(0xfffffff4)
227 #define INVALID_HANDLE_VALUE (HANDLE)(-1)
228 #define GET_TAPE_MEDIA_INFORMATION 0
229 #define GET_TAPE_DRIVE_INFORMATION 1
230 #define SET_TAPE_MEDIA_INFORMATION 0
231 #define SET_TAPE_DRIVE_INFORMATION 1
232 #define THREAD_PRIORITY_ABOVE_NORMAL 1
233 #define THREAD_PRIORITY_BELOW_NORMAL (-1)
234 #define THREAD_PRIORITY_HIGHEST 2
235 #define THREAD_PRIORITY_IDLE (-15)
236 #define THREAD_PRIORITY_LOWEST (-2)
237 #define THREAD_PRIORITY_NORMAL 0
238 #define THREAD_PRIORITY_TIME_CRITICAL 15
239 #define THREAD_PRIORITY_ERROR_RETURN 2147483647
240 #define TIME_ZONE_ID_UNKNOWN 0
241 #define TIME_ZONE_ID_STANDARD 1
242 #define TIME_ZONE_ID_DAYLIGHT 2
243 #define TIME_ZONE_ID_INVALID 0xFFFFFFFF
244 #define FS_CASE_IS_PRESERVED 2
245 #define FS_CASE_SENSITIVE 1
246 #define FS_UNICODE_STORED_ON_DISK 4
247 #define FS_PERSISTENT_ACLS 8
248 #define FS_FILE_COMPRESSION 16
249 #define FS_VOL_IS_COMPRESSED 32768
250 #define GMEM_FIXED 0
251 #define GMEM_MOVEABLE 2
252 #define GMEM_MODIFY 128
253 #define GPTR 64
254 #define GHND 66
255 #define GMEM_DDESHARE 8192
256 #define GMEM_DISCARDABLE 256
257 #define GMEM_LOWER 4096
258 #define GMEM_NOCOMPACT 16
259 #define GMEM_NODISCARD 32
260 #define GMEM_NOT_BANKED 4096
261 #define GMEM_NOTIFY 16384
262 #define GMEM_SHARE 8192
263 #define GMEM_ZEROINIT 64
264 #define GMEM_DISCARDED 16384
265 #define GMEM_INVALID_HANDLE 32768
266 #define GMEM_LOCKCOUNT 255
267 #define STATUS_WAIT_0 0
268 #define STATUS_ABANDONED_WAIT_0 0x80
269 #define STATUS_USER_APC 0xC0
270 #define STATUS_TIMEOUT 0x102
271 #define STATUS_PENDING 0x103
272 #define STATUS_SEGMENT_NOTIFICATION 0x40000005
273 #define STATUS_GUARD_PAGE_VIOLATION 0x80000001
274 #define STATUS_DATATYPE_MISALIGNMENT 0x80000002
275 #define STATUS_BREAKPOINT 0x80000003
276 #define STATUS_SINGLE_STEP 0x80000004
277 #define STATUS_ACCESS_VIOLATION 0xC0000005
278 #define STATUS_IN_PAGE_ERROR 0xC0000006
279 #define STATUS_INVALID_HANDLE 0xC0000008L
280 #define STATUS_NO_MEMORY 0xC0000017
281 #define STATUS_ILLEGAL_INSTRUCTION 0xC000001D
282 #define STATUS_NONCONTINUABLE_EXCEPTION 0xC0000025
283 #define STATUS_INVALID_DISPOSITION 0xC0000026
284 #define STATUS_ARRAY_BOUNDS_EXCEEDED 0xC000008C
285 #define STATUS_FLOAT_DENORMAL_OPERAND 0xC000008D
286 #define STATUS_FLOAT_DIVIDE_BY_ZERO 0xC000008E
287 #define STATUS_FLOAT_INEXACT_RESULT 0xC000008F
288 #define STATUS_FLOAT_INVALID_OPERATION 0xC0000090
289 #define STATUS_FLOAT_OVERFLOW 0xC0000091
290 #define STATUS_FLOAT_STACK_CHECK 0xC0000092
291 #define STATUS_FLOAT_UNDERFLOW 0xC0000093
292 #define STATUS_INTEGER_DIVIDE_BY_ZERO 0xC0000094
293 #define STATUS_INTEGER_OVERFLOW 0xC0000095
294 #define STATUS_PRIVILEGED_INSTRUCTION 0xC0000096
295 #define STATUS_STACK_OVERFLOW 0xC00000FD
296 #define STATUS_CONTROL_C_EXIT 0xC000013A
297 #define EXCEPTION_ACCESS_VIOLATION STATUS_ACCESS_VIOLATION
298 #define EXCEPTION_DATATYPE_MISALIGNMENT STATUS_DATATYPE_MISALIGNMENT
299 #define EXCEPTION_BREAKPOINT STATUS_BREAKPOINT
300 #define EXCEPTION_SINGLE_STEP STATUS_SINGLE_STEP
301 #define EXCEPTION_ARRAY_BOUNDS_EXCEEDED STATUS_ARRAY_BOUNDS_EXCEEDED
302 #define EXCEPTION_FLT_DENORMAL_OPERAND STATUS_FLOAT_DENORMAL_OPERAND
303 #define EXCEPTION_FLT_DIVIDE_BY_ZERO STATUS_FLOAT_DIVIDE_BY_ZERO
304 #define EXCEPTION_FLT_INEXACT_RESULT STATUS_FLOAT_INEXACT_RESULT
305 #define EXCEPTION_FLT_INVALID_OPERATION STATUS_FLOAT_INVALID_OPERATION
306 #define EXCEPTION_FLT_OVERFLOW STATUS_FLOAT_OVERFLOW
307 #define EXCEPTION_FLT_STACK_CHECK STATUS_FLOAT_STACK_CHECK
308 #define EXCEPTION_FLT_UNDERFLOW STATUS_FLOAT_UNDERFLOW
309 #define EXCEPTION_INT_DIVIDE_BY_ZERO STATUS_INTEGER_DIVIDE_BY_ZERO
310 #define EXCEPTION_INT_OVERFLOW STATUS_INTEGER_OVERFLOW
311 #define EXCEPTION_PRIV_INSTRUCTION STATUS_PRIVILEGED_INSTRUCTION
312 #define EXCEPTION_IN_PAGE_ERROR STATUS_IN_PAGE_ERROR
313 #define EXCEPTION_ILLEGAL_INSTRUCTION STATUS_ILLEGAL_INSTRUCTION
314 #define EXCEPTION_NONCONTINUABLE_EXCEPTION STATUS_NONCONTINUABLE_EXCEPTION
315 #define EXCEPTION_STACK_OVERFLOW STATUS_STACK_OVERFLOW
316 #define EXCEPTION_INVALID_DISPOSITION STATUS_INVALID_DISPOSITION
317 #define EXCEPTION_GUARD_PAGE STATUS_GUARD_PAGE_VIOLATION
318 #define EXCEPTION_INVALID_HANDLE STATUS_INVALID_HANDLE
319 #define CONTROL_C_EXIT STATUS_CONTROL_C_EXIT
320 #define PROCESS_HEAP_REGION 1
321 #define PROCESS_HEAP_UNCOMMITTED_RANGE 2
322 #define PROCESS_HEAP_ENTRY_BUSY 4
323 #define PROCESS_HEAP_ENTRY_MOVEABLE 16
324 #define PROCESS_HEAP_ENTRY_DDESHARE 32
325 #define DONT_RESOLVE_DLL_REFERENCES 1
326 #define LOAD_LIBRARY_AS_DATAFILE 2
327 #define LOAD_WITH_ALTERED_SEARCH_PATH 8
328 #define LMEM_FIXED 0
329 #define LMEM_MOVEABLE 2
330 #define LMEM_NONZEROLHND 2
331 #define LMEM_NONZEROLPTR 0
332 #define LMEM_DISCARDABLE 3840
333 #define LMEM_NOCOMPACT 16
334 #define LMEM_NODISCARD 32
335 #define LMEM_ZEROINIT 64
336 #define LMEM_DISCARDED 16384
337 #define LMEM_MODIFY 128
338 #define LMEM_INVALID_HANDLE 32768
339 #define LMEM_LOCKCOUNT 255
340 #define LPTR 64
341 #define LHND 66
342 #define NONZEROLHND 2
343 #define NONZEROLPTR 0
344 #define LOCKFILE_FAIL_IMMEDIATELY 1
345 #define LOCKFILE_EXCLUSIVE_LOCK 2
346 #define LOGON32_PROVIDER_DEFAULT 0
347 #define LOGON32_PROVIDER_WINNT35 1
348 #define LOGON32_LOGON_INTERACTIVE 2
349 #define LOGON32_LOGON_BATCH 4
350 #define LOGON32_LOGON_SERVICE 5
351 #define MOVEFILE_REPLACE_EXISTING 1
352 #define MOVEFILE_COPY_ALLOWED 2
353 #define MOVEFILE_DELAY_UNTIL_REBOOT 4
354 #define MOVEFILE_WRITE_THROUGH 8
355 #define MAXIMUM_WAIT_OBJECTS 64
356 #define MAXIMUM_SUSPEND_COUNT 0x7F
357 #define WAIT_OBJECT_0 0
358 #define WAIT_ABANDONED_0 128
359 #define WAIT_TIMEOUT 0x102
360 #define WAIT_IO_COMPLETION 0xC0
361 #define WAIT_ABANDONED 128
362 #define WAIT_FAILED 0xFFFFFFFF
363 #define PURGE_TXABORT 1
364 #define PURGE_RXABORT 2
365 #define PURGE_TXCLEAR 4
366 #define PURGE_RXCLEAR 8
367 #define EVENTLOG_FORWARDS_READ 4
368 #define EVENTLOG_BACKWARDS_READ 8
369 #define EVENTLOG_SEEK_READ 2
370 #define EVENTLOG_SEQUENTIAL_READ 1
371 #define EVENTLOG_ERROR_TYPE 1
372 #define EVENTLOG_WARNING_TYPE 2
373 #define EVENTLOG_INFORMATION_TYPE 4
374 #define EVENTLOG_AUDIT_SUCCESS 8
375 #define EVENTLOG_AUDIT_FAILURE 16
376 #define FORMAT_MESSAGE_ALLOCATE_BUFFER 256
377 #define FORMAT_MESSAGE_IGNORE_INSERTS 512
378 #define FORMAT_MESSAGE_FROM_STRING 1024
379 #define FORMAT_MESSAGE_FROM_HMODULE 2048
380 #define FORMAT_MESSAGE_FROM_SYSTEM 4096
381 #define FORMAT_MESSAGE_ARGUMENT_ARRAY 8192
382 #define FORMAT_MESSAGE_MAX_WIDTH_MASK 255
383 #define EV_BREAK 64
384 #define EV_CTS 8
385 #define EV_DSR 16
386 #define EV_ERR 128
387 #define EV_EVENT1 2048
388 #define EV_EVENT2 4096
389 #define EV_PERR 512
390 #define EV_RING 256
391 #define EV_RLSD 32
392 #define EV_RX80FULL 1024
393 #define EV_RXCHAR 1
394 #define EV_RXFLAG 2
395 #define EV_TXEMPTY 4
396 #define SEM_FAILCRITICALERRORS 1
397 #define SEM_NOALIGNMENTFAULTEXCEPT 4
398 #define SEM_NOGPFAULTERRORBOX 2
399 #define SEM_NOOPENFILEERRORBOX 32768
400 #define SLE_ERROR 1
401 #define SLE_MINORERROR 2
402 #define SLE_WARNING 3
403 #define SHUTDOWN_NORETRY 1
404 #define EXCEPTION_EXECUTE_HANDLER 1
405 #define EXCEPTION_CONTINUE_EXECUTION (-1)
406 #define EXCEPTION_CONTINUE_SEARCH 0
407 #define MAXINTATOM 0xC000
408 #define INVALID_ATOM ((ATOM)0)
409 #define IGNORE 0
410 #define INFINITE 0xFFFFFFFF
411 #define NOPARITY 0
412 #define ODDPARITY 1
413 #define EVENPARITY 2
414 #define MARKPARITY 3
415 #define SPACEPARITY 4
416 #define ONESTOPBIT 0
417 #define ONE5STOPBITS 1
418 #define TWOSTOPBITS 2
419 #define CBR_110 110
420 #define CBR_300 300
421 #define CBR_600 600
422 #define CBR_1200 1200
423 #define CBR_2400 2400
424 #define CBR_4800 4800
425 #define CBR_9600 9600
426 #define CBR_14400 14400
427 #define CBR_19200 19200
428 #define CBR_38400 38400
429 #define CBR_56000 56000
430 #define CBR_57600 57600
431 #define CBR_115200 115200
432 #define CBR_128000 128000
433 #define CBR_256000 256000
434 #define BACKUP_INVALID 0
435 #define BACKUP_DATA 1
436 #define BACKUP_EA_DATA 2
437 #define BACKUP_SECURITY_DATA 3
438 #define BACKUP_ALTERNATE_DATA 4
439 #define BACKUP_LINK 5
440 #define BACKUP_PROPERTY_DATA 6
441 #define BACKUP_OBJECT_ID 7
442 #define BACKUP_REPARSE_DATA 8
443 #define BACKUP_SPARSE_BLOCK 9
444 #define STREAM_NORMAL_ATTRIBUTE 0
445 #define STREAM_MODIFIED_WHEN_READ 1
446 #define STREAM_CONTAINS_SECURITY 2
447 #define STREAM_CONTAINS_PROPERTIES 4
448 #define STARTF_USESHOWWINDOW 1
449 #define STARTF_USESIZE 2
450 #define STARTF_USEPOSITION 4
451 #define STARTF_USECOUNTCHARS 8
452 #define STARTF_USEFILLATTRIBUTE 16
453 #define STARTF_RUNFULLSCREEN 32
454 #define STARTF_FORCEONFEEDBACK 64
455 #define STARTF_FORCEOFFFEEDBACK 128
456 #define STARTF_USESTDHANDLES 256
457 #define STARTF_USEHOTKEY 512
458 #define TC_NORMAL 0
459 #define TC_HARDERR 1
460 #define TC_GP_TRAP 2
461 #define TC_SIGNAL 3
462 #define AC_LINE_OFFLINE 0
463 #define AC_LINE_ONLINE 1
464 #define AC_LINE_BACKUP_POWER 2
465 #define AC_LINE_UNKNOWN 255
466 #define BATTERY_FLAG_HIGH 1
467 #define BATTERY_FLAG_LOW 2
468 #define BATTERY_FLAG_CRITICAL 4
469 #define BATTERY_FLAG_CHARGING 8
470 #define BATTERY_FLAG_NO_BATTERY 128
471 #define BATTERY_FLAG_UNKNOWN 255
472 #define BATTERY_PERCENTAGE_UNKNOWN 255
473 #define BATTERY_LIFE_UNKNOWN 0xFFFFFFFF
474 #define DDD_RAW_TARGET_PATH 1
475 #define DDD_REMOVE_DEFINITION 2
476 #define DDD_EXACT_MATCH_ON_REMOVE 4
477 #define HINSTANCE_ERROR 32
478 #define MS_CTS_ON 16
479 #define MS_DSR_ON 32
480 #define MS_RING_ON 64
481 #define MS_RLSD_ON 128
482 #define PROFILE_USER 0x10000000
483 #define PROFILE_KERNEL 0x20000000
484 #define PROFILE_SERVER 0x40000000
485 #define DTR_CONTROL_DISABLE 0
486 #define DTR_CONTROL_ENABLE 1
487 #define DTR_CONTROL_HANDSHAKE 2
488 #define RTS_CONTROL_DISABLE 0
489 #define RTS_CONTROL_ENABLE 1
490 #define RTS_CONTROL_HANDSHAKE 2
491 #define RTS_CONTROL_TOGGLE 3
492 #define SECURITY_ANONYMOUS (SecurityAnonymous<<16)
493 #define SECURITY_IDENTIFICATION (SecurityIdentification<<16)
494 #define SECURITY_IMPERSONATION (SecurityImpersonation<<16)
495 #define SECURITY_DELEGATION (SecurityDelegation<<16)
496 #define SECURITY_CONTEXT_TRACKING 0x40000
497 #define SECURITY_EFFECTIVE_ONLY 0x80000
498 #define SECURITY_SQOS_PRESENT 0x100000
499 #define SECURITY_VALID_SQOS_FLAGS 0x1F0000
500 #define INVALID_FILE_SIZE 0xFFFFFFFF
501 #define TLS_OUT_OF_INDEXES (DWORD)0xFFFFFFFF
503 #ifndef RC_INVOKED
504 typedef struct _FILETIME {
505 DWORD dwLowDateTime;
506 DWORD dwHighDateTime;
507 } FILETIME,*PFILETIME,*LPFILETIME;
508 typedef struct _BY_HANDLE_FILE_INFORMATION {
509 DWORD dwFileAttributes;
510 FILETIME ftCreationTime;
511 FILETIME ftLastAccessTime;
512 FILETIME ftLastWriteTime;
513 DWORD dwVolumeSerialNumber;
514 DWORD nFileSizeHigh;
515 DWORD nFileSizeLow;
516 DWORD nNumberOfLinks;
517 DWORD nFileIndexHigh;
518 DWORD nFileIndexLow;
519 } BY_HANDLE_FILE_INFORMATION,*LPBY_HANDLE_FILE_INFORMATION;
520 typedef struct _DCB {
521 DWORD DCBlength;
522 DWORD BaudRate;
523 DWORD fBinary:1;
524 DWORD fParity:1;
525 DWORD fOutxCtsFlow:1;
526 DWORD fOutxDsrFlow:1;
527 DWORD fDtrControl:2;
528 DWORD fDsrSensitivity:1;
529 DWORD fTXContinueOnXoff:1;
530 DWORD fOutX:1;
531 DWORD fInX:1;
532 DWORD fErrorChar:1;
533 DWORD fNull:1;
534 DWORD fRtsControl:2;
535 DWORD fAbortOnError:1;
536 DWORD fDummy2:17;
537 WORD wReserved;
538 WORD XonLim;
539 WORD XoffLim;
540 BYTE ByteSize;
541 BYTE Parity;
542 BYTE StopBits;
543 char XonChar;
544 char XoffChar;
545 char ErrorChar;
546 char EofChar;
547 char EvtChar;
548 WORD wReserved1;
549 } DCB,*LPDCB;
550 typedef struct _COMM_CONFIG {
551 DWORD dwSize;
552 WORD wVersion;
553 WORD wReserved;
554 DCB dcb;
555 DWORD dwProviderSubType;
556 DWORD dwProviderOffset;
557 DWORD dwProviderSize;
558 WCHAR wcProviderData[1];
559 } COMMCONFIG,*LPCOMMCONFIG;
560 typedef struct _COMMPROP {
561 WORD wPacketLength;
562 WORD wPacketVersion;
563 DWORD dwServiceMask;
564 DWORD dwReserved1;
565 DWORD dwMaxTxQueue;
566 DWORD dwMaxRxQueue;
567 DWORD dwMaxBaud;
568 DWORD dwProvSubType;
569 DWORD dwProvCapabilities;
570 DWORD dwSettableParams;
571 DWORD dwSettableBaud;
572 WORD wSettableData;
573 WORD wSettableStopParity;
574 DWORD dwCurrentTxQueue;
575 DWORD dwCurrentRxQueue;
576 DWORD dwProvSpec1;
577 DWORD dwProvSpec2;
578 WCHAR wcProvChar[1];
579 } COMMPROP,*LPCOMMPROP;
580 typedef struct _COMMTIMEOUTS {
581 DWORD ReadIntervalTimeout;
582 DWORD ReadTotalTimeoutMultiplier;
583 DWORD ReadTotalTimeoutConstant;
584 DWORD WriteTotalTimeoutMultiplier;
585 DWORD WriteTotalTimeoutConstant;
586 } COMMTIMEOUTS,*LPCOMMTIMEOUTS;
587 typedef struct _COMSTAT {
588 DWORD fCtsHold:1;
589 DWORD fDsrHold:1;
590 DWORD fRlsdHold:1;
591 DWORD fXoffHold:1;
592 DWORD fXoffSent:1;
593 DWORD fEof:1;
594 DWORD fTxim:1;
595 DWORD fReserved:25;
596 DWORD cbInQue;
597 DWORD cbOutQue;
598 } COMSTAT,*LPCOMSTAT;
599 typedef DWORD (WINAPI *LPTHREAD_START_ROUTINE)(LPVOID);
600 typedef struct _CREATE_PROCESS_DEBUG_INFO {
601 HANDLE hFile;
602 HANDLE hProcess;
603 HANDLE hThread;
604 LPVOID lpBaseOfImage;
605 DWORD dwDebugInfoFileOffset;
606 DWORD nDebugInfoSize;
607 LPVOID lpThreadLocalBase;
608 LPTHREAD_START_ROUTINE lpStartAddress;
609 LPVOID lpImageName;
610 WORD fUnicode;
611 } CREATE_PROCESS_DEBUG_INFO,*LPCREATE_PROCESS_DEBUG_INFO;
612 typedef struct _CREATE_THREAD_DEBUG_INFO {
613 HANDLE hThread;
614 LPVOID lpThreadLocalBase;
615 LPTHREAD_START_ROUTINE lpStartAddress;
616 } CREATE_THREAD_DEBUG_INFO,*LPCREATE_THREAD_DEBUG_INFO;
617 typedef struct _EXCEPTION_DEBUG_INFO {
618 EXCEPTION_RECORD ExceptionRecord;
619 DWORD dwFirstChance;
620 } EXCEPTION_DEBUG_INFO,*LPEXCEPTION_DEBUG_INFO;
621 typedef struct _EXIT_THREAD_DEBUG_INFO {
622 DWORD dwExitCode;
623 } EXIT_THREAD_DEBUG_INFO,*LPEXIT_THREAD_DEBUG_INFO;
624 typedef struct _EXIT_PROCESS_DEBUG_INFO {
625 DWORD dwExitCode;
626 } EXIT_PROCESS_DEBUG_INFO,*LPEXIT_PROCESS_DEBUG_INFO;
627 typedef struct _LOAD_DLL_DEBUG_INFO {
628 HANDLE hFile;
629 LPVOID lpBaseOfDll;
630 DWORD dwDebugInfoFileOffset;
631 DWORD nDebugInfoSize;
632 LPVOID lpImageName;
633 WORD fUnicode;
634 } LOAD_DLL_DEBUG_INFO,*LPLOAD_DLL_DEBUG_INFO;
635 typedef struct _UNLOAD_DLL_DEBUG_INFO {
636 LPVOID lpBaseOfDll;
637 } UNLOAD_DLL_DEBUG_INFO,*LPUNLOAD_DLL_DEBUG_INFO;
638 typedef struct _OUTPUT_DEBUG_STRING_INFO {
639 LPSTR lpDebugStringData;
640 WORD fUnicode;
641 WORD nDebugStringLength;
642 } OUTPUT_DEBUG_STRING_INFO,*LPOUTPUT_DEBUG_STRING_INFO;
643 typedef struct _RIP_INFO {
644 DWORD dwError;
645 DWORD dwType;
646 } RIP_INFO,*LPRIP_INFO;
647 typedef struct _DEBUG_EVENT {
648 DWORD dwDebugEventCode;
649 DWORD dwProcessId;
650 DWORD dwThreadId;
651 union {
652 EXCEPTION_DEBUG_INFO Exception;
653 CREATE_THREAD_DEBUG_INFO CreateThread;
654 CREATE_PROCESS_DEBUG_INFO CreateProcessInfo;
655 EXIT_THREAD_DEBUG_INFO ExitThread;
656 EXIT_PROCESS_DEBUG_INFO ExitProcess;
657 LOAD_DLL_DEBUG_INFO LoadDll;
658 UNLOAD_DLL_DEBUG_INFO UnloadDll;
659 OUTPUT_DEBUG_STRING_INFO DebugString;
660 RIP_INFO RipInfo;
661 } u;
662 } DEBUG_EVENT,*LPDEBUG_EVENT;
663 typedef struct _OVERLAPPED {
664 DWORD Internal;
665 DWORD InternalHigh;
666 DWORD Offset;
667 DWORD OffsetHigh;
668 HANDLE hEvent;
669 } OVERLAPPED,*POVERLAPPED,*LPOVERLAPPED;
670 typedef struct _STARTUPINFOA {
671 DWORD cb;
672 LPSTR lpReserved;
673 LPSTR lpDesktop;
674 LPSTR lpTitle;
675 DWORD dwX;
676 DWORD dwY;
677 DWORD dwXSize;
678 DWORD dwYSize;
679 DWORD dwXCountChars;
680 DWORD dwYCountChars;
681 DWORD dwFillAttribute;
682 DWORD dwFlags;
683 WORD wShowWindow;
684 WORD cbReserved2;
685 PBYTE lpReserved2;
686 HANDLE hStdInput;
687 HANDLE hStdOutput;
688 HANDLE hStdError;
689 } STARTUPINFOA,*LPSTARTUPINFOA;
690 typedef struct _STARTUPINFOW {
691 DWORD cb;
692 LPWSTR lpReserved;
693 LPWSTR lpDesktop;
694 LPWSTR lpTitle;
695 DWORD dwX;
696 DWORD dwY;
697 DWORD dwXSize;
698 DWORD dwYSize;
699 DWORD dwXCountChars;
700 DWORD dwYCountChars;
701 DWORD dwFillAttribute;
702 DWORD dwFlags;
703 WORD wShowWindow;
704 WORD cbReserved2;
705 PBYTE lpReserved2;
706 HANDLE hStdInput;
707 HANDLE hStdOutput;
708 HANDLE hStdError;
709 } STARTUPINFOW,*LPSTARTUPINFOW;
710 typedef struct _PROCESS_INFORMATION {
711 HANDLE hProcess;
712 HANDLE hThread;
713 DWORD dwProcessId;
714 DWORD dwThreadId;
715 } PROCESS_INFORMATION,*LPPROCESS_INFORMATION;
716 typedef struct _CRITICAL_SECTION_DEBUG {
717 WORD Type;
718 WORD CreatorBackTraceIndex;
719 struct _CRITICAL_SECTION *CriticalSection;
720 LIST_ENTRY ProcessLocksList;
721 DWORD EntryCount;
722 DWORD ContentionCount;
723 DWORD Spare [2];
724 } CRITICAL_SECTION_DEBUG,*PCRITICAL_SECTION_DEBUG;
725 typedef struct _CRITICAL_SECTION {
726 PCRITICAL_SECTION_DEBUG DebugInfo;
727 LONG LockCount;
728 LONG RecursionCount;
729 HANDLE OwningThread;
730 HANDLE LockSemaphore;
731 DWORD SpinCount;
732 } CRITICAL_SECTION,*PCRITICAL_SECTION,*LPCRITICAL_SECTION;
733 typedef struct _SYSTEMTIME {
734 WORD wYear;
735 WORD wMonth;
736 WORD wDayOfWeek;
737 WORD wDay;
738 WORD wHour;
739 WORD wMinute;
740 WORD wSecond;
741 WORD wMilliseconds;
742 } SYSTEMTIME,*LPSYSTEMTIME;
743 typedef struct _WIN32_FILE_ATTRIBUTE_DATA {
744 DWORD dwFileAttributes;
745 FILETIME ftCreationTime;
746 FILETIME ftLastAccessTime;
747 FILETIME ftLastWriteTime;
748 DWORD nFileSizeHigh;
749 DWORD nFileSizeLow;
750 } WIN32_FILE_ATTRIBUTE_DATA,*LPWIN32_FILE_ATTRIBUTE_DATA;
751 typedef struct _WIN32_FIND_DATAA {
752 DWORD dwFileAttributes;
753 FILETIME ftCreationTime;
754 FILETIME ftLastAccessTime;
755 FILETIME ftLastWriteTime;
756 DWORD nFileSizeHigh;
757 DWORD nFileSizeLow;
758 DWORD dwReserved0;
759 DWORD dwReserved1;
760 CHAR cFileName[MAX_PATH];
761 CHAR cAlternateFileName[14];
762 } WIN32_FIND_DATAA,*LPWIN32_FIND_DATAA;
763 typedef struct _WIN32_FIND_DATAW {
764 DWORD dwFileAttributes;
765 FILETIME ftCreationTime;
766 FILETIME ftLastAccessTime;
767 FILETIME ftLastWriteTime;
768 DWORD nFileSizeHigh;
769 DWORD nFileSizeLow;
770 DWORD dwReserved0;
771 DWORD dwReserved1;
772 WCHAR cFileName[MAX_PATH];
773 WCHAR cAlternateFileName[14];
774 } WIN32_FIND_DATAW,*LPWIN32_FIND_DATAW;
775 typedef struct _WIN32_STREAM_ID {
776 DWORD dwStreamId;
777 DWORD dwStreamAttributes;
778 LARGE_INTEGER Size;
779 DWORD dwStreamNameSize;
780 WCHAR cStreamName[ANYSIZE_ARRAY];
781 } WIN32_STREAM_ID;
782 typedef enum _FINDEX_INFO_LEVELS {
783 FindExInfoStandard,
784 FindExInfoMaxInfoLevel
785 } FINDEX_INFO_LEVELS;
786 typedef enum _FINDEX_SEARCH_OPS {
787 FindExSearchNameMatch,
788 FindExSearchLimitToDirectories,
789 FindExSearchLimitToDevices,
790 FindExSearchMaxSearchOp
791 } FINDEX_SEARCH_OPS;
792 typedef enum _ACL_INFORMATION_CLASS {
793 AclRevisionInformation=1,
794 AclSizeInformation
795 } ACL_INFORMATION_CLASS;
796 typedef struct tagHW_PROFILE_INFOA {
797 DWORD dwDockInfo;
798 CHAR szHwProfileGuid[HW_PROFILE_GUIDLEN];
799 CHAR szHwProfileName[MAX_PROFILE_LEN];
800 } HW_PROFILE_INFOA,*LPHW_PROFILE_INFOA;
801 typedef struct tagHW_PROFILE_INFOW {
802 DWORD dwDockInfo;
803 WCHAR szHwProfileGuid[HW_PROFILE_GUIDLEN];
804 WCHAR szHwProfileName[MAX_PROFILE_LEN];
805 } HW_PROFILE_INFOW,*LPHW_PROFILE_INFOW;
806 typedef enum _GET_FILEEX_INFO_LEVELS {
807 GetFileExInfoStandard,
808 GetFileExMaxInfoLevel
809 } GET_FILEEX_INFO_LEVELS;
810 typedef struct _SYSTEM_INFO {
811 _ANONYMOUS_UNION union {
812 DWORD dwOemId;
813 _ANONYMOUS_STRUCT struct {
814 WORD wProcessorArchitecture;
815 WORD wReserved;
816 } DUMMYSTRUCTNAME;
817 } DUMMYUNIONNAME;
818 DWORD dwPageSize;
819 PVOID lpMinimumApplicationAddress;
820 PVOID lpMaximumApplicationAddress;
821 DWORD dwActiveProcessorMask;
822 DWORD dwNumberOfProcessors;
823 DWORD dwProcessorType;
824 DWORD dwAllocationGranularity;
825 WORD wProcessorLevel;
826 WORD wProcessorRevision;
827 } SYSTEM_INFO,*LPSYSTEM_INFO;
828 typedef struct _SYSTEM_POWER_STATUS {
829 BYTE ACLineStatus;
830 BYTE BatteryFlag;
831 BYTE BatteryLifePercent;
832 BYTE Reserved1;
833 DWORD BatteryLifeTime;
834 DWORD BatteryFullLifeTime;
835 } SYSTEM_POWER_STATUS,*LPSYSTEM_POWER_STATUS;
836 typedef struct _TIME_ZONE_INFORMATION {
837 LONG Bias;
838 WCHAR StandardName[32];
839 SYSTEMTIME StandardDate;
840 LONG StandardBias;
841 WCHAR DaylightName[32];
842 SYSTEMTIME DaylightDate;
843 LONG DaylightBias;
844 } TIME_ZONE_INFORMATION,*LPTIME_ZONE_INFORMATION;
845 typedef struct _MEMORYSTATUS {
846 DWORD dwLength;
847 DWORD dwMemoryLoad;
848 DWORD dwTotalPhys;
849 DWORD dwAvailPhys;
850 DWORD dwTotalPageFile;
851 DWORD dwAvailPageFile;
852 DWORD dwTotalVirtual;
853 DWORD dwAvailVirtual;
854 } MEMORYSTATUS,*LPMEMORYSTATUS;
855 typedef struct _LDT_ENTRY {
856 WORD LimitLow;
857 WORD BaseLow;
858 union {
859 struct {
860 BYTE BaseMid;
861 BYTE Flags1;
862 BYTE Flags2;
863 BYTE BaseHi;
864 } Bytes;
865 struct {
866 DWORD BaseMid:8;
867 DWORD Type:5;
868 DWORD Dpl:2;
869 DWORD Pres:1;
870 DWORD LimitHi:4;
871 DWORD Sys:1;
872 DWORD Reserved_0:1;
873 DWORD Default_Big:1;
874 DWORD Granularity:1;
875 DWORD BaseHi:8;
876 } Bits;
877 } HighWord;
878 } LDT_ENTRY,*PLDT_ENTRY,*LPLDT_ENTRY;
879 typedef struct _PROCESS_HEAP_ENTRY {
880 PVOID lpData;
881 DWORD cbData;
882 BYTE cbOverhead;
883 BYTE iRegionIndex;
884 WORD wFlags;
885 _ANONYMOUS_UNION union {
886 struct {
887 HANDLE hMem;
888 DWORD dwReserved[3];
889 } Block;
890 struct {
891 DWORD dwCommittedSize;
892 DWORD dwUnCommittedSize;
893 LPVOID lpFirstBlock;
894 LPVOID lpLastBlock;
895 } Region;
896 } DUMMYUNIONNAME;
897 } PROCESS_HEAP_ENTRY,*LPPROCESS_HEAP_ENTRY;
898 typedef struct _OFSTRUCT {
899 BYTE cBytes;
900 BYTE fFixedDisk;
901 WORD nErrCode;
902 WORD Reserved1;
903 WORD Reserved2;
904 CHAR szPathName[OFS_MAXPATHNAME];
905 } OFSTRUCT,*LPOFSTRUCT,*POFSTRUCT;
906 typedef struct _WIN_CERTIFICATE {
907 DWORD dwLength;
908 WORD wRevision;
909 WORD wCertificateType;
910 BYTE bCertificate[1];
911 } WIN_CERTIFICATE, *LPWIN_CERTIFICATE;
913 typedef DWORD(WINAPI *LPPROGRESS_ROUTINE)(LARGE_INTEGER,LARGE_INTEGER,LARGE_INTEGER,LARGE_INTEGER,DWORD,DWORD,HANDLE,HANDLE,LPVOID);
914 typedef void(WINAPI *LPFIBER_START_ROUTINE)(PVOID);
915 typedef BOOL(CALLBACK *ENUMRESLANGPROC)(HMODULE,LPCTSTR,LPCTSTR,WORD,LONG);
916 typedef BOOL(CALLBACK *ENUMRESNAMEPROC)(HMODULE,LPCTSTR,LPTSTR,LONG);
917 typedef BOOL(CALLBACK *ENUMRESTYPEPROC)(HMODULE,LPTSTR,LONG);
918 typedef void(CALLBACK *LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD,DWORD,LPOVERLAPPED);
919 typedef LONG(CALLBACK *PTOP_LEVEL_EXCEPTION_FILTER)(LPEXCEPTION_POINTERS);
920 typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER;
921 typedef void(APIENTRY *PAPCFUNC)(DWORD);
922 typedef void(CALLBACK *PTIMERAPCROUTINE)(PVOID,DWORD,DWORD);
923 #define MAKEINTATOM(i) (LPTSTR)((DWORD)((WORD)(i)))
924 /* Functions */
925 #ifndef UNDER_CE
926 int APIENTRY WinMain(HINSTANCE,HINSTANCE,LPSTR,int);
927 #else
928 int APIENTRY WinMain(HINSTANCE,HINSTANCE,LPWSTR,int);
929 #endif
930 int APIENTRY wWinMain(HINSTANCE,HINSTANCE,LPWSTR,int);
931 long WINAPI _hread(HFILE,LPVOID,long);
932 long WINAPI _hwrite(HFILE,LPCSTR,long);
933 HFILE WINAPI _lclose(HFILE);
934 HFILE WINAPI _lcreat(LPCSTR,int);
935 LONG WINAPI _llseek(HFILE,LONG,int);
936 HFILE WINAPI _lopen(LPCSTR,int);
937 UINT WINAPI _lread(HFILE,LPVOID,UINT);
938 UINT WINAPI _lwrite(HFILE,LPCSTR,UINT);
939 #define AbnormalTermination() FALSE
940 BOOL WINAPI AccessCheck(PSECURITY_DESCRIPTOR,HANDLE,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,PDWORD,PDWORD,PBOOL);
941 BOOL WINAPI AccessCheckAndAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,PDWORD,PBOOL,PBOOL);
942 BOOL WINAPI AccessCheckAndAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,PDWORD,PBOOL,PBOOL);
943 BOOL WINAPI AddAccessAllowedAce(PACL,DWORD,DWORD,PSID);
944 BOOL WINAPI AddAccessDeniedAce(PACL,DWORD,DWORD,PSID);
945 BOOL WINAPI AddAce(PACL,DWORD,DWORD,PVOID,DWORD);
946 ATOM WINAPI AddAtomA(LPCSTR);
947 ATOM WINAPI AddAtomW(LPCWSTR);
948 BOOL WINAPI AddAuditAccessAce(PACL,DWORD,DWORD,PSID,BOOL,BOOL);
949 BOOL WINAPI AdjustTokenGroups(HANDLE,BOOL,PTOKEN_GROUPS,DWORD,PTOKEN_GROUPS,PDWORD);
950 BOOL WINAPI AdjustTokenPrivileges(HANDLE,BOOL,PTOKEN_PRIVILEGES,DWORD,PTOKEN_PRIVILEGES,PDWORD);
951 BOOL WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,PSID*);
952 BOOL WINAPI AllocateLocallyUniqueId(PLUID);
953 BOOL WINAPI AreAllAccessesGranted(DWORD,DWORD);
954 BOOL WINAPI AreAnyAccessesGranted(DWORD,DWORD);
955 BOOL WINAPI AreFileApisANSI(void);
956 BOOL WINAPI BackupEventLogA(HANDLE,LPCSTR);
957 BOOL WINAPI BackupEventLogW(HANDLE,LPCWSTR);
958 BOOL WINAPI BackupRead(HANDLE,PBYTE,DWORD,PDWORD,BOOL,BOOL,PVOID);
959 BOOL WINAPI BackupSeek(HANDLE,DWORD,DWORD,PDWORD,PDWORD,PVOID);
960 BOOL WINAPI BackupWrite(HANDLE,PBYTE,DWORD,PDWORD,BOOL,BOOL,PVOID);
961 BOOL WINAPI Beep(DWORD,DWORD);
962 HANDLE WINAPI BeginUpdateResourceA(LPCSTR,BOOL);
963 HANDLE WINAPI BeginUpdateResourceW(LPCWSTR,BOOL);
964 BOOL WINAPI BuildCommDCBA(LPCSTR,LPDCB);
965 BOOL WINAPI BuildCommDCBW(LPCWSTR,LPDCB);
966 BOOL WINAPI BuildCommDCBAndTimeoutsA(LPCSTR,LPDCB,LPCOMMTIMEOUTS);
967 BOOL WINAPI BuildCommDCBAndTimeoutsW(LPCWSTR,LPDCB,LPCOMMTIMEOUTS);
968 BOOL WINAPI CallNamedPipeA(LPCSTR,PVOID,DWORD,PVOID,DWORD,PDWORD,DWORD);
969 BOOL WINAPI CallNamedPipeW(LPCWSTR,PVOID,DWORD,PVOID,DWORD,PDWORD,DWORD);
970 BOOL WINAPI CancelIo(HANDLE);
971 BOOL WINAPI CancelWaitableTimer(HANDLE);
972 BOOL WINAPI ClearCommBreak(HANDLE);
973 BOOL WINAPI ClearCommError(HANDLE,PDWORD,LPCOMSTAT);
974 BOOL WINAPI ClearEventLogA(HANDLE,LPCSTR);
975 BOOL WINAPI ClearEventLogW(HANDLE,LPCWSTR);
976 BOOL WINAPI CloseEventLog(HANDLE);
977 BOOL WINAPI CloseHandle(HANDLE);
978 BOOL WINAPI CommConfigDialogA(LPCSTR,HWND,LPCOMMCONFIG);
979 BOOL WINAPI CommConfigDialogW(LPCWSTR,HWND,LPCOMMCONFIG);
980 LONG WINAPI CompareFileTime(CONST FILETIME*,CONST FILETIME*);
981 BOOL WINAPI ConnectNamedPipe(HANDLE,LPOVERLAPPED);
982 BOOL WINAPI ContinueDebugEvent(DWORD,DWORD,DWORD);
983 PVOID WINAPI ConvertThreadToFiber(PVOID);
984 BOOL WINAPI CopyFileA(LPCSTR,LPCSTR,BOOL);
985 BOOL WINAPI CopyFileW(LPCWSTR,LPCWSTR,BOOL);
986 BOOL WINAPI CopyFileExA(LPCSTR,LPCSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD);
987 BOOL WINAPI CopyFileExW(LPCWSTR,LPCWSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD);
988 #define RtlMoveMemory memmove
989 #define RtlCopyMemory memcpy
990 #define RtlFillMemory(d,l,f) memset((d), (f), (l))
991 #define RtlZeroMemory(d,l) RtlFillMemory((d),(l),0)
992 #define MoveMemory RtlMoveMemory
993 #define CopyMemory RtlCopyMemory
994 #define FillMemory RtlFillMemory
995 #define ZeroMemory RtlZeroMemory
996 BOOL WINAPI CopySid(DWORD,PSID,PSID);
997 BOOL WINAPI CreateDirectoryA(LPCSTR,LPSECURITY_ATTRIBUTES);
998 BOOL WINAPI CreateDirectoryW(LPCWSTR,LPSECURITY_ATTRIBUTES);
999 BOOL WINAPI CreateDirectoryExA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES);
1000 BOOL WINAPI CreateDirectoryExW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES);
1001 HANDLE WINAPI CreateEventA(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCSTR);
1002 HANDLE WINAPI CreateEventW(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCWSTR);
1003 LPVOID WINAPI CreateFiber(DWORD,LPFIBER_START_ROUTINE,LPVOID);
1004 HANDLE WINAPI CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE);
1005 HANDLE WINAPI CreateFileW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE);
1006 HANDLE WINAPI CreateFileMappingA(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCSTR);
1007 HANDLE WINAPI CreateFileMappingW(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCWSTR);
1008 HANDLE WINAPI CreateHardLinkA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES);
1009 HANDLE WINAPI CreateHardLinkW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES);
1010 HANDLE WINAPI CreateIoCompletionPort(HANDLE,HANDLE,DWORD,DWORD);
1011 HANDLE WINAPI CreateMailslotA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
1012 HANDLE WINAPI CreateMailslotW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
1013 HANDLE WINAPI CreateMutexA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR);
1014 HANDLE WINAPI CreateMutexW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR);
1015 HANDLE WINAPI CreateNamedPipeA(LPCSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
1016 HANDLE WINAPI CreateNamedPipeW(LPCWSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
1017 BOOL WINAPI CreatePipe(PHANDLE,PHANDLE,LPSECURITY_ATTRIBUTES,DWORD);
1018 BOOL WINAPI CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,BOOL,HANDLE,PGENERIC_MAPPING);
1019 BOOL WINAPI CreateProcessA(LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION);
1020 BOOL WINAPI CreateProcessW(LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION);
1021 BOOL WINAPI CreateProcessAsUserA(HANDLE,LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION);
1022 BOOL WINAPI CreateProcessAsUserW(HANDLE,LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION);
1023 HANDLE WINAPI CreateRemoteThread(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD);
1024 HANDLE WINAPI CreateSemaphoreA(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCSTR);
1025 HANDLE WINAPI CreateSemaphoreW(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCWSTR);
1026 DWORD WINAPI CreateTapePartition(HANDLE,DWORD,DWORD,DWORD);
1027 HANDLE WINAPI CreateThread(LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,PVOID,DWORD,PDWORD);
1028 HANDLE WINAPI CreateWaitableTimerA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR);
1029 HANDLE WINAPI CreateWaitableTimerW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR);
1030 BOOL WINAPI DebugActiveProcess(DWORD);
1031 void WINAPI DebugBreak(void);
1032 BOOL WINAPI DefineDosDeviceA(DWORD,LPCSTR,LPCSTR);
1033 BOOL WINAPI DefineDosDeviceW(DWORD,LPCWSTR,LPCWSTR);
1034 #define DefineHandleTable(w) ((w),TRUE)
1035 BOOL WINAPI DeleteAce(PACL,DWORD);
1036 ATOM WINAPI DeleteAtom(ATOM);
1037 void WINAPI DeleteCriticalSection(PCRITICAL_SECTION);
1038 void WINAPI DeleteFiber(PVOID);
1039 BOOL WINAPI DeleteFileA(LPCSTR);
1040 BOOL WINAPI DeleteFileW(LPCWSTR);
1041 BOOL WINAPI DeregisterEventSource(HANDLE);
1042 BOOL WINAPI DestroyPrivateObjectSecurity(PSECURITY_DESCRIPTOR*);
1043 BOOL WINAPI DeviceIoControl(HANDLE,DWORD,PVOID,DWORD,PVOID,DWORD,PDWORD,POVERLAPPED);
1044 BOOL WINAPI DisableThreadLibraryCalls(HMODULE);
1045 BOOL WINAPI DisconnectNamedPipe(HANDLE);
1046 BOOL WINAPI DosDateTimeToFileTime(WORD,WORD,LPFILETIME);
1047 BOOL WINAPI DuplicateHandle(HANDLE,HANDLE,HANDLE,PHANDLE,DWORD,BOOL,DWORD);
1048 BOOL WINAPI DuplicateToken(HANDLE,SECURITY_IMPERSONATION_LEVEL,PHANDLE);
1049 BOOL WINAPI DuplicateTokenEx(HANDLE,DWORD,LPSECURITY_ATTRIBUTES,SECURITY_IMPERSONATION_LEVEL,TOKEN_TYPE,PHANDLE);
1050 BOOL WINAPI EndUpdateResourceA(HANDLE,BOOL);
1051 BOOL WINAPI EndUpdateResourceW(HANDLE,BOOL);
1052 void WINAPI EnterCriticalSection(LPCRITICAL_SECTION);
1053 BOOL WINAPI EnumResourceLanguagesA(HINSTANCE,LPCSTR,LPCSTR,ENUMRESLANGPROC,LONG);
1054 BOOL WINAPI EnumResourceLanguagesW(HINSTANCE,LPCWSTR,LPCWSTR,ENUMRESLANGPROC,LONG);
1055 BOOL WINAPI EnumResourceNamesA(HINSTANCE,LPCSTR,ENUMRESNAMEPROC,LONG);
1056 BOOL WINAPI EnumResourceNamesW(HINSTANCE,LPCWSTR,ENUMRESNAMEPROC,LONG);
1057 BOOL WINAPI EnumResourceTypesA(HINSTANCE,ENUMRESTYPEPROC,LONG);
1058 BOOL WINAPI EnumResourceTypesW(HINSTANCE,ENUMRESTYPEPROC,LONG);
1059 BOOL WINAPI EqualPrefixSid(PSID,PSID);
1060 BOOL WINAPI EqualSid(PSID,PSID);
1061 DWORD WINAPI EraseTape(HANDLE,DWORD,BOOL);
1062 BOOL WINAPI EscapeCommFunction(HANDLE,DWORD);
1063 DECLSPEC_NORETURN void WINAPI ExitProcess(UINT);
1064 DECLSPEC_NORETURN void WINAPI ExitThread(DWORD);
1065 DWORD WINAPI ExpandEnvironmentStringsA(LPCSTR,LPSTR,DWORD);
1066 DWORD WINAPI ExpandEnvironmentStringsW(LPCWSTR,LPWSTR,DWORD);
1067 void WINAPI FatalAppExitA(UINT,LPCSTR);
1068 void WINAPI FatalAppExitW(UINT,LPCWSTR);
1069 void WINAPI FatalExit(int);
1070 BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,LPWORD,LPWORD);
1071 BOOL WINAPI FileTimeToLocalFileTime(FILETIME *,LPFILETIME);
1072 BOOL WINAPI FileTimeToSystemTime(CONST FILETIME *,LPSYSTEMTIME);
1073 ATOM WINAPI FindAtomA(LPCSTR);
1074 ATOM WINAPI FindAtomW(LPCWSTR);
1075 BOOL WINAPI FindClose(HANDLE);
1076 BOOL WINAPI FindCloseChangeNotification(HANDLE);
1077 HANDLE WINAPI FindFirstChangeNotificationA(LPCSTR,BOOL,DWORD);
1078 HANDLE WINAPI FindFirstChangeNotificationW(LPCWSTR,BOOL,DWORD);
1079 HANDLE WINAPI FindFirstFileA(LPCSTR,LPWIN32_FIND_DATAA);
1080 HANDLE WINAPI FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW);
1081 HANDLE WINAPI FindFirstFileExA(LPCSTR,FINDEX_INFO_LEVELS,PVOID,FINDEX_SEARCH_OPS,PVOID,DWORD);
1082 HANDLE WINAPI FindFirstFileExW(LPCWSTR,FINDEX_INFO_LEVELS,PVOID,FINDEX_SEARCH_OPS,PVOID,DWORD);
1083 BOOL WINAPI FindFirstFreeAce(PACL,PVOID*);
1084 BOOL WINAPI FindNextChangeNotification(HANDLE);
1085 BOOL WINAPI FindNextFileA(HANDLE,LPWIN32_FIND_DATAA);
1086 BOOL WINAPI FindNextFileW(HANDLE,LPWIN32_FIND_DATAW);
1087 HRSRC WINAPI FindResourceA(HMODULE,LPCSTR,LPCSTR);
1088 HRSRC WINAPI FindResourceW(HINSTANCE,LPCWSTR,LPCWSTR);
1089 HRSRC WINAPI FindResourceExA(HINSTANCE,LPCSTR,LPCSTR,WORD);
1090 HRSRC WINAPI FindResourceExW(HINSTANCE,LPCWSTR,LPCWSTR,WORD);
1091 BOOL WINAPI FlushFileBuffers(HANDLE);
1092 BOOL WINAPI FlushInstructionCache(HANDLE,PCVOID,DWORD);
1093 BOOL WINAPI FlushViewOfFile(PCVOID,DWORD);
1094 DWORD WINAPI FormatMessageA(DWORD,PCVOID,DWORD,DWORD,LPSTR,DWORD,va_list*);
1095 DWORD WINAPI FormatMessageW(DWORD,PCVOID,DWORD,DWORD,LPWSTR,DWORD,va_list*);
1096 BOOL WINAPI FreeEnvironmentStringsA(LPSTR);
1097 BOOL WINAPI FreeEnvironmentStringsW(LPWSTR);
1098 BOOL WINAPI FreeLibrary(HMODULE);
1099 DECLSPEC_NORETURN void WINAPI FreeLibraryAndExitThread(HMODULE,DWORD);
1100 #define FreeModule(m) FreeLibrary(m)
1101 #define FreeProcInstance(p) (void)(p)
1102 #ifndef XFree86Server
1103 BOOL WINAPI FreeResource(HGLOBAL);
1104 #endif /* ndef XFree86Server */
1105 PVOID WINAPI FreeSid(PSID);
1106 BOOL WINAPI GetAce(PACL,DWORD,PVOID);
1107 BOOL WINAPI GetAclInformation(PACL,PVOID,DWORD,ACL_INFORMATION_CLASS);
1108 UINT WINAPI GetAtomNameA(ATOM,LPSTR,int);
1109 UINT WINAPI GetAtomNameW(ATOM,LPWSTR,int);
1110 BOOL WINAPI GetBinaryTypeA(LPCSTR,PDWORD);
1111 BOOL WINAPI GetBinaryTypeW(LPCWSTR,PDWORD);
1112 LPSTR WINAPI GetCommandLineA(VOID);
1113 LPWSTR WINAPI GetCommandLineW(VOID);
1114 BOOL WINAPI GetCommConfig(HANDLE,LPCOMMCONFIG,PDWORD);
1115 BOOL WINAPI GetCommMask(HANDLE,PDWORD);
1116 BOOL WINAPI GetCommModemStatus(HANDLE,PDWORD);
1117 BOOL WINAPI GetCommProperties(HANDLE,LPCOMMPROP);
1118 BOOL WINAPI GetCommState(HANDLE,LPDCB);
1119 BOOL WINAPI GetCommTimeouts(HANDLE,LPCOMMTIMEOUTS);
1120 DWORD WINAPI GetCompressedFileSizeA(LPCSTR,PDWORD);
1121 DWORD WINAPI GetCompressedFileSizeW(LPCWSTR,PDWORD);
1122 BOOL WINAPI GetComputerNameA(LPSTR,PDWORD);
1123 BOOL WINAPI GetComputerNameW(LPWSTR,PDWORD);
1124 DWORD WINAPI GetCurrentDirectoryA(DWORD,LPSTR);
1125 DWORD WINAPI GetCurrentDirectoryW(DWORD,LPWSTR);
1126 BOOL WINAPI GetCurrentHwProfileA(LPHW_PROFILE_INFOA);
1127 BOOL WINAPI GetCurrentHwProfileW(LPHW_PROFILE_INFOW);
1128 HANDLE WINAPI GetCurrentProcess(void);
1129 DWORD WINAPI GetCurrentProcessId(void);
1130 HANDLE WINAPI GetCurrentThread(void);
1131 DWORD WINAPI GetCurrentThreadId(void);
1132 #define GetCurrentTime GetTickCount
1133 BOOL WINAPI GetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,PDWORD);
1134 BOOL WINAPI GetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,PDWORD);
1135 BOOL WINAPI GetDiskFreeSpaceA(LPCSTR,PDWORD,PDWORD,PDWORD,PDWORD);
1136 BOOL WINAPI GetDiskFreeSpaceW(LPCWSTR,PDWORD,PDWORD,PDWORD,PDWORD);
1137 BOOL WINAPI GetDiskFreeSpaceExA(LPCSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER);
1138 BOOL WINAPI GetDiskFreeSpaceExW(LPCWSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER);
1139 UINT WINAPI GetDriveTypeA(LPCSTR);
1140 UINT WINAPI GetDriveTypeW(LPCWSTR);
1141 LPSTR WINAPI GetEnvironmentStrings(void);
1142 LPSTR WINAPI GetEnvironmentStringsA(void);
1143 LPWSTR WINAPI GetEnvironmentStringsW(void);
1144 DWORD WINAPI GetEnvironmentVariableA(LPCSTR,LPSTR,DWORD);
1145 DWORD WINAPI GetEnvironmentVariableW(LPCWSTR,LPWSTR,DWORD);
1146 BOOL WINAPI GetExitCodeProcess(HANDLE,PDWORD);
1147 BOOL WINAPI GetExitCodeThread(HANDLE,PDWORD);
1148 DWORD WINAPI GetFileAttributesA(LPCSTR);
1149 DWORD WINAPI GetFileAttributesW(LPCWSTR);
1150 BOOL WINAPI GetFileAttributesExA(LPCSTR,GET_FILEEX_INFO_LEVELS,PVOID);
1151 BOOL WINAPI GetFileAttributesExW(LPCWSTR,GET_FILEEX_INFO_LEVELS,PVOID);
1152 BOOL WINAPI GetFileInformationByHandle(HANDLE,LPBY_HANDLE_FILE_INFORMATION);
1153 BOOL WINAPI GetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD);
1154 BOOL WINAPI GetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD);
1155 DWORD WINAPI GetFileSize(HANDLE,PDWORD);
1156 BOOL WINAPI GetFileTime(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME);
1157 DWORD WINAPI GetFileType(HANDLE);
1158 #define GetFreeSpace(w) (0x100000L)
1159 DWORD WINAPI GetFullPathNameA(LPCSTR,DWORD,LPSTR,LPSTR*);
1160 DWORD WINAPI GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR*);
1161 BOOL WINAPI GetHandleInformation(HANDLE,PDWORD);
1162 BOOL WINAPI GetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD);
1163 DWORD WINAPI GetLengthSid(PSID);
1164 void WINAPI GetLocalTime(LPSYSTEMTIME);
1165 DWORD WINAPI GetLogicalDrives(void);
1166 DWORD WINAPI GetLogicalDriveStringsA(DWORD,LPSTR);
1167 DWORD WINAPI GetLogicalDriveStringsW(DWORD,LPWSTR);
1168 DWORD WINAPI GetLongPathNameA(LPCSTR,LPSTR,DWORD);
1169 DWORD WINAPI GetLongPathNameW(LPCWSTR,LPWSTR,DWORD);
1170 BOOL WINAPI GetMailslotInfo(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD);
1171 DWORD WINAPI GetModuleFileNameA(HINSTANCE,LPSTR,DWORD);
1172 DWORD WINAPI GetModuleFileNameW(HINSTANCE,LPWSTR,DWORD);
1173 HMODULE WINAPI GetModuleHandleA(LPCSTR);
1174 HMODULE WINAPI GetModuleHandleW(LPCWSTR);
1175 BOOL WINAPI GetNamedPipeHandleStateA(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD,LPSTR,DWORD);
1176 BOOL WINAPI GetNamedPipeHandleStateW(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD,LPWSTR,DWORD);
1177 BOOL WINAPI GetNamedPipeInfo(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD);
1178 BOOL WINAPI GetNumberOfEventLogRecords(HANDLE,PDWORD);
1179 BOOL WINAPI GetOldestEventLogRecord(HANDLE,PDWORD);
1180 BOOL WINAPI GetOverlappedResult(HANDLE,LPOVERLAPPED,PDWORD,BOOL);
1181 DWORD WINAPI GetPriorityClass(HANDLE);
1182 BOOL WINAPI GetPrivateObjectSecurity(PSECURITY_DESCRIPTOR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD);
1183 UINT WINAPI GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR);
1184 UINT WINAPI GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR);
1185 DWORD WINAPI GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR);
1186 DWORD WINAPI GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR);
1187 DWORD WINAPI GetPrivateProfileSectionNamesA(LPSTR,DWORD,LPCSTR);
1188 DWORD WINAPI GetPrivateProfileSectionNamesW(LPWSTR,DWORD,LPCWSTR);
1189 DWORD WINAPI GetPrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,DWORD,LPCSTR);
1190 DWORD WINAPI GetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,DWORD,LPCWSTR);
1191 BOOL WINAPI GetPrivateProfileStructA(LPCSTR,LPCSTR,PVOID,UINT,LPCSTR);
1192 BOOL WINAPI GetPrivateProfileStructW(LPCWSTR,LPCWSTR,PVOID,UINT,LPCWSTR);
1193 FARPROC WINAPI GetProcAddress(HINSTANCE,LPCSTR);
1194 BOOL WINAPI GetProcessAffinityMask(HANDLE,PDWORD,PDWORD);
1195 HANDLE WINAPI GetProcessHeap(VOID);
1196 DWORD WINAPI GetProcessHeaps(DWORD,PHANDLE);
1197 BOOL WINAPI GetProcessPriorityBoost(HANDLE,PBOOL);
1198 BOOL WINAPI GetProcessShutdownParameters(PDWORD,PDWORD);
1199 BOOL WINAPI GetProcessTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME);
1200 DWORD WINAPI GetProcessVersion(DWORD);
1201 HWINSTA WINAPI GetProcessWindowStation(void);
1202 BOOL WINAPI GetProcessWorkingSetSize(HANDLE,PDWORD,PDWORD);
1203 UINT WINAPI GetProfileIntA(LPCSTR,LPCSTR,INT);
1204 UINT WINAPI GetProfileIntW(LPCWSTR,LPCWSTR,INT);
1205 DWORD WINAPI GetProfileSectionA(LPCSTR,LPSTR,DWORD);
1206 DWORD WINAPI GetProfileSectionW(LPCWSTR,LPWSTR,DWORD);
1207 DWORD WINAPI GetProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,DWORD);
1208 DWORD WINAPI GetProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,DWORD);
1209 BOOL WINAPI GetQueuedCompletionStatus(HANDLE,PDWORD,PDWORD,LPOVERLAPPED*,DWORD);
1210 BOOL WINAPI GetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR_CONTROL,PDWORD);
1211 BOOL WINAPI GetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL*,LPBOOL);
1212 BOOL WINAPI GetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID*,LPBOOL);
1213 DWORD WINAPI GetSecurityDescriptorLength(PSECURITY_DESCRIPTOR);
1214 BOOL WINAPI GetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID*,LPBOOL);
1215 BOOL WINAPI GetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL*,LPBOOL);
1216 DWORD WINAPI GetShortPathNameA(LPCSTR,LPSTR,DWORD);
1217 DWORD WINAPI GetShortPathNameW(LPCWSTR,LPWSTR,DWORD);
1218 PSID_IDENTIFIER_AUTHORITY WINAPI GetSidIdentifierAuthority(PSID);
1219 DWORD WINAPI GetSidLengthRequired(UCHAR);
1220 PDWORD WINAPI GetSidSubAuthority(PSID,DWORD);
1221 PUCHAR WINAPI GetSidSubAuthorityCount(PSID);
1222 VOID WINAPI GetStartupInfoA(LPSTARTUPINFOA);
1223 VOID WINAPI GetStartupInfoW(LPSTARTUPINFOW);
1224 HANDLE WINAPI GetStdHandle(DWORD);
1225 UINT WINAPI GetSystemDirectoryA(LPSTR,UINT);
1226 UINT WINAPI GetSystemDirectoryW(LPWSTR,UINT);
1227 VOID WINAPI GetSystemInfo(LPSYSTEM_INFO);
1228 BOOL WINAPI GetSystemPowerStatus(LPSYSTEM_POWER_STATUS);
1229 VOID WINAPI GetSystemTime(LPSYSTEMTIME);
1230 BOOL WINAPI GetSystemTimeAdjustment(PDWORD,PDWORD,PBOOL);
1231 void WINAPI GetSystemTimeAsFileTime(LPFILETIME);
1232 DWORD WINAPI GetTapeParameters(HANDLE,DWORD,PDWORD,PVOID);
1233 DWORD WINAPI GetTapePosition(HANDLE,DWORD,PDWORD,PDWORD,PDWORD);
1234 DWORD WINAPI GetTapeStatus(HANDLE);
1235 UINT WINAPI GetTempFileNameA(LPCSTR,LPCSTR,UINT,LPSTR);
1236 UINT WINAPI GetTempFileNameW(LPCWSTR,LPCWSTR,UINT,LPWSTR);
1237 DWORD WINAPI GetTempPathA(DWORD,LPSTR);
1238 DWORD WINAPI GetTempPathW(DWORD,LPWSTR);
1239 BOOL WINAPI GetThreadContext(HANDLE,LPCONTEXT);
1240 int WINAPI GetThreadPriority(HANDLE);
1241 BOOL WINAPI GetThreadPriorityBoost(HANDLE,PBOOL);
1242 BOOL WINAPI GetThreadSelectorEntry(HANDLE,DWORD,LPLDT_ENTRY);
1243 BOOL WINAPI GetThreadTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME);
1244 DWORD WINAPI GetTickCount(void);
1245 DWORD WINAPI GetTimeZoneInformation(LPTIME_ZONE_INFORMATION);
1246 BOOL WINAPI GetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,PVOID,DWORD,PDWORD);
1247 BOOL WINAPI GetUserNameA (LPSTR,PDWORD);
1248 BOOL WINAPI GetUserNameW(LPWSTR,PDWORD);
1249 DWORD WINAPI GetVersion(void);
1250 BOOL WINAPI GetVersionExA(LPOSVERSIONINFOA);
1251 BOOL WINAPI GetVersionExW(LPOSVERSIONINFOW);
1252 BOOL WINAPI GetVolumeInformationA(LPCSTR,LPSTR,DWORD,PDWORD,PDWORD,PDWORD,LPSTR,DWORD);
1253 BOOL WINAPI GetVolumeInformationW(LPCWSTR,LPWSTR,DWORD,PDWORD,PDWORD,PDWORD,LPWSTR,DWORD);
1254 UINT WINAPI GetWindowsDirectoryA(LPSTR,UINT);
1255 UINT WINAPI GetWindowsDirectoryW(LPWSTR,UINT);
1256 DWORD WINAPI GetWindowThreadProcessId(HWND,PDWORD);
1257 ATOM WINAPI GlobalAddAtomA(LPCSTR);
1258 ATOM WINAPI GlobalAddAtomW( LPCWSTR);
1259 HGLOBAL WINAPI GlobalAlloc(UINT,DWORD);
1260 UINT WINAPI GlobalCompact(DWORD);
1261 ATOM WINAPI GlobalDeleteAtom(ATOM);
1262 HGLOBAL GlobalDiscard(HGLOBAL);
1263 ATOM WINAPI GlobalFindAtomA(LPCSTR);
1264 ATOM WINAPI GlobalFindAtomW(LPCWSTR);
1265 VOID WINAPI GlobalFix(HGLOBAL);
1266 UINT WINAPI GlobalFlags(HGLOBAL);
1267 HGLOBAL WINAPI GlobalFree(HGLOBAL);
1268 UINT WINAPI GlobalGetAtomNameA(ATOM,LPSTR,int);
1269 UINT WINAPI GlobalGetAtomNameW(ATOM,LPWSTR,int);
1270 HGLOBAL WINAPI GlobalHandle(PCVOID);
1271 LPVOID WINAPI GlobalLock(HGLOBAL);
1272 VOID WINAPI GlobalMemoryStatus(LPMEMORYSTATUS);
1273 HGLOBAL WINAPI GlobalReAlloc(HGLOBAL,DWORD,UINT);
1274 DWORD WINAPI GlobalSize(HGLOBAL);
1275 VOID WINAPI GlobalUnfix(HGLOBAL);
1276 BOOL WINAPI GlobalUnlock(HGLOBAL);
1277 BOOL WINAPI GlobalUnWire(HGLOBAL);
1278 PVOID WINAPI GlobalWire(HGLOBAL);
1279 #define HasOverlappedIoCompleted(lpOverlapped) ((lpOverlapped)->Internal != STATUS_PENDING)
1280 PVOID WINAPI HeapAlloc(HANDLE,DWORD,DWORD);
1281 UINT WINAPI HeapCompact(HANDLE,DWORD);
1282 HANDLE WINAPI HeapCreate(DWORD,DWORD,DWORD);
1283 BOOL WINAPI HeapDestroy(HANDLE);
1284 BOOL WINAPI HeapFree(HANDLE,DWORD,PVOID);
1285 BOOL WINAPI HeapLock(HANDLE);
1286 PVOID WINAPI HeapReAlloc(HANDLE,DWORD,PVOID,DWORD);
1287 DWORD WINAPI HeapSize(HANDLE,DWORD,PCVOID);
1288 BOOL WINAPI HeapUnlock(HANDLE);
1289 BOOL WINAPI HeapValidate(HANDLE,DWORD,PCVOID);
1290 BOOL WINAPI HeapWalk(HANDLE,LPPROCESS_HEAP_ENTRY);
1291 BOOL WINAPI ImpersonateLoggedOnUser(HANDLE);
1292 BOOL WINAPI ImpersonateNamedPipeClient(HANDLE);
1293 BOOL WINAPI ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL);
1294 BOOL WINAPI InitAtomTable(DWORD);
1295 BOOL WINAPI InitializeAcl(PACL,DWORD,DWORD);
1296 VOID WINAPI InitializeCriticalSection(LPCRITICAL_SECTION);
1297 #if (_WIN32_WINNT >= 0x0403) /* Needs NT4, SP3 or later. */
1298 BOOL WINAPI InitializeCriticalSectionAndSpinCount(LPCRITICAL_SECTION,DWORD);
1299 DWORD WINAPI SetCriticalSectionSpinCount(LPCRITICAL_SECTION,DWORD);
1300 #endif
1301 BOOL WINAPI InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR,DWORD);
1302 BOOL WINAPI InitializeSid (PSID,PSID_IDENTIFIER_AUTHORITY,BYTE);
1303 LONG WINAPI InterlockedCompareExchange(LPLONG,LONG,LONG);
1304 /* PVOID WINAPI InterlockedCompareExchangePointer(PVOID*,PVOID,PVOID); */
1305 #define InterlockedCompareExchangePointer(d,e,c) \
1306 (PVOID)InterlockedCompareExchange((LPLONG)(d),(LONG)(e),(LONG)(c))
1307 LONG WINAPI InterlockedDecrement(LPLONG);
1308 LONG WINAPI InterlockedExchange(LPLONG,LONG);
1309 /* PVOID WINAPI InterlockedExchangePointer(PVOID*,PVOID); */
1310 #define InterlockedExchangePointer(t,v) \
1311 (PVOID)InterlockedExchange((LPLONG)(t),(LONG)(v))
1312 LONG WINAPI InterlockedExchangeAdd(PLONG,LONG);
1313 LONG WINAPI InterlockedIncrement(LPLONG);
1314 BOOL WINAPI IsBadCodePtr(FARPROC);
1315 BOOL WINAPI IsBadHugeReadPtr(PCVOID,UINT);
1316 BOOL WINAPI IsBadHugeWritePtr(PVOID,UINT);
1317 BOOL WINAPI IsBadReadPtr(PCVOID,UINT);
1318 BOOL WINAPI IsBadStringPtrA(LPCSTR,UINT);
1319 BOOL WINAPI IsBadStringPtrW(LPCWSTR,UINT);
1320 BOOL WINAPI IsBadWritePtr(PVOID,UINT);
1321 BOOL WINAPI IsDebuggerPresent(void);
1322 BOOL WINAPI IsProcessorFeaturePresent(DWORD);
1323 BOOL WINAPI IsTextUnicode(PCVOID,int,LPINT);
1324 BOOL WINAPI IsValidAcl(PACL);
1325 BOOL WINAPI IsValidSecurityDescriptor(PSECURITY_DESCRIPTOR);
1326 BOOL WINAPI IsValidSid(PSID);
1327 void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION);
1328 #define LimitEmsPages(n)
1329 HINSTANCE WINAPI LoadLibraryA(LPCSTR);
1330 HINSTANCE WINAPI LoadLibraryExA(LPCSTR,HANDLE,DWORD);
1331 HINSTANCE WINAPI LoadLibraryExW(LPCWSTR,HANDLE,DWORD);
1332 HINSTANCE WINAPI LoadLibraryW(LPCWSTR);
1333 DWORD WINAPI LoadModule(LPCSTR,PVOID);
1334 HGLOBAL WINAPI LoadResource(HINSTANCE,HRSRC);
1335 HLOCAL WINAPI LocalAlloc(UINT,UINT);
1336 UINT WINAPI LocalCompact(UINT);
1337 HLOCAL LocalDiscard(HLOCAL);
1338 BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *,LPFILETIME);
1339 UINT WINAPI LocalFlags(HLOCAL);
1340 HLOCAL WINAPI LocalFree(HLOCAL);
1341 HLOCAL WINAPI LocalHandle(LPCVOID);
1342 PVOID WINAPI LocalLock(HLOCAL);
1343 HLOCAL WINAPI LocalReAlloc(HLOCAL,UINT,UINT);
1344 UINT WINAPI LocalShrink(HLOCAL,UINT);
1345 UINT WINAPI LocalSize(HLOCAL);
1346 BOOL WINAPI LocalUnlock(HLOCAL);
1347 BOOL WINAPI LockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
1348 BOOL WINAPI LockFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,LPOVERLAPPED);
1349 PVOID WINAPI LockResource(HGLOBAL);
1350 #define LockSegment(w) GlobalFix((HANDLE)(w))
1351 BOOL WINAPI LogonUserA(LPSTR,LPSTR,LPSTR,DWORD,DWORD,PHANDLE);
1352 BOOL WINAPI LogonUserW(LPWSTR,LPWSTR,LPWSTR,DWORD,DWORD,PHANDLE);
1353 BOOL WINAPI LookupAccountNameA(LPCSTR,LPCSTR,PSID,PDWORD,LPSTR,PDWORD,PSID_NAME_USE);
1354 BOOL WINAPI LookupAccountNameW(LPCWSTR,LPCWSTR,PSID,PDWORD,LPWSTR,PDWORD,PSID_NAME_USE);
1355 BOOL WINAPI LookupAccountSidA(LPCSTR,PSID,LPSTR,PDWORD,LPSTR,PDWORD,PSID_NAME_USE);
1356 BOOL WINAPI LookupAccountSidW(LPCWSTR,PSID,LPWSTR,PDWORD,LPWSTR,PDWORD,PSID_NAME_USE);
1357 BOOL WINAPI LookupPrivilegeDisplayNameA(LPCSTR,LPCSTR,LPSTR,PDWORD,PDWORD);
1358 BOOL WINAPI LookupPrivilegeDisplayNameW(LPCWSTR,LPCWSTR,LPWSTR,PDWORD,PDWORD);
1359 BOOL WINAPI LookupPrivilegeNameA(LPCSTR,PLUID,LPSTR,PDWORD);
1360 BOOL WINAPI LookupPrivilegeNameW(LPCWSTR,PLUID,LPWSTR,PDWORD);
1361 BOOL WINAPI LookupPrivilegeValueA(LPCSTR,LPCSTR,PLUID);
1362 BOOL WINAPI LookupPrivilegeValueW(LPCWSTR,LPCWSTR,PLUID);
1363 LPSTR WINAPI lstrcatA(LPSTR,LPCSTR);
1364 LPWSTR WINAPI lstrcatW(LPWSTR,LPCWSTR);
1365 int WINAPI lstrcmpA(LPCSTR,LPCSTR);
1366 int WINAPI lstrcmpiA(LPCSTR,LPCSTR);
1367 int WINAPI lstrcmpiW( LPCWSTR,LPCWSTR);
1368 int WINAPI lstrcmpW(LPCWSTR,LPCWSTR);
1369 LPSTR WINAPI lstrcpyA(LPSTR,LPCSTR);
1370 LPSTR WINAPI lstrcpynA(LPSTR,LPCSTR,int);
1371 LPWSTR WINAPI lstrcpynW(LPWSTR,LPCWSTR,int);
1372 LPWSTR WINAPI lstrcpyW(LPWSTR,LPCWSTR);
1373 int WINAPI lstrlenA(LPCSTR);
1374 int WINAPI lstrlenW(LPCWSTR);
1375 BOOL WINAPI MakeAbsoluteSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PDWORD,PACL,PDWORD,PACL,PDWORD,PSID,PDWORD,PSID,PDWORD);
1376 #define MakeProcInstance(p,i) (p)
1377 BOOL WINAPI MakeSelfRelativeSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PDWORD);
1378 VOID WINAPI MapGenericMask(PDWORD,PGENERIC_MAPPING);
1379 PVOID WINAPI MapViewOfFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
1380 PVOID WINAPI MapViewOfFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,PVOID);
1381 BOOL WINAPI MoveFileA(LPCSTR,LPCSTR);
1382 BOOL WINAPI MoveFileExA(LPCSTR,LPCSTR,DWORD);
1383 BOOL WINAPI MoveFileExW(LPCWSTR,LPCWSTR,DWORD);
1384 BOOL WINAPI MoveFileW(LPCWSTR,LPCWSTR);
1385 int WINAPI MulDiv(int,int,int);
1386 BOOL WINAPI NotifyChangeEventLog(HANDLE,HANDLE);
1387 BOOL WINAPI ObjectCloseAuditAlarmA(LPCSTR,PVOID,BOOL);
1388 BOOL WINAPI ObjectCloseAuditAlarmW(LPCWSTR,PVOID,BOOL);
1389 BOOL WINAPI ObjectDeleteAuditAlarmA(LPCSTR,PVOID,BOOL);
1390 BOOL WINAPI ObjectDeleteAuditAlarmW(LPCWSTR,PVOID,BOOL);
1391 BOOL WINAPI ObjectOpenAuditAlarmA(LPCSTR,PVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,HANDLE,DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,PBOOL);
1392 BOOL WINAPI ObjectOpenAuditAlarmW(LPCWSTR,PVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,HANDLE,DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,PBOOL);
1393 BOOL WINAPI ObjectPrivilegeAuditAlarmA(LPCSTR,PVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL);
1394 BOOL WINAPI ObjectPrivilegeAuditAlarmW(LPCWSTR,PVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL);
1395 HANDLE WINAPI OpenBackupEventLogA(LPCSTR,LPCSTR);
1396 HANDLE WINAPI OpenBackupEventLogW(LPCWSTR,LPCWSTR);
1397 HANDLE WINAPI OpenEventA(DWORD,BOOL,LPCSTR);
1398 HANDLE WINAPI OpenEventLogA (LPCSTR,LPCSTR);
1399 HANDLE WINAPI OpenEventLogW(LPCWSTR,LPCWSTR);
1400 HANDLE WINAPI OpenEventW(DWORD,BOOL,LPCWSTR);
1401 HFILE WINAPI OpenFile(LPCSTR,LPOFSTRUCT,UINT);
1402 HANDLE WINAPI OpenFileMappingA(DWORD,BOOL,LPCSTR);
1403 HANDLE WINAPI OpenFileMappingW(DWORD,BOOL,LPCWSTR);
1404 HANDLE WINAPI OpenMutexA(DWORD,BOOL,LPCSTR);
1405 HANDLE WINAPI OpenMutexW(DWORD,BOOL,LPCWSTR);
1406 HANDLE WINAPI OpenProcess(DWORD,BOOL,DWORD);
1407 BOOL WINAPI OpenProcessToken(HANDLE,DWORD,PHANDLE);
1408 HANDLE WINAPI OpenSemaphoreA(DWORD,BOOL,LPCSTR);
1409 HANDLE WINAPI OpenSemaphoreW(DWORD,BOOL,LPCWSTR);
1410 BOOL WINAPI OpenThreadToken(HANDLE,DWORD,BOOL,PHANDLE);
1411 HANDLE WINAPI OpenWaitableTimerA(DWORD,BOOL,LPCSTR);
1412 HANDLE WINAPI OpenWaitableTimerW(DWORD,BOOL,LPCWSTR);
1413 void WINAPI OutputDebugStringA(LPCSTR);
1414 void WINAPI OutputDebugStringW(LPCWSTR);
1415 BOOL WINAPI PeekNamedPipe(HANDLE,PVOID,DWORD,PDWORD,PDWORD,PDWORD);
1416 BOOL WINAPI PostQueuedCompletionStatus(HANDLE,DWORD,DWORD,LPOVERLAPPED);
1417 DWORD WINAPI PrepareTape(HANDLE,DWORD,BOOL);
1418 BOOL WINAPI PrivilegeCheck (HANDLE,PPRIVILEGE_SET,PBOOL);
1419 BOOL WINAPI PrivilegedServiceAuditAlarmA(LPCSTR,LPCSTR,HANDLE,PPRIVILEGE_SET,BOOL);
1420 BOOL WINAPI PrivilegedServiceAuditAlarmW(LPCWSTR,LPCWSTR,HANDLE,PPRIVILEGE_SET,BOOL);
1421 BOOL WINAPI PulseEvent(HANDLE);
1422 BOOL WINAPI PurgeComm(HANDLE,DWORD);
1423 DWORD WINAPI QueryDosDeviceA(LPCSTR,LPSTR,DWORD);
1424 DWORD WINAPI QueryDosDeviceW(LPCWSTR,LPWSTR,DWORD);
1425 BOOL WINAPI QueryPerformanceCounter(PLARGE_INTEGER);
1426 BOOL WINAPI QueryPerformanceFrequency(PLARGE_INTEGER);
1427 DWORD WINAPI QueueUserAPC(PAPCFUNC,HANDLE,DWORD);
1428 void WINAPI RaiseException(DWORD,DWORD,DWORD,const DWORD*);
1429 BOOL WINAPI ReadDirectoryChangesW(HANDLE,PVOID,DWORD,BOOL,DWORD,PDWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE);
1430 BOOL WINAPI ReadEventLogA(HANDLE,DWORD,DWORD,PVOID,DWORD,DWORD *,DWORD *);
1431 BOOL WINAPI ReadEventLogW(HANDLE,DWORD,DWORD,PVOID,DWORD,DWORD *,DWORD *);
1432 BOOL WINAPI ReadFile(HANDLE,PVOID,DWORD,PDWORD,LPOVERLAPPED);
1433 BOOL WINAPI ReadFileEx(HANDLE,PVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE);
1434 BOOL WINAPI ReadProcessMemory(HANDLE,PCVOID,PVOID,DWORD,PDWORD);
1435 HANDLE WINAPI RegisterEventSourceA (LPCSTR,LPCSTR);
1436 HANDLE WINAPI RegisterEventSourceW(LPCWSTR,LPCWSTR);
1437 BOOL WINAPI ReleaseMutex(HANDLE);
1438 BOOL WINAPI ReleaseSemaphore(HANDLE,LONG,LPLONG);
1439 BOOL WINAPI RemoveDirectoryA(LPCSTR);
1440 BOOL WINAPI RemoveDirectoryW(LPCWSTR);
1441 BOOL WINAPI ReportEventA(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCSTR*,PVOID);
1442 BOOL WINAPI ReportEventW(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCWSTR*,PVOID);
1443 BOOL WINAPI ResetEvent(HANDLE);
1444 DWORD WINAPI ResumeThread(HANDLE);
1445 BOOL WINAPI RevertToSelf(void);
1446 DWORD WINAPI SearchPathA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPSTR,LPSTR*);
1447 DWORD WINAPI SearchPathW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPWSTR*);
1448 BOOL WINAPI SetAclInformation(PACL,PVOID,DWORD,ACL_INFORMATION_CLASS);
1449 BOOL WINAPI SetCommBreak(HANDLE);
1450 BOOL WINAPI SetCommConfig(HANDLE,LPCOMMCONFIG,DWORD);
1451 BOOL WINAPI SetCommMask(HANDLE,DWORD);
1452 BOOL WINAPI SetCommState(HANDLE,LPDCB);
1453 BOOL WINAPI SetCommTimeouts(HANDLE,LPCOMMTIMEOUTS);
1454 BOOL WINAPI SetComputerNameA(LPCSTR);
1455 BOOL WINAPI SetComputerNameW(LPCWSTR);
1456 BOOL WINAPI SetCurrentDirectoryA(LPCSTR);
1457 BOOL WINAPI SetCurrentDirectoryW(LPCWSTR);
1458 BOOL WINAPI SetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,DWORD);
1459 BOOL WINAPI SetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,DWORD);
1460 BOOL WINAPI SetEndOfFile(HANDLE);
1461 BOOL WINAPI SetEnvironmentVariableA(LPCSTR,LPCSTR);
1462 BOOL WINAPI SetEnvironmentVariableW(LPCWSTR,LPCWSTR);
1463 UINT WINAPI SetErrorMode(UINT);
1464 BOOL WINAPI SetEvent(HANDLE);
1465 VOID WINAPI SetFileApisToANSI(void);
1466 VOID WINAPI SetFileApisToOEM(void);
1467 BOOL WINAPI SetFileAttributesA(LPCSTR,DWORD);
1468 BOOL WINAPI SetFileAttributesW(LPCWSTR,DWORD);
1469 DWORD WINAPI SetFilePointer(HANDLE,LONG,PLONG,DWORD);
1470 BOOL WINAPI SetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
1471 BOOL WINAPI SetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
1472 BOOL WINAPI SetFileTime(HANDLE,const FILETIME*,const FILETIME*,const FILETIME*);
1473 UINT WINAPI SetHandleCount(UINT);
1474 BOOL WINAPI SetHandleInformation(HANDLE,DWORD,DWORD);
1475 BOOL WINAPI SetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
1476 void WINAPI SetLastError(DWORD);
1477 void WINAPI SetLastErrorEx(DWORD,DWORD);
1478 BOOL WINAPI SetLocalTime(const SYSTEMTIME*);
1479 BOOL WINAPI SetMailslotInfo(HANDLE,DWORD);
1480 BOOL WINAPI SetNamedPipeHandleState(HANDLE,PDWORD,PDWORD,PDWORD);
1481 BOOL WINAPI SetPriorityClass(HANDLE,DWORD);
1482 BOOL WINAPI SetPrivateObjectSecurity(SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR *,PGENERIC_MAPPING,HANDLE);
1483 BOOL WINAPI SetProcessAffinityMask(HANDLE,DWORD);
1484 BOOL WINAPI SetProcessPriorityBoost(HANDLE,BOOL);
1485 BOOL WINAPI SetProcessShutdownParameters(DWORD,DWORD);
1486 BOOL WINAPI SetProcessWorkingSetSize(HANDLE,DWORD,DWORD);
1487 BOOL WINAPI SetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,SECURITY_DESCRIPTOR_CONTROL,SECURITY_DESCRIPTOR_CONTROL);
1488 BOOL WINAPI SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL);
1489 BOOL WINAPI SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID,BOOL);
1490 BOOL WINAPI SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID,BOOL);
1491 BOOL WINAPI SetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL);
1492 BOOL WINAPI SetStdHandle(DWORD,HANDLE);
1493 #define SetSwapAreaSize(w) (w)
1494 BOOL WINAPI SetSystemPowerState(BOOL,BOOL);
1495 BOOL WINAPI SetSystemTime(const SYSTEMTIME*);
1496 BOOL WINAPI SetSystemTimeAdjustment(DWORD,BOOL);
1497 DWORD WINAPI SetTapeParameters(HANDLE,DWORD,PVOID);
1498 DWORD WINAPI SetTapePosition(HANDLE,DWORD,DWORD,DWORD,DWORD,BOOL);
1499 DWORD WINAPI SetThreadAffinityMask(HANDLE,DWORD);
1500 BOOL WINAPI SetThreadContext(HANDLE,const CONTEXT*);
1501 DWORD WINAPI SetThreadIdealProcessor(HANDLE,DWORD);
1502 BOOL WINAPI SetThreadPriority(HANDLE,int);
1503 BOOL WINAPI SetThreadPriorityBoost(HANDLE,BOOL);
1504 BOOL WINAPI SetThreadToken (PHANDLE,HANDLE);
1505 BOOL WINAPI SetTimeZoneInformation(const TIME_ZONE_INFORMATION *);
1506 BOOL WINAPI SetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,PVOID,DWORD);
1507 LPTOP_LEVEL_EXCEPTION_FILTER WINAPI SetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER);
1508 BOOL WINAPI SetupComm(HANDLE,DWORD,DWORD);
1509 BOOL WINAPI SetVolumeLabelA(LPCSTR,LPCSTR);
1510 BOOL WINAPI SetVolumeLabelW(LPCWSTR,LPCWSTR);
1511 BOOL WINAPI SetWaitableTimer(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,PVOID,BOOL);
1512 BOOL WINAPI SignalObjectAndWait(HANDLE,HANDLE,DWORD,BOOL);
1513 DWORD WINAPI SizeofResource(HINSTANCE,HRSRC);
1514 void WINAPI Sleep(DWORD);
1515 DWORD WINAPI SleepEx(DWORD,BOOL);
1516 DWORD WINAPI SuspendThread(HANDLE);
1517 void WINAPI SwitchToFiber(PVOID);
1518 BOOL WINAPI SwitchToThread(void);
1519 BOOL WINAPI SystemTimeToFileTime(const SYSTEMTIME*,LPFILETIME);
1520 BOOL WINAPI SystemTimeToTzSpecificLocalTime(LPTIME_ZONE_INFORMATION,LPSYSTEMTIME,LPSYSTEMTIME);
1521 BOOL WINAPI TerminateProcess(HANDLE,UINT);
1522 BOOL WINAPI TerminateThread(HANDLE,DWORD);
1523 DWORD WINAPI TlsAlloc(VOID);
1524 BOOL WINAPI TlsFree(DWORD);
1525 PVOID WINAPI TlsGetValue(DWORD);
1526 BOOL WINAPI TlsSetValue(DWORD,PVOID);
1527 BOOL WINAPI TransactNamedPipe(HANDLE,PVOID,DWORD,PVOID,DWORD,PDWORD,LPOVERLAPPED);
1528 BOOL WINAPI TransmitCommChar(HANDLE,char);
1529 BOOL WINAPI TryEnterCriticalSection(LPCRITICAL_SECTION);
1530 LONG WINAPI UnhandledExceptionFilter(LPEXCEPTION_POINTERS);
1531 BOOL WINAPI UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
1532 BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED);
1533 #define UnlockResource(h) (h)
1534 #define UnlockSegment(w) GlobalUnfix((HANDLE)(w))
1535 BOOL WINAPI UnmapViewOfFile(PVOID);
1536 BOOL WINAPI UpdateResourceA(HANDLE,LPCSTR,LPCSTR,WORD,PVOID,DWORD);
1537 BOOL WINAPI UpdateResourceW(HANDLE,LPCWSTR,LPCWSTR,WORD,PVOID,DWORD);
1538 BOOL WINAPI VerifyVersionInfoA(LPOSVERSIONINFOEXA,DWORD,DWORDLONG);
1539 BOOL WINAPI VerifyVersionInfoW(LPOSVERSIONINFOEXW,DWORD,DWORDLONG);
1540 PVOID WINAPI VirtualAlloc(PVOID,DWORD,DWORD,DWORD);
1541 PVOID WINAPI VirtualAllocEx(HANDLE,PVOID,DWORD,DWORD,DWORD);
1542 BOOL WINAPI VirtualFree(PVOID,DWORD,DWORD);
1543 BOOL WINAPI VirtualFreeEx(HANDLE,PVOID,DWORD,DWORD);
1544 BOOL WINAPI VirtualLock(PVOID,DWORD);
1545 BOOL WINAPI VirtualProtect(PVOID,DWORD,DWORD,PDWORD);
1546 BOOL WINAPI VirtualProtectEx(HANDLE,PVOID,DWORD,DWORD,PDWORD);
1547 DWORD WINAPI VirtualQuery(LPCVOID,PMEMORY_BASIC_INFORMATION,DWORD);
1548 DWORD WINAPI VirtualQueryEx(HANDLE,LPCVOID,PMEMORY_BASIC_INFORMATION,DWORD);
1549 BOOL WINAPI VirtualUnlock(PVOID,DWORD);
1550 BOOL WINAPI WaitCommEvent(HANDLE,PDWORD,LPOVERLAPPED);
1551 BOOL WINAPI WaitForDebugEvent(LPDEBUG_EVENT,DWORD);
1552 DWORD WINAPI WaitForMultipleObjects(DWORD,const HANDLE*,BOOL,DWORD);
1553 DWORD WINAPI WaitForMultipleObjectsEx(DWORD,const HANDLE*,BOOL,DWORD,BOOL);
1554 DWORD WINAPI WaitForSingleObject(HANDLE,DWORD);
1555 DWORD WINAPI WaitForSingleObjectEx(HANDLE,DWORD,BOOL);
1556 BOOL WINAPI WaitNamedPipeA(LPCSTR,DWORD);
1557 BOOL WINAPI WaitNamedPipeW(LPCWSTR,DWORD);
1558 BOOL WINAPI WinLoadTrustProvider(GUID*);
1559 BOOL WINAPI WriteFile(HANDLE,PCVOID,DWORD,PDWORD,LPOVERLAPPED);
1560 BOOL WINAPI WriteFileEx(HANDLE,PCVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE);
1561 BOOL WINAPI WritePrivateProfileSectionA(LPCSTR,LPCSTR,LPCSTR);
1562 BOOL WINAPI WritePrivateProfileSectionW(LPCWSTR,LPCWSTR,LPCWSTR);
1563 BOOL WINAPI WritePrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
1564 BOOL WINAPI WritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
1565 BOOL WINAPI WritePrivateProfileStructA(LPCSTR,LPCSTR,PVOID,UINT,LPCSTR);
1566 BOOL WINAPI WritePrivateProfileStructW(LPCWSTR,LPCWSTR,PVOID,UINT,LPCWSTR);
1567 BOOL WINAPI WriteProcessMemory(HANDLE,PVOID,PVOID,DWORD,PDWORD);
1568 BOOL WINAPI WriteProfileSectionA(LPCSTR,LPCSTR);
1569 BOOL WINAPI WriteProfileSectionW(LPCWSTR,LPCWSTR);
1570 BOOL WINAPI WriteProfileStringA(LPCSTR,LPCSTR,LPCSTR);
1571 BOOL WINAPI WriteProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR);
1572 DWORD WINAPI WriteTapemark(HANDLE,DWORD,DWORD,BOOL);
1573 #define Yield()
1575 #ifdef UNICODE
1576 typedef STARTUPINFOW STARTUPINFO,*LPSTARTUPINFO;
1577 typedef WIN32_FIND_DATAW WIN32_FIND_DATA,*LPWIN32_FIND_DATA;
1578 typedef HW_PROFILE_INFOW HW_PROFILE_INFO,*LPHW_PROFILE_INFO;
1579 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
1580 #define AddAtom AddAtomW
1581 #define BackupEventLog BackupEventLogW
1582 #define BeginUpdateResource BeginUpdateResourceW
1583 #define BuildCommDCB BuildCommDCBW
1584 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
1585 #define CallNamedPipe CallNamedPipeW
1586 #define ClearEventLog ClearEventLogW
1587 #define CommConfigDialog CommConfigDialogW
1588 #define CopyFile CopyFileW
1589 #define CopyFileEx CopyFileExW
1590 #define CreateDirectory CreateDirectoryW
1591 #define CreateDirectoryEx CreateDirectoryExW
1592 #define CreateEvent CreateEventW
1593 #define CreateFile CreateFileW
1594 #define CreateFileMapping CreateFileMappingW
1595 #define CreateHardLink CreateHardLinkW
1596 #define CreateMailslot CreateMailslotW
1597 #define CreateMutex CreateMutexW
1598 #define CreateNamedPipe CreateNamedPipeW
1599 #define CreateProcess CreateProcessW
1600 #define CreateProcessAsUser CreateProcessAsUserW
1601 #define CreateSemaphore CreateSemaphoreW
1602 #define CreateWaitableTimer CreateWaitableTimerW
1603 #define DefineDosDevice DefineDosDeviceW
1604 #define DeleteFile DeleteFileW
1605 #define EndUpdateResource EndUpdateResourceW
1606 #define EnumResourceLanguages EnumResourceLanguagesW
1607 #define EnumResourceNames EnumResourceNamesW
1608 #define EnumResourceTypes EnumResourceTypesW
1609 #define ExpandEnvironmentStrings ExpandEnvironmentStringsW
1610 #define FatalAppExit FatalAppExitW
1611 #define FindAtom FindAtomW
1612 #define FindFirstChangeNotification FindFirstChangeNotificationW
1613 #define FindFirstFile FindFirstFileW
1614 #define FindFirstFileEx FindFirstFileExW
1615 #define FindNextFile FindNextFileW
1616 #define FindResource FindResourceW
1617 #define FindResourceEx FindResourceExW
1618 #define FormatMessage FormatMessageW
1619 #define FreeEnvironmentStrings FreeEnvironmentStringsW
1620 #define GetAtomName GetAtomNameW
1621 #define GetBinaryType GetBinaryTypeW
1622 #define GetCommandLine GetCommandLineW
1623 #define GetCompressedFileSize GetCompressedFileSizeW
1624 #define GetComputerName GetComputerNameW
1625 #define GetCurrentDirectory GetCurrentDirectoryW
1626 #define GetDefaultCommConfig GetDefaultCommConfigW
1627 #define GetDiskFreeSpace GetDiskFreeSpaceW
1628 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExW
1629 #define GetDriveType GetDriveTypeW
1630 #define GetEnvironmentStrings GetEnvironmentStringsW
1631 #define GetEnvironmentVariable GetEnvironmentVariableW
1632 #define GetFileAttributes GetFileAttributesW
1633 #define GetFileSecurity GetFileSecurityW
1634 #define GetFileAttributesEx GetFileAttributesExW
1635 #define GetFullPathName GetFullPathNameW
1636 #define GetLogicalDriveStrings GetLogicalDriveStringsW
1637 #define GetLongPathName GetLongPathNameW
1638 #define GetModuleFileName GetModuleFileNameW
1639 #define GetModuleHandle GetModuleHandleW
1640 #define GetNamedPipeHandleState GetNamedPipeHandleStateW
1641 #define GetPrivateProfileInt GetPrivateProfileIntW
1642 #define GetPrivateProfileSection GetPrivateProfileSectionW
1643 #define GetPrivateProfileSectionNames GetPrivateProfileSectionNamesW
1644 #define GetPrivateProfileString GetPrivateProfileStringW
1645 #define GetPrivateProfileStruct GetPrivateProfileStructW
1646 #define GetProfileInt GetProfileIntW
1647 #define GetProfileSection GetProfileSectionW
1648 #define GetProfileString GetProfileStringW
1649 #define GetShortPathName GetShortPathNameW
1650 #define GetStartupInfo GetStartupInfoW
1651 #define GetSystemDirectory GetSystemDirectoryW
1652 #define GetTempFileName GetTempFileNameW
1653 #define GetTempPath GetTempPathW
1654 #define GetUserName GetUserNameW
1655 #define GetVersionEx GetVersionExW
1656 #define GetVolumeInformation GetVolumeInformationW
1657 #define GetWindowsDirectory GetWindowsDirectoryW
1658 #define GlobalAddAtom GlobalAddAtomW
1659 #define GlobalFindAtom GlobalFindAtomW
1660 #define GlobalGetAtomName GlobalGetAtomNameW
1661 #define IsBadStringPtr IsBadStringPtrW
1662 #define LoadLibrary LoadLibraryW
1663 #define LoadLibraryEx LoadLibraryExW
1664 #define LogonUser LogonUserW
1665 #define LookupAccountName LookupAccountNameW
1666 #define LookupAccountSid LookupAccountSidW
1667 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
1668 #define LookupPrivilegeName LookupPrivilegeNameW
1669 #define LookupPrivilegeValue LookupPrivilegeValueW
1670 #define lstrcat lstrcatW
1671 #define lstrcmp lstrcmpW
1672 #define lstrcmpi lstrcmpiW
1673 #define lstrcpy lstrcpyW
1674 #define lstrcpyn lstrcpynW
1675 #define lstrlen lstrlenW
1676 #define MoveFile MoveFileW
1677 #define MoveFileEx MoveFileExW
1678 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
1679 #define ObjectDeleteAuditAlarm ObjectDeleteAuditAlarmW
1680 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
1681 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
1682 #define OpenBackupEventLog OpenBackupEventLogW
1683 #define OpenEvent OpenEventW
1684 #define OpenEventLog OpenEventLogW
1685 #define OpenFileMapping OpenFileMappingW
1686 #define OpenMutex OpenMutexW
1687 #define OpenSemaphore OpenSemaphoreW
1688 #define OutputDebugString OutputDebugStringW
1689 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
1690 #define QueryDosDevice QueryDosDeviceW
1691 #define ReadEventLog ReadEventLogW
1692 #define RegisterEventSource RegisterEventSourceW
1693 #define RemoveDirectory RemoveDirectoryW
1694 #define ReportEvent ReportEventW
1695 #define SearchPath SearchPathW
1696 #define SetComputerName SetComputerNameW
1697 #define SetCurrentDirectory SetCurrentDirectoryW
1698 #define SetDefaultCommConfig SetDefaultCommConfigW
1699 #define SetEnvironmentVariable SetEnvironmentVariableW
1700 #define SetFileAttributes SetFileAttributesW
1701 #define SetFileSecurity SetFileSecurityW
1702 #define SetVolumeLabel SetVolumeLabelW
1703 #define UpdateResource UpdateResourceW
1704 #define VerifyVersionInfo VerifyVersionInfoW
1705 #define WaitNamedPipe WaitNamedPipeW
1706 #define WritePrivateProfileSection WritePrivateProfileSectionW
1707 #define WritePrivateProfileString WritePrivateProfileStringW
1708 #define WritePrivateProfileStruct WritePrivateProfileStructW
1709 #define WriteProfileSection WriteProfileSectionW
1710 #define WriteProfileString WriteProfileStringW
1711 #else
1712 typedef STARTUPINFOA STARTUPINFO,*LPSTARTUPINFO;
1713 typedef WIN32_FIND_DATAA WIN32_FIND_DATA,*LPWIN32_FIND_DATA;
1714 typedef HW_PROFILE_INFOA HW_PROFILE_INFO,*LPHW_PROFILE_INFO;
1715 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
1716 #define AddAtom AddAtomA
1717 #define BackupEventLog BackupEventLogA
1718 #define BeginUpdateResource BeginUpdateResourceA
1719 #define BuildCommDCB BuildCommDCBA
1720 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
1721 #define CallNamedPipe CallNamedPipeA
1722 #define ClearEventLog ClearEventLogA
1723 #define CommConfigDialog CommConfigDialogA
1724 #define CopyFile CopyFileA
1725 #define CopyFileEx CopyFileExA
1726 #define CreateDirectory CreateDirectoryA
1727 #define CreateDirectoryEx CreateDirectoryExA
1728 #define CreateEvent CreateEventA
1729 #define CreateFile CreateFileA
1730 #define CreateFileMapping CreateFileMappingA
1731 #define CreateHardLink CreateHardLinkA
1732 #define CreateMailslot CreateMailslotA
1733 #define CreateMutex CreateMutexA
1734 #define CreateNamedPipe CreateNamedPipeA
1735 #define CreateProcess CreateProcessA
1736 #define CreateProcessAsUser CreateProcessAsUserA
1737 #define CreateSemaphore CreateSemaphoreA
1738 #define CreateWaitableTimer CreateWaitableTimerA
1739 #define DefineDosDevice DefineDosDeviceA
1740 #define DeleteFile DeleteFileA
1741 #define EndUpdateResource EndUpdateResourceA
1742 #define EnumResourceLanguages EnumResourceLanguagesA
1743 #define EnumResourceNames EnumResourceNamesA
1744 #define EnumResourceTypes EnumResourceTypesA
1745 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
1746 #define FatalAppExit FatalAppExitA
1747 #define FindAtom FindAtomA
1748 #define FindFirstChangeNotification FindFirstChangeNotificationA
1749 #define FindFirstFile FindFirstFileA
1750 #define FindFirstFileEx FindFirstFileExW
1751 #define FindNextFile FindNextFileA
1752 #define FindResource FindResourceA
1753 #define FindResourceEx FindResourceExA
1754 #define FormatMessage FormatMessageA
1755 #define FreeEnvironmentStrings FreeEnvironmentStringsA
1756 #define GetAtomName GetAtomNameA
1757 #define GetBinaryType GetBinaryTypeA
1758 #define GetCommandLine GetCommandLineA
1759 #define GetComputerName GetComputerNameA
1760 #define GetCompressedFileSize GetCompressedFileSizeA
1761 #define GetCurrentDirectory GetCurrentDirectoryA
1762 #define GetDefaultCommConfig GetDefaultCommConfigA
1763 #define GetDiskFreeSpace GetDiskFreeSpaceA
1764 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExA
1765 #define GetDriveType GetDriveTypeA
1766 #define GetEnvironmentStringsA GetEnvironmentStrings
1767 #define GetEnvironmentVariable GetEnvironmentVariableA
1768 #define GetFileAttributes GetFileAttributesA
1769 #define GetFileSecurity GetFileSecurityA
1770 #define GetFileAttributesEx GetFileAttributesExA
1771 #define GetFullPathName GetFullPathNameA
1772 #define GetLogicalDriveStrings GetLogicalDriveStringsA
1773 #define GetLongPathName GetLongPathNameA
1774 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
1775 #define GetModuleHandle GetModuleHandleA
1776 #define GetModuleFileName GetModuleFileNameA
1777 #define GetPrivateProfileInt GetPrivateProfileIntA
1778 #define GetPrivateProfileSection GetPrivateProfileSectionA
1779 #define GetPrivateProfileSectionNames GetPrivateProfileSectionNamesA
1780 #define GetPrivateProfileString GetPrivateProfileStringA
1781 #define GetPrivateProfileStruct GetPrivateProfileStructA
1782 #define GetProfileInt GetProfileIntA
1783 #define GetProfileSection GetProfileSectionA
1784 #define GetProfileString GetProfileStringA
1785 #define GetShortPathName GetShortPathNameA
1786 #define GetStartupInfo GetStartupInfoA
1787 #define GetSystemDirectory GetSystemDirectoryA
1788 #define GetTempFileName GetTempFileNameA
1789 #define GetTempPath GetTempPathA
1790 #define GetUserName GetUserNameA
1791 #define GetVersionEx GetVersionExA
1792 #define GetVolumeInformation GetVolumeInformationA
1793 #define GetWindowsDirectory GetWindowsDirectoryA
1794 #define GlobalAddAtom GlobalAddAtomA
1795 #define GlobalFindAtom GlobalFindAtomA
1796 #define GlobalGetAtomName GlobalGetAtomNameA
1797 #define IsBadStringPtr IsBadStringPtrA
1798 #define LoadLibrary LoadLibraryA
1799 #define LoadLibraryEx LoadLibraryExA
1800 #define LogonUser LogonUserA
1801 #define LookupAccountName LookupAccountNameA
1802 #define LookupAccountSid LookupAccountSidA
1803 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
1804 #define LookupPrivilegeName LookupPrivilegeNameA
1805 #define LookupPrivilegeValue LookupPrivilegeValueA
1806 #define lstrcat lstrcatA
1807 #define lstrcmp lstrcmpA
1808 #define lstrcmpi lstrcmpiA
1809 #define lstrcpy lstrcpyA
1810 #define lstrcpyn lstrcpynA
1811 #define lstrlen lstrlenA
1812 #define MoveFile MoveFileA
1813 #define MoveFileEx MoveFileExA
1814 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
1815 #define ObjectDeleteAuditAlarm ObjectDeleteAuditAlarmA
1816 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
1817 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
1818 #define OpenBackupEventLog OpenBackupEventLogA
1819 #define OpenEvent OpenEventA
1820 #define OpenEventLog OpenEventLogA
1821 #define OpenFileMapping OpenFileMappingA
1822 #define OpenMutex OpenMutexA
1823 #define OpenSemaphore OpenSemaphoreA
1824 #define OutputDebugString OutputDebugStringA
1825 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
1826 #define QueryDosDevice QueryDosDeviceA
1827 #define ReadEventLog ReadEventLogA
1828 #define RegisterEventSource RegisterEventSourceA
1829 #define RemoveDirectory RemoveDirectoryA
1830 #define ReportEvent ReportEventA
1831 #define SearchPath SearchPathA
1832 #define SetComputerName SetComputerNameA
1833 #define SetCurrentDirectory SetCurrentDirectoryA
1834 #define SetDefaultCommConfig SetDefaultCommConfigA
1835 #define SetEnvironmentVariable SetEnvironmentVariableA
1836 #define SetFileAttributes SetFileAttributesA
1837 #define SetFileSecurity SetFileSecurityA
1838 #define SetVolumeLabel SetVolumeLabelA
1839 #define UpdateResource UpdateResourceA
1840 #define VerifyVersionInfo VerifyVersionInfoA
1841 #define WaitNamedPipe WaitNamedPipeA
1842 #define WritePrivateProfileSection WritePrivateProfileSectionA
1843 #define WritePrivateProfileString WritePrivateProfileStringA
1844 #define WritePrivateProfileStruct WritePrivateProfileStructA
1845 #define WriteProfileSection WriteProfileSectionA
1846 #define WriteProfileString WriteProfileStringA
1847 #endif
1848 #endif
1849 #ifdef __cplusplus
1851 #endif
1852 #endif /* _WINBASE_H */