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