ReactOS 0.4.16-dev-289-g096a551
winbase.h
Go to the documentation of this file.
1#ifndef _WINBASE_
2#define _WINBASE_
3
4#if !defined(_KERNEL32_)
5#define WINBASEAPI DECLSPEC_IMPORT
6#else
7#define WINBASEAPI
8#endif
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#include <libloaderapi.h>
15#include <sysinfoapi.h>
16
17#ifdef _MSC_VER
18#pragma warning(push)
19#pragma warning(disable:4201)
20#pragma warning(disable:4214)
21#pragma warning(disable:4820)
22#endif
23
24#define PROCESS_NAME_NATIVE 1
25
26#define FILE_ENCRYPTABLE 0
27#define FILE_IS_ENCRYPTED 1
28#define FILE_SYSTEM_ATTR 2
29#define FILE_ROOT_DIR 3
30#define FILE_SYSTEM_DIR 4
31#define FILE_UNKNOWN 5
32#define FILE_SYSTEM_NOT_SUPPORT 6
33#define FILE_USER_DISALLOWED 7
34#define FILE_READ_ONLY 8
35#define FILE_DIR_DISALLOWED 9
36
37#define COMMPROP_INITIALIZED 0xE73CF52E
38#define SP_SERIALCOMM 1
39#define PST_UNSPECIFIED 0
40#define PST_RS232 1
41#define PST_PARALLELPORT 2
42#define PST_RS422 3
43#define PST_RS423 4
44#define PST_RS449 5
45#define PST_MODEM 6
46#define PST_FAX 0x21
47#define PST_SCANNER 0x22
48#define PST_NETWORK_BRIDGE 0x100
49#define PST_LAT 0x101
50#define PST_TCPIP_TELNET 0x102
51#define PST_X25 0x103
52#define BAUD_075 1
53#define BAUD_110 2
54#define BAUD_134_5 4
55#define BAUD_150 8
56#define BAUD_300 16
57#define BAUD_600 32
58#define BAUD_1200 64
59#define BAUD_1800 128
60#define BAUD_2400 256
61#define BAUD_4800 512
62#define BAUD_7200 1024
63#define BAUD_9600 2048
64#define BAUD_14400 4096
65#define BAUD_19200 8192
66#define BAUD_38400 16384
67#define BAUD_56K 32768
68#define BAUD_128K 65536
69#define BAUD_115200 131072
70#define BAUD_57600 262144
71#define BAUD_USER 0x10000000
72#define PCF_DTRDSR 1
73#define PCF_RTSCTS 2
74#define PCF_RLSD 4
75#define PCF_PARITY_CHECK 8
76#define PCF_XONXOFF 16
77#define PCF_SETXCHAR 32
78#define PCF_TOTALTIMEOUTS 64
79#define PCF_INTTIMEOUTS 128
80#define PCF_SPECIALCHARS 256
81#define PCF_16BITMODE 512
82#define SP_PARITY 1
83#define SP_BAUD 2
84#define SP_DATABITS 4
85#define SP_STOPBITS 8
86#define SP_HANDSHAKING 16
87#define SP_PARITY_CHECK 32
88#define SP_RLSD 64
89#define DATABITS_5 1
90#define DATABITS_6 2
91#define DATABITS_7 4
92#define DATABITS_8 8
93#define DATABITS_16 16
94#define DATABITS_16X 32
95#define STOPBITS_10 1
96#define STOPBITS_15 2
97#define STOPBITS_20 4
98#define PARITY_NONE 256
99#define PARITY_ODD 512
100#define PARITY_EVEN 1024
101#define PARITY_MARK 2048
102#define PARITY_SPACE 4096
103#define EXCEPTION_DEBUG_EVENT 1
104#define CREATE_THREAD_DEBUG_EVENT 2
105#define CREATE_PROCESS_DEBUG_EVENT 3
106#define EXIT_THREAD_DEBUG_EVENT 4
107#define EXIT_PROCESS_DEBUG_EVENT 5
108#define LOAD_DLL_DEBUG_EVENT 6
109#define UNLOAD_DLL_DEBUG_EVENT 7
110#define OUTPUT_DEBUG_STRING_EVENT 8
111#define RIP_EVENT 9
112#define HFILE_ERROR ((HFILE)-1)
113#define FILE_BEGIN 0
114#define FILE_CURRENT 1
115#define FILE_END 2
116#define INVALID_SET_FILE_POINTER ((DWORD)-1)
117#define OF_READ 0
118#define OF_READWRITE 2
119#define OF_WRITE 1
120#define OF_SHARE_COMPAT 0
121#define OF_SHARE_DENY_NONE 64
122#define OF_SHARE_DENY_READ 48
123#define OF_SHARE_DENY_WRITE 32
124#define OF_SHARE_EXCLUSIVE 16
125#define OF_CANCEL 2048
126#define OF_CREATE 4096
127#define OF_DELETE 512
128#define OF_EXIST 16384
129#define OF_PARSE 256
130#define OF_PROMPT 8192
131#define OF_REOPEN 32768
132#define OF_VERIFY 1024
133#define NMPWAIT_NOWAIT 1
134#define NMPWAIT_WAIT_FOREVER ((DWORD)-1)
135#define NMPWAIT_USE_DEFAULT_WAIT 0
136#define CE_BREAK 16
137#define CE_DNS 2048
138#define CE_FRAME 8
139#define CE_IOE 1024
140#define CE_MODE 32768
141#define CE_OOP 4096
142#define CE_OVERRUN 2
143#define CE_PTO 512
144#define CE_RXOVER 1
145#define CE_RXPARITY 4
146#define CE_TXFULL 256
147#define PROGRESS_CONTINUE 0
148#define PROGRESS_CANCEL 1
149#define PROGRESS_STOP 2
150#define PROGRESS_QUIET 3
151#define CALLBACK_CHUNK_FINISHED 0
152#define CALLBACK_STREAM_SWITCH 1
153#define OFS_MAXPATHNAME 128
154#define FILE_MAP_COPY SECTION_QUERY
155#define FILE_MAP_WRITE SECTION_MAP_WRITE
156#define FILE_MAP_READ SECTION_MAP_READ
157#define FILE_MAP_ALL_ACCESS SECTION_ALL_ACCESS
158#define FILE_MAP_EXECUTE SECTION_MAP_EXECUTE_EXPLICIT
159#define MUTEX_ALL_ACCESS 0x1f0001
160#define MUTEX_MODIFY_STATE 1
161#define SEMAPHORE_ALL_ACCESS 0x1f0003
162#define SEMAPHORE_MODIFY_STATE 2
163#define EVENT_ALL_ACCESS 0x1f0003
164#define EVENT_MODIFY_STATE 2
165#define PIPE_ACCESS_DUPLEX 3
166#define PIPE_ACCESS_INBOUND 1
167#define PIPE_ACCESS_OUTBOUND 2
168#define PIPE_TYPE_BYTE 0
169#define PIPE_TYPE_MESSAGE 4
170#define PIPE_READMODE_BYTE 0
171#define PIPE_READMODE_MESSAGE 2
172#define PIPE_WAIT 0
173#define PIPE_NOWAIT 1
174#define PIPE_CLIENT_END 0
175#define PIPE_SERVER_END 1
176#define PIPE_UNLIMITED_INSTANCES 255
177
178/* CreateProcess() dwCreationFlags values */
179#define DEBUG_PROCESS 0x00000001
180#define DEBUG_ONLY_THIS_PROCESS 0x00000002
181#define CREATE_SUSPENDED 0x00000004
182#define DETACHED_PROCESS 0x00000008
183#define CREATE_NEW_CONSOLE 0x00000010
184#define NORMAL_PRIORITY_CLASS 0x00000020
185#define IDLE_PRIORITY_CLASS 0x00000040
186#define HIGH_PRIORITY_CLASS 0x00000080
187#define REALTIME_PRIORITY_CLASS 0x00000100
188#define CREATE_NEW_PROCESS_GROUP 0x00000200
189#define CREATE_UNICODE_ENVIRONMENT 0x00000400
190#define CREATE_SEPARATE_WOW_VDM 0x00000800
191#define CREATE_SHARED_WOW_VDM 0x00001000
192#define CREATE_FORCEDOS 0x00002000
193#define BELOW_NORMAL_PRIORITY_CLASS 0x00004000
194#define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000
195
196#if (_WIN32_WINNT >= _WIN32_WINNT_WIN7)
197#define INHERIT_PARENT_AFFINITY 0x00010000
198#endif // _WIN32_WINNT_WIN7
199
200#if (_WIN32_WINNT >= _WIN32_WINNT_VISTA)
201#define INHERIT_CALLER_PRIORITY 0x00020000 // Deprecated
202#define CREATE_PROTECTED_PROCESS 0x00040000
203#define EXTENDED_STARTUPINFO_PRESENT 0x00080000
204#define PROCESS_MODE_BACKGROUND_BEGIN 0x00100000
205#define PROCESS_MODE_BACKGROUND_END 0x00200000
206#endif // _WIN32_WINNT_VISTA
207
208#if (NTDDI_VERSION >= NTDDI_WIN10_RS4)
209#define CREATE_SECURE_PROCESS 0x00400000
210#endif // NTDDI_WIN10_RS4
211
212#define CREATE_BREAKAWAY_FROM_JOB 0x01000000
213#define CREATE_PRESERVE_CODE_AUTHZ_LEVEL 0x02000000
214#define CREATE_DEFAULT_ERROR_MODE 0x04000000
215#define CREATE_NO_WINDOW 0x08000000
216#define PROFILE_USER 0x10000000
217#define PROFILE_KERNEL 0x20000000
218#define PROFILE_SERVER 0x40000000
219#define CREATE_IGNORE_SYSTEM_DEFAULT 0x80000000
220
221/* CreateThread()/CreateRemoteThread() dwCreationFlags values */
222// #define CREATE_SUSPENDED 0x00000004 // See above
223#define STACK_SIZE_PARAM_IS_A_RESERVATION 0x00010000
224
225#define CREATE_NEW 1
226#define CREATE_ALWAYS 2
227#define OPEN_EXISTING 3
228#define OPEN_ALWAYS 4
229#define TRUNCATE_EXISTING 5
230
231#define COPY_FILE_FAIL_IF_EXISTS 0x00000001
232#define COPY_FILE_RESTARTABLE 0x00000002
233#define COPY_FILE_OPEN_SOURCE_FOR_WRITE 0x00000004
234#define COPY_FILE_ALLOW_DECRYPTED_DESTINATION 0x00000008
235
236#define FILE_FLAG_WRITE_THROUGH 0x80000000
237#define FILE_FLAG_OVERLAPPED 0x40000000
238#define FILE_FLAG_NO_BUFFERING 0x20000000
239#define FILE_FLAG_RANDOM_ACCESS 0x10000000
240#define FILE_FLAG_SEQUENTIAL_SCAN 0x08000000
241#define FILE_FLAG_DELETE_ON_CLOSE 0x04000000
242#define FILE_FLAG_BACKUP_SEMANTICS 0x02000000
243#define FILE_FLAG_POSIX_SEMANTICS 0x01000000
244#define FILE_FLAG_OPEN_REPARSE_POINT 0x00200000
245#define FILE_FLAG_OPEN_NO_RECALL 0x00100000
246#if (_WIN32_WINNT >= 0x0500)
247#define FILE_FLAG_FIRST_PIPE_INSTANCE 0x00080000
248#endif
249
250#define CLRDTR 6
251#define CLRRTS 4
252#define SETDTR 5
253#define SETRTS 3
254#define SETXOFF 1
255#define SETXON 2
256#define RESETDEV 7
257#define SETBREAK 8
258#define CLRBREAK 9
259#define STILL_ACTIVE 0x103
260#define FIND_FIRST_EX_CASE_SENSITIVE 1
261#define FIND_FIRST_EX_LARGE_FETCH 2
262#define SCS_32BIT_BINARY 0
263#define SCS_64BIT_BINARY 6
264#define SCS_DOS_BINARY 1
265#define SCS_OS216_BINARY 5
266#define SCS_PIF_BINARY 3
267#define SCS_POSIX_BINARY 4
268#define SCS_WOW_BINARY 2
269#define MAX_COMPUTERNAME_LENGTH 15
270#define HW_PROFILE_GUIDLEN 39
271#define MAX_PROFILE_LEN 80
272#define DOCKINFO_UNDOCKED 1
273#define DOCKINFO_DOCKED 2
274#define DOCKINFO_USER_SUPPLIED 4
275#define DOCKINFO_USER_UNDOCKED (DOCKINFO_USER_SUPPLIED|DOCKINFO_UNDOCKED)
276#define DOCKINFO_USER_DOCKED (DOCKINFO_USER_SUPPLIED|DOCKINFO_DOCKED)
277#define DRIVE_REMOVABLE 2
278#define DRIVE_FIXED 3
279#define DRIVE_REMOTE 4
280#define DRIVE_CDROM 5
281#define DRIVE_RAMDISK 6
282#define DRIVE_UNKNOWN 0
283#define DRIVE_NO_ROOT_DIR 1
284#define FILE_TYPE_UNKNOWN 0
285#define FILE_TYPE_DISK 1
286#define FILE_TYPE_CHAR 2
287#define FILE_TYPE_PIPE 3
288#define FILE_TYPE_REMOTE 0x8000
289/* also in ddk/ntapi.h */
290#define HANDLE_FLAG_INHERIT 0x01
291#define HANDLE_FLAG_PROTECT_FROM_CLOSE 0x02
292/* end ntapi.h */
293#define STD_INPUT_HANDLE (DWORD)(0xfffffff6)
294#define STD_OUTPUT_HANDLE (DWORD)(0xfffffff5)
295#define STD_ERROR_HANDLE (DWORD)(0xfffffff4)
296#define INVALID_HANDLE_VALUE (HANDLE)(-1)
297#define GET_TAPE_MEDIA_INFORMATION 0
298#define GET_TAPE_DRIVE_INFORMATION 1
299#define SET_TAPE_MEDIA_INFORMATION 0
300#define SET_TAPE_DRIVE_INFORMATION 1
301#define THREAD_PRIORITY_ABOVE_NORMAL 1
302#define THREAD_PRIORITY_BELOW_NORMAL (-1)
303#define THREAD_PRIORITY_HIGHEST 2
304#define THREAD_PRIORITY_IDLE (-15)
305#define THREAD_PRIORITY_LOWEST (-2)
306#define THREAD_PRIORITY_NORMAL 0
307#define THREAD_PRIORITY_TIME_CRITICAL 15
308#define THREAD_PRIORITY_ERROR_RETURN 2147483647
309#define TIME_ZONE_ID_UNKNOWN 0
310#define TIME_ZONE_ID_STANDARD 1
311#define TIME_ZONE_ID_DAYLIGHT 2
312#define TIME_ZONE_ID_INVALID 0xFFFFFFFF
313#define FS_CASE_IS_PRESERVED 2
314#define FS_CASE_SENSITIVE 1
315#define FS_UNICODE_STORED_ON_DISK 4
316#define FS_PERSISTENT_ACLS 8
317#define FS_FILE_COMPRESSION 16
318#define FS_VOL_IS_COMPRESSED 32768
319#define GMEM_FIXED 0
320#define GMEM_MOVEABLE 2
321#define GMEM_MODIFY 128
322#define GPTR 64
323#define GHND 66
324#define GMEM_DDESHARE 8192
325#define GMEM_DISCARDABLE 256
326#define GMEM_LOWER 4096
327#define GMEM_NOCOMPACT 16
328#define GMEM_NODISCARD 32
329#define GMEM_NOT_BANKED 4096
330#define GMEM_NOTIFY 16384
331#define GMEM_SHARE 8192
332#define GMEM_ZEROINIT 64
333#define GMEM_DISCARDED 16384
334#define GMEM_INVALID_HANDLE 32768
335#define GMEM_LOCKCOUNT 255
336#define GMEM_VALID_FLAGS 32626
337#define EXCEPTION_ACCESS_VIOLATION ((DWORD)0xC0000005)
338#define EXCEPTION_DATATYPE_MISALIGNMENT ((DWORD)0x80000002)
339#define EXCEPTION_BREAKPOINT ((DWORD)0x80000003)
340#define EXCEPTION_SINGLE_STEP ((DWORD)0x80000004)
341#define EXCEPTION_ARRAY_BOUNDS_EXCEEDED ((DWORD)0xC000008C)
342#define EXCEPTION_FLT_DENORMAL_OPERAND ((DWORD)0xC000008D)
343#define EXCEPTION_FLT_DIVIDE_BY_ZERO ((DWORD)0xC000008E)
344#define EXCEPTION_FLT_INEXACT_RESULT ((DWORD)0xC000008F)
345#define EXCEPTION_FLT_INVALID_OPERATION ((DWORD)0xC0000090)
346#define EXCEPTION_FLT_OVERFLOW ((DWORD)0xC0000091)
347#define EXCEPTION_FLT_STACK_CHECK ((DWORD)0xC0000092)
348#define EXCEPTION_FLT_UNDERFLOW ((DWORD)0xC0000093)
349#define EXCEPTION_INT_DIVIDE_BY_ZERO ((DWORD)0xC0000094)
350#define EXCEPTION_INT_OVERFLOW ((DWORD)0xC0000095)
351#define EXCEPTION_PRIV_INSTRUCTION ((DWORD)0xC0000096)
352#define EXCEPTION_IN_PAGE_ERROR ((DWORD)0xC0000006)
353#define EXCEPTION_ILLEGAL_INSTRUCTION ((DWORD)0xC000001D)
354#define EXCEPTION_NONCONTINUABLE_EXCEPTION ((DWORD)0xC0000025)
355#define EXCEPTION_STACK_OVERFLOW ((DWORD)0xC00000FD)
356#define EXCEPTION_INVALID_DISPOSITION ((DWORD)0xC0000026)
357#define EXCEPTION_GUARD_PAGE ((DWORD)0x80000001)
358#define EXCEPTION_INVALID_HANDLE ((DWORD)0xC0000008L)
359#define CONTROL_C_EXIT ((DWORD)0xC000013A)
360#define PROCESS_HEAP_REGION 1
361#define PROCESS_HEAP_UNCOMMITTED_RANGE 2
362#define PROCESS_HEAP_ENTRY_BUSY 4
363#define PROCESS_HEAP_ENTRY_MOVEABLE 16
364#define PROCESS_HEAP_ENTRY_DDESHARE 32
365
366// LoadLibraryEx() dwFlags.
367#define DONT_RESOLVE_DLL_REFERENCES 0x00000001
368#define LOAD_LIBRARY_AS_DATAFILE 0x00000002
369// #define LOAD_PACKAGED_LIBRARY 0x00000004 // Internal use only.
370#define LOAD_WITH_ALTERED_SEARCH_PATH 0x00000008
371#define LOAD_IGNORE_CODE_AUTHZ_LEVEL 0x00000010
372#if (_WIN32_WINNT >= _WIN32_WINNT_VISTA)
373#define LOAD_LIBRARY_AS_IMAGE_RESOURCE 0x00000020
374#define LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE 0x00000040
375#define LOAD_LIBRARY_REQUIRE_SIGNED_TARGET 0x00000080
376#define LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR 0x00000100
377#define LOAD_LIBRARY_SEARCH_APPLICATION_DIR 0x00000200
378#define LOAD_LIBRARY_SEARCH_USER_DIRS 0x00000400
379#define LOAD_LIBRARY_SEARCH_SYSTEM32 0x00000800
380#define LOAD_LIBRARY_SEARCH_DEFAULT_DIRS 0x00001000
381#endif // _WIN32_WINNT_VISTA
382#if (NTDDI_VERSION >= NTDDI_WIN10_RS1)
383#define LOAD_LIBRARY_SAFE_CURRENT_DIRS 0x00002000
384#define LOAD_LIBRARY_SEARCH_SYSTEM32_NO_FORWARDER 0x00004000
385#else // NTDDI_WIN10_RS1
386#if (_WIN32_WINNT >= _WIN32_WINNT_VISTA)
387#define LOAD_LIBRARY_SEARCH_SYSTEM32_NO_FORWARDER LOAD_LIBRARY_SEARCH_SYSTEM32
388#endif // _WIN32_WINNT_VISTA
389#endif // NTDDI_WIN10_RS1
390#if (NTDDI_VERSION >= NTDDI_WIN10_RS2)
391#define LOAD_LIBRARY_OS_INTEGRITY_CONTINUITY 0x00008000
392#endif // NTDDI_WIN10_RS2
393
394#define LMEM_FIXED 0
395#define LMEM_MOVEABLE 2
396#define LMEM_NONZEROLHND 2
397#define LMEM_NONZEROLPTR 0
398#define LMEM_DISCARDABLE 3840
399#define LMEM_NOCOMPACT 16
400#define LMEM_NODISCARD 32
401#define LMEM_ZEROINIT 64
402#define LMEM_DISCARDED 16384
403#define LMEM_MODIFY 128
404#define LMEM_INVALID_HANDLE 32768
405#define LMEM_LOCKCOUNT 255
406#define LMEM_VALID_FLAGS 0x0F72
407#define LPTR 64
408#define LHND 66
409#define NONZEROLHND 2
410#define NONZEROLPTR 0
411#define LOCKFILE_FAIL_IMMEDIATELY 1
412#define LOCKFILE_EXCLUSIVE_LOCK 2
413#define LOGON32_PROVIDER_DEFAULT 0
414#define LOGON32_PROVIDER_WINNT35 1
415#define LOGON32_PROVIDER_WINNT40 2
416#define LOGON32_PROVIDER_WINNT50 3
417#define LOGON32_LOGON_INTERACTIVE 2
418#define LOGON32_LOGON_NETWORK 3
419#define LOGON32_LOGON_BATCH 4
420#define LOGON32_LOGON_SERVICE 5
421#define LOGON32_LOGON_UNLOCK 7
422#define LOGON32_LOGON_NETWORK_CLEARTEXT 8
423#define LOGON32_LOGON_NEW_CREDENTIALS 9
424#define MOVEFILE_REPLACE_EXISTING 1
425#define MOVEFILE_COPY_ALLOWED 2
426#define MOVEFILE_DELAY_UNTIL_REBOOT 4
427#define MOVEFILE_WRITE_THROUGH 8
428#define MOVEFILE_CREATE_HARDLINK 16
429#define MOVEFILE_FAIL_IF_NOT_TRACKABLE 32
430#define MAXIMUM_WAIT_OBJECTS 64
431#define MAXIMUM_SUSPEND_COUNT 0x7F
432#define WAIT_OBJECT_0 0
433#define WAIT_ABANDONED_0 128
434#ifndef WAIT_TIMEOUT /* also in winerror.h */
435#define WAIT_TIMEOUT 258
436#endif
437#define WAIT_IO_COMPLETION 0xC0
438#define WAIT_ABANDONED 128
439#define WAIT_FAILED ((DWORD)0xFFFFFFFF)
440#define PURGE_TXABORT 1
441#define PURGE_RXABORT 2
442#define PURGE_TXCLEAR 4
443#define PURGE_RXCLEAR 8
444
445#define FORMAT_MESSAGE_ALLOCATE_BUFFER 256
446#define FORMAT_MESSAGE_IGNORE_INSERTS 512
447#define FORMAT_MESSAGE_FROM_STRING 1024
448#define FORMAT_MESSAGE_FROM_HMODULE 2048
449#define FORMAT_MESSAGE_FROM_SYSTEM 4096
450#define FORMAT_MESSAGE_ARGUMENT_ARRAY 8192
451#define FORMAT_MESSAGE_MAX_WIDTH_MASK 255
452#define EV_BREAK 64
453#define EV_CTS 8
454#define EV_DSR 16
455#define EV_ERR 128
456#define EV_EVENT1 2048
457#define EV_EVENT2 4096
458#define EV_PERR 512
459#define EV_RING 256
460#define EV_RLSD 32
461#define EV_RX80FULL 1024
462#define EV_RXCHAR 1
463#define EV_RXFLAG 2
464#define EV_TXEMPTY 4
465/* also in ddk/ntapi.h */
466#define SEM_FAILCRITICALERRORS 0x0001
467#define SEM_NOGPFAULTERRORBOX 0x0002
468#define SEM_NOALIGNMENTFAULTEXCEPT 0x0004
469#define SEM_NOOPENFILEERRORBOX 0x8000
470/* end ntapi.h */
471#define SLE_ERROR 1
472#define SLE_MINORERROR 2
473#define SLE_WARNING 3
474#define SHUTDOWN_NORETRY 1
475#define MAXINTATOM 0xC000
476#define INVALID_ATOM ((ATOM)0)
477#define IGNORE 0
478#define INFINITE 0xFFFFFFFF
479#define NOPARITY 0
480#define ODDPARITY 1
481#define EVENPARITY 2
482#define MARKPARITY 3
483#define SPACEPARITY 4
484#define ONESTOPBIT 0
485#define ONE5STOPBITS 1
486#define TWOSTOPBITS 2
487#define CBR_110 110
488#define CBR_300 300
489#define CBR_600 600
490#define CBR_1200 1200
491#define CBR_2400 2400
492#define CBR_4800 4800
493#define CBR_9600 9600
494#define CBR_14400 14400
495#define CBR_19200 19200
496#define CBR_38400 38400
497#define CBR_56000 56000
498#define CBR_57600 57600
499#define CBR_115200 115200
500#define CBR_128000 128000
501#define CBR_256000 256000
502#define BACKUP_INVALID 0
503#define BACKUP_DATA 1
504#define BACKUP_EA_DATA 2
505#define BACKUP_SECURITY_DATA 3
506#define BACKUP_ALTERNATE_DATA 4
507#define BACKUP_LINK 5
508#define BACKUP_PROPERTY_DATA 6
509#define BACKUP_OBJECT_ID 7
510#define BACKUP_REPARSE_DATA 8
511#define BACKUP_SPARSE_BLOCK 9
512#define STREAM_NORMAL_ATTRIBUTE 0
513#define STREAM_MODIFIED_WHEN_READ 1
514#define STREAM_CONTAINS_SECURITY 2
515#define STREAM_CONTAINS_PROPERTIES 4
516
517#define STARTF_USESHOWWINDOW 0x00000001
518#define STARTF_USESIZE 0x00000002
519#define STARTF_USEPOSITION 0x00000004
520#define STARTF_USECOUNTCHARS 0x00000008
521#define STARTF_USEFILLATTRIBUTE 0x00000010
522#define STARTF_RUNFULLSCREEN 0x00000020
523#define STARTF_FORCEONFEEDBACK 0x00000040
524#define STARTF_FORCEOFFFEEDBACK 0x00000080
525#define STARTF_USESTDHANDLES 0x00000100
526#if (WINVER >= 0x400)
527#define STARTF_USEHOTKEY 0x00000200
528#define STARTF_TITLEISLINKNAME 0x00000800
529#define STARTF_TITLEISAPPID 0x00001000
530#define STARTF_PREVENTPINNING 0x00002000
531#endif /* (WINVER >= 0x400) */
532
533#define TC_NORMAL 0
534#define TC_HARDERR 1
535#define TC_GP_TRAP 2
536#define TC_SIGNAL 3
537#define AC_LINE_OFFLINE 0
538#define AC_LINE_ONLINE 1
539#define AC_LINE_BACKUP_POWER 2
540#define AC_LINE_UNKNOWN 255
541#define BATTERY_FLAG_HIGH 1
542#define BATTERY_FLAG_LOW 2
543#define BATTERY_FLAG_CRITICAL 4
544#define BATTERY_FLAG_CHARGING 8
545#define BATTERY_FLAG_NO_BATTERY 128
546#define BATTERY_FLAG_UNKNOWN 255
547#define BATTERY_PERCENTAGE_UNKNOWN 255
548#define BATTERY_LIFE_UNKNOWN 0xFFFFFFFF
549#define DDD_RAW_TARGET_PATH 1
550#define DDD_REMOVE_DEFINITION 2
551#define DDD_EXACT_MATCH_ON_REMOVE 4
552#define DDD_NO_BROADCAST_SYSTEM 8
553#define DDD_LUID_BROADCAST_DRIVE 16
554#define HINSTANCE_ERROR 32
555#define MS_CTS_ON 16
556#define MS_DSR_ON 32
557#define MS_RING_ON 64
558#define MS_RLSD_ON 128
559#define DTR_CONTROL_DISABLE 0
560#define DTR_CONTROL_ENABLE 1
561#define DTR_CONTROL_HANDSHAKE 2
562#define RTS_CONTROL_DISABLE 0
563#define RTS_CONTROL_ENABLE 1
564#define RTS_CONTROL_HANDSHAKE 2
565#define RTS_CONTROL_TOGGLE 3
566#define SECURITY_ANONYMOUS (SecurityAnonymous<<16)
567#define SECURITY_IDENTIFICATION (SecurityIdentification<<16)
568#define SECURITY_IMPERSONATION (SecurityImpersonation<<16)
569#define SECURITY_DELEGATION (SecurityDelegation<<16)
570#define SECURITY_CONTEXT_TRACKING 0x40000
571#define SECURITY_EFFECTIVE_ONLY 0x80000
572#define SECURITY_SQOS_PRESENT 0x100000
573#define SECURITY_VALID_SQOS_FLAGS 0x1F0000
574#define INVALID_FILE_SIZE 0xFFFFFFFF
575#define TLS_OUT_OF_INDEXES (DWORD)0xFFFFFFFF
576#if (_WIN32_WINNT >= 0x0501)
577#define ACTCTX_FLAG_PROCESSOR_ARCHITECTURE_VALID 0x00000001
578#define ACTCTX_FLAG_LANGID_VALID 0x00000002
579#define ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID 0x00000004
580#define ACTCTX_FLAG_RESOURCE_NAME_VALID 0x00000008
581#define ACTCTX_FLAG_SET_PROCESS_DEFAULT 0x00000010
582#define ACTCTX_FLAG_APPLICATION_NAME_VALID 0x00000020
583#define ACTCTX_FLAG_SOURCE_IS_ASSEMBLYREF 0x00000040
584#define ACTCTX_FLAG_HMODULE_VALID 0x00000080
585#define DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION 0x00000001
586#define FIND_ACTCTX_SECTION_KEY_RETURN_HACTCTX 0x00000001
587#define QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX 0x00000004
588#define QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE 0x00000008
589#define QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS 0x00000010
590#define QUERY_ACTCTX_FLAG_NO_ADDREF 0x80000000
591#if (_WIN32_WINNT >= 0x0600)
592#define SYMBOLIC_LINK_FLAG_DIRECTORY 0x1
593#endif
594#endif /* (_WIN32_WINNT >= 0x0501) */
595#if (_WIN32_WINNT >= 0x0500)
596#define REPLACEFILE_WRITE_THROUGH 0x00000001
597#define REPLACEFILE_IGNORE_MERGE_ERRORS 0x00000002
598#endif /* (_WIN32_WINNT >= 0x0500) */
599#if (_WIN32_WINNT >= 0x0400)
600#define FIBER_FLAG_FLOAT_SWITCH 0x1
601#endif
602#define FLS_OUT_OF_INDEXES 0xFFFFFFFF
603#if (_WIN32_WINNT >= 0x0600)
604#define MAX_RESTART_CMD_LINE 0x800
605#define RESTART_CYCLICAL 0x1
606#define RESTART_NOTIFY_SOLUTION 0x2
607#define RESTART_NOTIFY_FAULT 0x4
608#define VOLUME_NAME_DOS 0x0
609#define VOLUME_NAME_GUID 0x1
610#define VOLUME_NAME_NT 0x2
611#define VOLUME_NAME_NONE 0x4
612#define FILE_NAME_NORMALIZED 0x0
613#define FILE_NAME_OPENED 0x8
614#define FILE_SKIP_COMPLETION_PORT_ON_SUCCESS 0x1
615#define FILE_SKIP_SET_EVENT_ON_HANDLE 0x2
616#endif
617#if (_WIN32_WINNT >= 0x0500)
618#define GET_MODULE_HANDLE_EX_FLAG_PIN 0x1
619#define GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT 0x2
620#define GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS 0x4
621#endif
622#if (_WIN32_WINNT >= 0x0600)
623#define CREATE_EVENT_MANUAL_RESET 0x1
624#define CREATE_EVENT_INITIAL_SET 0x2
625#define CREATE_MUTEX_INITIAL_OWNER 0x1
626#define CREATE_WAITABLE_TIMER_MANUAL_RESET 0x1
627#define SRWLOCK_INIT RTL_SRWLOCK_INIT
628#define CONDITION_VARIABLE_INIT RTL_CONDITION_VARIABLE_INIT
629#define CONDITION_VARIABLE_LOCKMODE_SHARED RTL_CONDITION_VARIABLE_LOCKMODE_SHARED
630#endif
631
632#define BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE 0x00001
633#define BASE_SEARCH_PATH_DISABLE_SAFE_SEARCHMODE 0x10000
634#define BASE_SEARCH_PATH_PERMANENT 0x08000
635#define BASE_SEARCH_PATH_INVALID_FLAGS (~0x18001)
636
637#define INIT_ONCE_STATIC_INIT RTL_RUN_ONCE_INIT
638
639#if (_WIN32_WINNT >= 0x0600)
640#define PROCESS_DEP_ENABLE 0x00000001
641#define PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION 0x00000002
642#endif
643
644#define LOGON_WITH_PROFILE 0x00000001
645#define LOGON_NETCREDENTIALS_ONLY 0x00000002
646
647#ifndef RC_INVOKED
648
649#ifndef _FILETIME_
650#define _FILETIME_
651typedef struct _FILETIME {
655#endif
656
669
670typedef struct _DCB {
700
701typedef struct _COMM_CONFIG {
711
712typedef struct _COMMPROP {
732
733typedef struct _COMMTIMEOUTS {
740
741typedef struct _COMSTAT {
753
755
768
774
775typedef struct _EXCEPTION_DEBUG_INFO {
779
783
787
788typedef struct _LOAD_DLL_DEBUG_INFO {
796
800
806
807typedef struct _RIP_INFO {
811
812typedef struct _DEBUG_EVENT {
816 union {
826 } u;
828
829#ifndef MIDL_PASS
833#endif
834
835typedef struct _OVERLAPPED {
838 union {
839 struct {
847
848typedef struct _OVERLAPPED_ENTRY {
854
855typedef struct _STARTUPINFOA {
875
876typedef struct _STARTUPINFOW {
896
897typedef struct _PROCESS_INFORMATION {
903
911//#ifdef __WINESRC__ //not all wine code is marked so
912 DWORD_PTR Spare[8/sizeof(DWORD_PTR)];/* in Wine they store a string here */
913//#else
914 //WORD SpareWORD;
915//#endif
917
918typedef struct _CRITICAL_SECTION {
926
927#ifndef _SYSTEMTIME_
928#define _SYSTEMTIME_
929typedef struct _SYSTEMTIME {
939#endif /* _SYSTEMTIME_ */
940#if (_WIN32_WINNT >= 0x0500)
942#endif
951typedef struct _WIN32_FIND_DATAA {
963typedef struct _WIN32_FIND_DATAW {
975
976#if (_WIN32_WINNT >= 0x0501)
977typedef enum _STREAM_INFO_LEVELS {
978 FindStreamInfoStandard
979} STREAM_INFO_LEVELS;
980
981typedef struct _WIN32_FIND_STREAM_DATA {
982 LARGE_INTEGER StreamSize;
983 WCHAR cStreamName[MAX_PATH + 36];
984} WIN32_FIND_STREAM_DATA, *PWIN32_FIND_STREAM_DATA;
985#endif
986
987typedef struct _WIN32_STREAM_ID {
994
995#if (_WIN32_WINNT >= 0x0600)
996
997typedef enum _FILE_ID_TYPE {
998 FileIdType,
999 ObjectIdType,
1000 ExtendedFileIdType,
1001 MaximumFileIdType
1002} FILE_ID_TYPE, *PFILE_ID_TYPE;
1003
1004typedef struct _FILE_ID_DESCRIPTOR {
1005 DWORD dwSize;
1006 FILE_ID_TYPE Type;
1007 union {
1008 LARGE_INTEGER FileId;
1009 GUID ObjectId;
1011} FILE_ID_DESCRIPTOR, *LPFILE_ID_DESCRIPTOR;
1012
1013#if (NTDDI_VERSION >= NTDDI_LONGHORN) || defined(__REACTOS__)
1014typedef enum _FILE_INFO_BY_HANDLE_CLASS {
1015 FileBasicInfo,
1016 FileStandardInfo,
1017 FileNameInfo,
1018 FileRenameInfo,
1019 FileDispositionInfo,
1020 FileAllocationInfo,
1021 FileEndOfFileInfo,
1022 FileStreamInfo,
1023 FileCompressionInfo,
1024 FileAttributeTagInfo,
1025 FileIdBothDirectoryInfo,
1026 FileIdBothDirectoryRestartInfo,
1027 FileIoPriorityHintInfo,
1028 FileRemoteProtocolInfo,
1029 FileFullDirectoryInfo,
1030 FileFullDirectoryRestartInfo,
1031#if (NTDDI_VERSION >= NTDDI_WIN8) || defined(__REACTOS__)
1032 FileStorageInfo,
1033 FileAlignmentInfo,
1034 FileIdInfo,
1035 FileIdExtdDirectoryInfo,
1036 FileIdExtdDirectoryRestartInfo,
1037#endif
1038#if (NTDDI_VERSION >= NTDDI_WIN10_RS1) || defined(__REACTOS__)
1039 FileDispositionInfoEx,
1040 FileRenameInfoEx,
1041#endif
1042#if (NTDDI_VERSION >= NTDDI_WIN10_19H1) || defined(__REACTOS__)
1043 FileCaseSensitiveInfo,
1044 FileNormalizedNameInfo,
1045#endif
1046 MaximumFileInfoByHandleClass
1047} FILE_INFO_BY_HANDLE_CLASS, *PFILE_INFO_BY_HANDLE_CLASS;
1048#endif
1049
1050typedef struct _FILE_ID_BOTH_DIR_INFO {
1051 DWORD NextEntryOffset;
1052 DWORD FileIndex;
1053 LARGE_INTEGER CreationTime;
1054 LARGE_INTEGER LastAccessTime;
1055 LARGE_INTEGER LastWriteTime;
1056 LARGE_INTEGER ChangeTime;
1057 LARGE_INTEGER EndOfFile;
1061 DWORD EaSize;
1062 CCHAR ShortNameLength;
1063 WCHAR ShortName[12];
1064 LARGE_INTEGER FileId;
1065 WCHAR FileName[1];
1066} FILE_ID_BOTH_DIR_INFO, *PFILE_ID_BOTH_DIR_INFO;
1067
1068typedef struct _FILE_BASIC_INFO {
1069 LARGE_INTEGER CreationTime;
1070 LARGE_INTEGER LastAccessTime;
1071 LARGE_INTEGER LastWriteTime;
1072 LARGE_INTEGER ChangeTime;
1074} FILE_BASIC_INFO, *PFILE_BASIC_INFO;
1075
1076typedef struct _FILE_STANDARD_INFO {
1078 LARGE_INTEGER EndOfFile;
1079 DWORD NumberOfLinks;
1080 BOOLEAN DeletePending;
1082} FILE_STANDARD_INFO, *PFILE_STANDARD_INFO;
1083
1084typedef struct _FILE_NAME_INFO {
1086 WCHAR FileName[1];
1087} FILE_NAME_INFO, *PFILE_NAME_INFO;
1088
1089typedef enum _PRIORITY_HINT {
1090 IoPriorityHintVeryLow,
1091 IoPriorityHintLow,
1092 IoPriorityHintNormal,
1093 MaximumIoPriorityHintType
1094} PRIORITY_HINT;
1095
1096typedef struct _FILE_IO_PRIORITY_HINT_INFO {
1097 PRIORITY_HINT PriorityHint;
1098} FILE_IO_PRIORITY_HINT_INFO;
1099
1100typedef struct _FILE_ALLOCATION_INFO {
1102} FILE_ALLOCATION_INFO, *PFILE_ALLOCATION_INFO;
1103
1104typedef struct _FILE_DISPOSITION_INFO {
1106} FILE_DISPOSITION_INFO, *PFILE_DISPOSITION_INFO;
1107
1108typedef struct _FILE_END_OF_FILE_INFO {
1109 LARGE_INTEGER EndOfFile;
1110} FILE_END_OF_FILE_INFO, *PFILE_END_OF_FILE_INFO;
1111
1112typedef struct _FILE_RENAME_INFO {
1113 BOOLEAN ReplaceIfExists;
1116 WCHAR FileName[1];
1117} FILE_RENAME_INFO, *PFILE_RENAME_INFO;
1118
1119typedef struct _FILE_ATTRIBUTE_TAG_INFO {
1121 DWORD ReparseTag;
1122} FILE_ATTRIBUTE_TAG_INFO, *PFILE_ATTRIBUTE_TAG_INFO;
1123
1124typedef struct _FILE_COMPRESSION_INFO {
1125 LARGE_INTEGER CompressedFileSize;
1126 WORD CompressionFormat;
1127 UCHAR CompressionUnitShift;
1128 UCHAR ChunkShift;
1129 UCHAR ClusterShift;
1130 UCHAR Reserved[3];
1131} FILE_COMPRESSION_INFO, *PFILE_COMPRESSION_INFO;
1132
1133typedef struct _FILE_REMOTE_PROTOCOL_INFO {
1134 USHORT StructureVersion;
1135 USHORT StructureSize;
1137 USHORT ProtocolMajorVersion;
1138 USHORT ProtocolMinorVersion;
1139 USHORT ProtocolRevision;
1141 ULONG Flags;
1142 struct {
1143 ULONG Reserved[8];
1144 } GenericReserved;
1145 struct {
1146 ULONG Reserved[16];
1147 } ProtocolSpecificReserved;
1148} FILE_REMOTE_PROTOCOL_INFO, *PFILE_REMOTE_PROTOCOL_INFO;
1149
1150#endif
1151
1157
1164
1165typedef struct tagHW_PROFILE_INFOA {
1170
1171typedef struct tagHW_PROFILE_INFOW {
1176
1177/* Event Logging */
1178
1179#define EVENTLOG_FULL_INFO 0
1180
1184
1189
1190typedef struct _SYSTEM_INFO {
1191 _ANONYMOUS_UNION union {
1193 _ANONYMOUS_STRUCT struct {
1208
1209typedef struct _SYSTEM_POWER_STATUS {
1217
1229
1239
1240typedef struct _MEMORYSTATUS {
1250
1251#if (_WIN32_WINNT >= 0x0500)
1252typedef struct _MEMORYSTATUSEX {
1254 DWORD dwMemoryLoad;
1255 DWORDLONG ullTotalPhys;
1256 DWORDLONG ullAvailPhys;
1257 DWORDLONG ullTotalPageFile;
1258 DWORDLONG ullAvailPageFile;
1259 DWORDLONG ullTotalVirtual;
1260 DWORDLONG ullAvailVirtual;
1261 DWORDLONG ullAvailExtendedVirtual;
1262} MEMORYSTATUSEX, *LPMEMORYSTATUSEX;
1263#endif
1264
1265#ifndef _LDT_ENTRY_DEFINED
1266#define _LDT_ENTRY_DEFINED
1267typedef struct _LDT_ENTRY {
1268 WORD LimitLow;
1269 WORD BaseLow;
1270 union {
1271 struct {
1272 BYTE BaseMid;
1273 BYTE Flags1;
1274 BYTE Flags2;
1275 BYTE BaseHi;
1277 struct {
1278 DWORD BaseMid:8;
1279 DWORD Type:5;
1280 DWORD Dpl:2;
1281 DWORD Pres:1;
1282 DWORD LimitHi:4;
1283 DWORD Sys:1;
1284 DWORD Reserved_0:1;
1287 DWORD BaseHi:8;
1291#endif
1292
1293typedef struct _PROCESS_HEAP_ENTRY {
1299 _ANONYMOUS_UNION union {
1300 struct {
1304 struct {
1312
1313typedef struct _OFSTRUCT {
1321
1322#if (_WIN32_WINNT >= 0x0501)
1323typedef struct tagACTCTXA {
1324 ULONG cbSize;
1325 DWORD dwFlags;
1326 LPCSTR lpSource;
1327 USHORT wProcessorArchitecture;
1328 LANGID wLangId;
1329 LPCSTR lpAssemblyDirectory;
1330 LPCSTR lpResourceName;
1331 LPCSTR lpApplicationName;
1333} ACTCTXA,*PACTCTXA;
1334typedef const ACTCTXA *PCACTCTXA;
1335
1336typedef struct tagACTCTXW {
1337 ULONG cbSize;
1338 DWORD dwFlags;
1339 LPCWSTR lpSource;
1340 USHORT wProcessorArchitecture;
1341 LANGID wLangId;
1342 LPCWSTR lpAssemblyDirectory;
1343 LPCWSTR lpResourceName;
1344 LPCWSTR lpApplicationName;
1346} ACTCTXW,*PACTCTXW;
1347typedef const ACTCTXW *PCACTCTXW;
1348
1349typedef struct tagACTCTX_SECTION_KEYED_DATA_2600 {
1350 ULONG cbSize;
1351 ULONG ulDataFormatVersion;
1352 PVOID lpData;
1353 ULONG ulLength;
1354 PVOID lpSectionGlobalData;
1355 ULONG ulSectionGlobalDataLength;
1356 PVOID lpSectionBase;
1357 ULONG ulSectionTotalLength;
1358 HANDLE hActCtx;
1359 ULONG ulAssemblyRosterIndex;
1360} ACTCTX_SECTION_KEYED_DATA_2600, *PACTCTX_SECTION_KEYED_DATA_2600;
1361typedef const ACTCTX_SECTION_KEYED_DATA_2600 *PCACTCTX_SECTION_KEYED_DATA_2600;
1362
1363typedef struct tagACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {
1364 PVOID lpInformation;
1365 PVOID lpSectionBase;
1366 ULONG ulSectionLength;
1367 PVOID lpSectionGlobalDataBase;
1368 ULONG ulSectionGlobalDataLength;
1369} ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA, *PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA;
1370typedef const ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA *PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA;
1371
1372typedef struct tagACTCTX_SECTION_KEYED_DATA {
1373 ULONG cbSize;
1374 ULONG ulDataFormatVersion;
1375 PVOID lpData;
1376 ULONG ulLength;
1377 PVOID lpSectionGlobalData;
1378 ULONG ulSectionGlobalDataLength;
1379 PVOID lpSectionBase;
1380 ULONG ulSectionTotalLength;
1381 HANDLE hActCtx;
1382 ULONG ulAssemblyRosterIndex;
1383 /* Non 2600 extra fields */
1384 ULONG ulFlags;
1385 ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA AssemblyMetadata;
1386} ACTCTX_SECTION_KEYED_DATA,*PACTCTX_SECTION_KEYED_DATA;
1387
1388typedef const ACTCTX_SECTION_KEYED_DATA *PCACTCTX_SECTION_KEYED_DATA;
1389
1390typedef struct _ACTIVATION_CONTEXT_BASIC_INFORMATION {
1391 HANDLE hActCtx;
1392 DWORD dwFlags;
1393} ACTIVATION_CONTEXT_BASIC_INFORMATION, *PACTIVATION_CONTEXT_BASIC_INFORMATION;
1394typedef const struct _ACTIVATION_CONTEXT_BASIC_INFORMATION *PCACTIVATION_CONTEXT_BASIC_INFORMATION;
1395
1396typedef BOOL
1397(WINAPI *PQUERYACTCTXW_FUNC)(
1399 _In_ HANDLE hActCtx,
1400 _In_opt_ PVOID pvSubInstance,
1401 _In_ ULONG ulInfoClass,
1402 _Out_writes_bytes_to_opt_(cbBuffer, *pcbWrittenOrRequired) PVOID pvBuffer,
1403 _In_ SIZE_T cbBuffer,
1404 _Out_opt_ SIZE_T *pcbWrittenOrRequired);
1405
1406typedef enum {
1407 LowMemoryResourceNotification ,
1408 HighMemoryResourceNotification
1409} MEMORY_RESOURCE_NOTIFICATION_TYPE;
1410#endif /* (_WIN32_WINNT >= 0x0501) */
1411
1412#if (_WIN32_WINNT >= 0x0500)
1413typedef enum _COMPUTER_NAME_FORMAT {
1414 ComputerNameNetBIOS,
1415 ComputerNameDnsHostname,
1416 ComputerNameDnsDomain,
1417 ComputerNameDnsFullyQualified,
1418 ComputerNamePhysicalNetBIOS,
1419 ComputerNamePhysicalDnsHostname,
1420 ComputerNamePhysicalDnsDomain,
1421 ComputerNamePhysicalDnsFullyQualified,
1422 ComputerNameMax
1423} COMPUTER_NAME_FORMAT;
1424#endif /* (_WIN32_WINNT >= 0x0500) */
1425
1426#if (_WIN32_WINNT >= 0x0600)
1427typedef RTL_SRWLOCK SRWLOCK, *PSRWLOCK;
1428typedef RTL_CONDITION_VARIABLE CONDITION_VARIABLE, *PCONDITION_VARIABLE;
1429#endif
1430
1432
1433#define PROC_THREAD_ATTRIBUTE_NUMBER 0x0000ffff
1434#define PROC_THREAD_ATTRIBUTE_THREAD 0x00010000
1435#define PROC_THREAD_ATTRIBUTE_INPUT 0x00020000
1436#define PROC_THREAD_ATTRIBUTE_ADDITIVE 0x00040000
1437
1453
1454#define PROC_THREAD_ATTRIBUTE_IDEAL_PROCESSOR (ProcThreadAttributeIdealProcessor | PROC_THREAD_ATTRIBUTE_THREAD | PROC_THREAD_ATTRIBUTE_INPUT)
1455#define PROC_THREAD_ATTRIBUTE_HANDLE_LIST (ProcThreadAttributeHandleList | PROC_THREAD_ATTRIBUTE_INPUT)
1456#define PROC_THREAD_ATTRIBUTE_PARENT_PROCESS (ProcThreadAttributeParentProcess | PROC_THREAD_ATTRIBUTE_INPUT)
1457
1458typedef DWORD
1460 _In_reads_bytes_(ulLength) PBYTE pbData,
1461 _In_opt_ PVOID pvCallbackContext,
1462 _In_ ULONG ulLength);
1463
1465
1466typedef VOID (WINAPI *PFIBER_START_ROUTINE)( LPVOID lpFiberParameter );
1468
1481#if (_WIN32_WINNT >= 0x0600)
1482typedef DWORD (WINAPI *APPLICATION_RECOVERY_CALLBACK)(PVOID);
1483#endif
1484
1485#ifdef WINE_NO_UNICODE_MACROS /* force using a cast */
1486#define MAKEINTATOM(atom) ((ULONG_PTR)((WORD)(atom)))
1487#else
1488#define MAKEINTATOM(i) (LPTSTR)((ULONG_PTR)((WORD)(i)))
1489#endif
1490
1491typedef DWORD
1493 _Out_writes_bytes_to_(*ulLength, *ulLength) PBYTE pbData,
1494 _In_opt_ PVOID pvCallbackContext,
1495 _Inout_ PULONG ulLength);
1496
1497/* Functions */
1498#ifndef UNDER_CE
1500#else
1502#endif
1504
1505long
1506WINAPI
1509 _Out_writes_bytes_to_(lBytes, return) LPVOID lpBuffer,
1510 _In_ long lBytes);
1511
1512long
1513WINAPI
1517 _In_ long lBytes);
1518
1523
1524UINT
1525WINAPI
1528 _Out_writes_bytes_to_(uBytes, return) LPVOID lpBuffer,
1529 _In_ UINT uBytes);
1530
1531UINT
1532WINAPI
1536 _In_ UINT uBytes);
1537
1539
1540BOOL
1541WINAPI
1543 _In_ LPCSTR SubsystemName,
1544 _In_opt_ LPVOID HandleId,
1550 _In_ BOOL ObjectCreation,
1553 _Out_ LPBOOL pfGenerateOnClose);
1554
1556#if (_WIN32_WINNT >= 0x0600)
1559#endif
1560#if (_WIN32_WINNT >= 0x0501)
1562#endif
1565#if (_WIN32_WINNT >= 0x0500)
1570#endif
1575#if (_WIN32_WINNT >= 0x0500)
1577#endif
1578#if (_WIN32_WINNT >= 0x0501)
1580#endif
1581#if (_WIN32_WINNT >= 0x0500)
1584#endif
1585
1586BOOL
1587WINAPI
1589 _In_ PSECURITY_DESCRIPTOR pSecurityDescriptor,
1590 _In_opt_ PSID PrincipalSelfSid,
1591 _In_ HANDLE ClientToken,
1593 _In_reads_opt_(ObjectTypeListLength) POBJECT_TYPE_LIST ObjectTypeList,
1594 _In_ DWORD ObjectTypeListLength,
1596 _Out_writes_bytes_(*PrivilegeSetLength)PPRIVILEGE_SET PrivilegeSet,
1597 _Inout_ LPDWORD PrivilegeSetLength,
1600
1601BOOL
1602WINAPI
1604 _In_ PSECURITY_DESCRIPTOR pSecurityDescriptor,
1605 _In_opt_ PSID PrincipalSelfSid,
1606 _In_ HANDLE ClientToken,
1608 _In_reads_(ObjectTypeListLength) POBJECT_TYPE_LIST ObjectTypeList,
1609 _In_ DWORD ObjectTypeListLength,
1611 _Out_writes_bytes_(*PrivilegeSetLength) PPRIVILEGE_SET PrivilegeSet,
1612 _Inout_ LPDWORD PrivilegeSetLength,
1613 _Out_writes_(ObjectTypeListLength) LPDWORD GrantedAccess,
1614 _Out_writes_(ObjectTypeListLength) LPBOOL AccessStatus);
1615
1626
1627BOOL
1628WINAPI
1631 _Out_writes_bytes_to_(nNumberOfBytesToRead, *lpNumberOfBytesRead) LPBYTE lpBuffer,
1632 _In_ DWORD nNumberOfBytesToRead,
1633 _Out_ LPDWORD lpNumberOfBytesRead,
1634 _In_ BOOL bAbort,
1635 _In_ BOOL bProcessSecurity,
1636 _Inout_ LPVOID *lpContext);
1637
1639
1640BOOL
1641WINAPI
1646 _Out_ LPDWORD lpNumberOfBytesWritten,
1647 _In_ BOOL bAbort,
1648 _In_ BOOL bProcessSecurity,
1649 _Inout_ LPVOID *lpContext);
1650
1654#if (_WIN32_WINNT >= 0x0500)
1656#endif
1661
1662BOOL
1663WINAPI
1665 _In_ LPCSTR lpNamedPipeName,
1666 _In_reads_bytes_opt_(nInBufferSize) LPVOID lpInBuffer,
1667 _In_ DWORD nInBufferSize,
1668 _Out_writes_bytes_to_opt_(nOutBufferSize, *lpBytesRead) LPVOID lpOutBuffer,
1669 _In_ DWORD nOutBufferSize,
1670 _Out_ LPDWORD lpBytesRead,
1671 _In_ DWORD nTimeOut);
1672
1673BOOL
1674WINAPI
1676 _In_ LPCWSTR lpNamedPipeName,
1677 _In_reads_bytes_opt_(nInBufferSize) LPVOID lpInBuffer,
1678 _In_ DWORD nInBufferSize,
1679 _Out_writes_bytes_to_opt_(nOutBufferSize, *lpBytesRead) LPVOID lpOutBuffer,
1680 _In_ DWORD nOutBufferSize,
1681 _Out_ LPDWORD lpBytesRead,
1682 _In_ DWORD nTimeOut);
1683
1686#if (_WIN32_WINNT >= 0x0600)
1687BOOL WINAPI CancelIoEx(HANDLE,LPOVERLAPPED);
1688BOOL WINAPI CancelSynchronousIo(HANDLE);
1689#endif
1691
1692#if (_WIN32_WINNT >= 0x0501)
1693
1694BOOL
1695WINAPI
1698 _Out_writes_opt_(OemNameSize) LPSTR lpOemName,
1699 _In_ DWORD OemNameSize,
1700 _Out_opt_ PBOOL pbNameContainsSpaces,
1701 _Out_ PBOOL pbNameLegal);
1702
1703BOOL
1704WINAPI
1707 _Out_writes_opt_(OemNameSize) LPSTR lpOemName,
1708 _In_ DWORD OemNameSize,
1709 _Out_opt_ PBOOL pbNameContainsSpaces,
1710 _Out_ PBOOL pbNameLegal);
1711
1713#endif
1714
1726#if (_WIN32_WINNT >= 0x0400)
1728#endif
1731BOOL WINAPI CopyFileW(_In_ LPCWSTR lpExistingFileName, _In_ LPCWSTR lpNewFileName, _In_ BOOL bFailIfExists);
1734#define MoveMemory RtlMoveMemory
1735#define CopyMemory RtlCopyMemory
1736#define FillMemory RtlFillMemory
1737#define ZeroMemory RtlZeroMemory
1738#define SecureZeroMemory RtlSecureZeroMemory
1740#if (_WIN32_WINNT >= 0x0501)
1741HANDLE WINAPI CreateActCtxA(_In_ PCACTCTXA);
1742HANDLE WINAPI CreateActCtxW(_In_ PCACTCTXW);
1743#endif
1750#if (_WIN32_WINNT >= 0x0600)
1753#endif
1755#if (_WIN32_WINNT >= 0x0400)
1757#endif
1762#if (_WIN32_WINNT >= 0x0500)
1765#endif
1767#if (_WIN32_WINNT >= 0x0500)
1772#endif
1775#if (_WIN32_WINNT >= 0x0501)
1776HANDLE WINAPI CreateMemoryResourceNotification(MEMORY_RESOURCE_NOTIFICATION_TYPE);
1777#endif
1780#if (_WIN32_WINNT >= 0x0600)
1783#endif
1790
1791BOOL
1792WINAPI
1799 _In_ BOOL,
1800 _In_ DWORD,
1805
1810
1811BOOL
1812WINAPI
1814 _In_ HANDLE ExistingTokenHandle,
1816 _In_ DWORD DisableSidCount,
1817 _In_reads_opt_(DisableSidCount) PSID_AND_ATTRIBUTES SidsToDisable,
1818 _In_ DWORD DeletePrivilegeCount,
1819 _In_reads_opt_(DeletePrivilegeCount) PLUID_AND_ATTRIBUTES PrivilegesToDelete,
1820 _In_ DWORD RestrictedSidCount,
1821 _In_reads_opt_(RestrictedSidCount) PSID_AND_ATTRIBUTES SidsToRestrict,
1823
1826#if (_WIN32_WINNT >= 0x0600)
1829#endif
1831
1832#if (_WIN32_WINNT >= 0x0500)
1833
1835
1836BOOL
1837WINAPI
1843 _In_ DWORD,
1844 _In_ DWORD,
1845 _In_ ULONG);
1846
1848BOOL
1849WINAPI
1851 _In_opt_ HANDLE TimerQueue,
1854 _In_ ULONG Period);
1855
1856#endif /* (_WIN32_WINNT >= 0x0500) */
1857
1861#if (_WIN32_WINNT >= 0x0600)
1863HANDLE WINAPI CreateWaitableTimerExW(LPSECURITY_ATTRIBUTES,LPCWSTR,DWORD,DWORD);
1864#endif
1865#if (_WIN32_WINNT >= 0x0501)
1868#endif
1870#if (_WIN32_WINNT >= 0x0501)
1872#endif
1874#if (_WIN32_WINNT >= 0x0501)
1877#endif
1884#define DefineHandleTable(w) ((w),TRUE)
1891#if (_WIN32_WINNT >= 0x0500)
1897#endif
1902
1903#if (_WIN32_WINNT >= 0x0500)
1904
1905_Success_(return != FALSE)
1906BOOL
1907WINAPI
1909 _In_ LPCSTR Hostname,
1910 _Out_writes_to_opt_(*nSize, *nSize + 1) LPSTR ComputerName,
1912
1913_Success_(return != FALSE)
1914BOOL
1915WINAPI
1917 _In_ LPCWSTR Hostname,
1918 _Out_writes_to_opt_(*nSize, *nSize + 1) LPWSTR ComputerName,
1920
1921#endif
1922
1957#if (_WIN32_WINNT >= 0x0501)
1961#endif
1972#if (_WIN32_WINNT >= 0x0501)
1974#endif
1976
1977#if (_WIN32_WINNT >= 0x0500)
1978
1979HANDLE
1980WINAPI
1982 _Out_writes_(cchBufferLength) LPSTR lpszVolumeName,
1983 _In_ DWORD cchBufferLength);
1984
1986
1987HANDLE
1988WINAPI
1990 _In_ LPCSTR lpszRootPathName,
1991 _Out_writes_(cchBufferLength) LPSTR lpszVolumeMountPoint,
1992 _In_ DWORD cchBufferLength);
1993
1994HANDLE
1995WINAPI
1997 _In_ LPCWSTR lpszRootPathName,
1998 _Out_writes_(cchBufferLength) LPWSTR lpszVolumeMountPoint,
1999 _In_ DWORD cchBufferLength);
2000
2001#endif
2002
2006#if (_WIN32_WINNT >= 0x0501)
2008#endif
2009
2010#if (_WIN32_WINNT >= 0x0500)
2011
2012BOOL
2013WINAPI
2015 _Inout_ HANDLE hFindVolume,
2016 _Out_writes_(cchBufferLength) LPSTR lpszVolumeName,
2017 _In_ DWORD cchBufferLength);
2018
2020
2021BOOL
2022WINAPI
2024 _In_ HANDLE hFindVolumeMountPoint,
2025 _Out_writes_(cchBufferLength) LPSTR lpszVolumeMountPoint,
2026 _In_ DWORD cchBufferLength);
2027
2028BOOL
2029WINAPI
2031 _In_ HANDLE hFindVolumeMountPoint,
2032 _Out_writes_(cchBufferLength) LPWSTR lpszVolumeMountPoint,
2033 _In_ DWORD cchBufferLength);
2034
2037
2038#endif
2039
2044
2052DWORD WINAPI FormatMessageA(DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, LPSTR lpBuffer, DWORD nSize, va_list* Arguments);
2053DWORD WINAPI FormatMessageW(DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, LPWSTR lpBuffer, DWORD nSize, va_list* Arguments);
2058#define FreeModule(m) FreeLibrary(m)
2059#define FreeProcInstance(p) (void)(p)
2064#if (_WIN32_WINNT >= 0x0600)
2067#endif
2068
2069UINT
2070WINAPI
2072 _In_ ATOM nAtom,
2073 _Out_writes_to_(nSize, return + 1) LPSTR lpBuffer,
2074 _In_ int nSize);
2075
2076UINT
2077WINAPI
2079 _In_ ATOM nAtom,
2080 _Out_writes_to_(nSize, return + 1) LPWSTR lpBuffer,
2081 _In_ int nSize);
2082
2087
2088_Success_(return != FALSE)
2089BOOL
2090WINAPI
2092 _In_ HANDLE hCommDev,
2095
2103
2104_Success_(return != 0)
2105BOOL
2106WINAPI
2110
2111_Success_(return != 0)
2112BOOL
2113WINAPI
2117
2118#if (_WIN32_WINNT >= 0x0500)
2119BOOL WINAPI GetComputerNameExA(COMPUTER_NAME_FORMAT,LPSTR,LPDWORD);
2120BOOL WINAPI GetComputerNameExW(COMPUTER_NAME_FORMAT,LPWSTR,LPDWORD);
2121#endif
2122#if (_WIN32_WINNT >= 0x0501)
2124#endif
2133#define GetCurrentTime GetTickCount
2134
2135BOOL
2136WINAPI
2138 _In_ LPCSTR lpszName,
2141
2142BOOL
2143WINAPI
2145 _In_ LPCWSTR lpszName,
2148
2153
2154#if (_WIN32_WINNT >= 0x0502)
2155
2156_Success_(return != 0 && return < nBufferLength)
2157DWORD
2158WINAPI
2162
2163_Success_(return != 0 && return < nBufferLength)
2164DWORD
2165WINAPI
2169
2170#endif
2171
2181#if (_WIN32_WINNT >= 0x0600)
2185#endif
2189#if (_WIN32_WINNT >= 0x0600)
2191#endif
2193
2194#if (_WIN32_WINNT >= 0x0600)
2195BOOL
2196WINAPI
2200 _Out_writes_bytes_(dwBufferSize) LPVOID lpFileInformation,
2201 _In_ DWORD dwBufferSize);
2202#endif
2203
2204BOOL
2205WINAPI
2208 _In_ SECURITY_INFORMATION RequestedInformation,
2209 _Out_writes_bytes_to_opt_(nLength, *lpnLengthNeeded) PSECURITY_DESCRIPTOR pSecurityDescriptor,
2211 _Out_ LPDWORD lpnLengthNeeded);
2212
2218#define GetFreeSpace(w) (0x100000L)
2227
2228_Success_(return != 0 && return <= nBufferLength)
2229DWORD
2230WINAPI
2234
2236#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
2239#endif
2245#if (_WIN32_WINNT >= 0x0500)
2248#endif
2249
2250#if _WIN32_WINNT >= 0x0502
2253#endif
2254
2255BOOL
2256WINAPI
2258 _In_ HANDLE hNamedPipe,
2259 _Out_opt_ LPDWORD lpState,
2260 _Out_opt_ LPDWORD lpCurInstances,
2261 _Out_opt_ LPDWORD lpMaxCollectionCount,
2262 _Out_opt_ LPDWORD lpCollectDataTimeout,
2263 _Out_writes_opt_(nMaxUserNameSize) LPSTR lpUserName,
2264 _In_ DWORD nMaxUserNameSize);
2265
2266BOOL
2267WINAPI
2269 _In_ HANDLE hNamedPipe,
2270 _Out_opt_ LPDWORD lpState,
2271 _Out_opt_ LPDWORD lpCurInstances,
2272 _Out_opt_ LPDWORD lpMaxCollectionCount,
2273 _Out_opt_ LPDWORD lpCollectDataTimeout,
2274 _Out_writes_opt_(nMaxUserNameSize) LPWSTR lpUserName,
2275 _In_ DWORD nMaxUserNameSize);
2276
2278#if (_WIN32_WINNT >= 0x0501)
2280#endif
2281
2282BOOL
2283WINAPI
2285 _In_ HANDLE hEventLog,
2290
2298
2299DWORD
2300WINAPI
2302 _In_ LPCSTR lpAppName,
2303 _Out_writes_to_opt_(nSize, return + 1) LPSTR lpReturnedString,
2306
2307DWORD
2308WINAPI
2310 _In_ LPCWSTR lpAppName,
2311 _Out_writes_to_opt_(nSize, return + 1) LPWSTR lpReturnedString,
2314
2315DWORD
2316WINAPI
2318 _Out_writes_to_opt_(nSize, return + 1) LPSTR lpszReturnBuffer,
2321
2322DWORD
2323WINAPI
2325 _Out_writes_to_opt_(nSize, return + 1) LPWSTR lpszReturnBuffer,
2328
2329DWORD
2330WINAPI
2332 _In_opt_ LPCSTR lpAppName,
2333 _In_opt_ LPCSTR lpKeyName,
2334 _In_opt_ LPCSTR lpDefault,
2335 _Out_writes_to_opt_(nSize, return + 1) LPSTR lpReturnedString,
2338
2339DWORD
2340WINAPI
2342 _In_opt_ LPCWSTR lpAppName,
2343 _In_opt_ LPCWSTR lpKeyName,
2344 _In_opt_ LPCWSTR lpDefault,
2345 _Out_writes_to_opt_(nSize, return + 1) LPWSTR lpReturnedString,
2348
2349BOOL
2350WINAPI
2352 _In_ LPCSTR lpszSection,
2353 _In_ LPCSTR lpszKey,
2354 _Out_writes_bytes_opt_(uSizeStruct) LPVOID lpStruct,
2355 _In_ UINT uSizeStruct,
2356 _In_opt_ LPCSTR szFile);
2357
2358BOOL
2359WINAPI
2361 _In_ LPCWSTR lpszSection,
2362 _In_ LPCWSTR lpszKey,
2363 _Out_writes_bytes_opt_(uSizeStruct) LPVOID lpStruct,
2364 _In_ UINT uSizeStruct,
2365 _In_opt_ LPCWSTR szFile);
2366
2369#if (_WIN32_WINNT >= 0x0502)
2371#endif
2374#if (_WIN32_WINNT >= 0x0502)
2377#endif
2378#if (_WIN32_WINNT >= 0x0500)
2380#endif
2385HWINSTA WINAPI GetProcessWindowStation(void);
2389
2390DWORD
2391WINAPI
2393 _In_ LPCSTR lpAppName,
2394 _Out_writes_to_opt_(nSize, return + 1) LPSTR lpReturnedString,
2395 _In_ DWORD nSize);
2396
2397DWORD
2398WINAPI
2400 _In_ LPCWSTR lpAppName,
2401 _Out_writes_to_opt_(nSize, return + 1) LPWSTR lpReturnedString,
2402 _In_ DWORD nSize);
2403
2404DWORD
2405WINAPI
2407 _In_opt_ LPCSTR lpAppName,
2408 _In_opt_ LPCSTR lpKeyName,
2409 _In_opt_ LPCSTR lpDefault,
2410 _Out_writes_to_opt_(nSize, return + 1) LPSTR lpReturnedString,
2411 _In_ DWORD nSize);
2412
2413DWORD
2414WINAPI
2416 _In_opt_ LPCWSTR lpAppName,
2417 _In_opt_ LPCWSTR lpKeyName,
2418 _In_opt_ LPCWSTR lpDefault,
2419 _Out_writes_to_opt_(nSize, return + 1) LPWSTR lpReturnedString,
2420 _In_ DWORD nSize);
2421
2430
2431_Success_(return != 0 && return < cchBuffer)
2432DWORD
2433WINAPI
2435 _In_ LPCSTR lpszLongPath,
2436 _Out_writes_to_opt_(cchBuffer, return + 1) LPSTR lpszShortPath,
2438
2449
2452#if (_WIN32_WINNT >= 0x0502)
2454#endif
2456#if (_WIN32_WINNT >= 0x0501)
2458#endif
2461#if (_WIN32_WINNT >= 0x0500)
2464#endif
2465
2466#if (_WIN32_WINNT >= 0x0501)
2467
2468_Success_(return != 0 && return < uSize)
2469UINT
2470WINAPI
2472 _Out_writes_to_opt_(uSize, return + 1) LPSTR lpBuffer,
2473 _In_ UINT uSize);
2474
2475_Success_(return != 0 && return < uSize)
2476UINT
2477WINAPI
2479 _Out_writes_to_opt_(uSize, return + 1) LPWSTR lpBuffer,
2480 _In_ UINT uSize);
2481
2482#endif
2483
2484DWORD
2485WINAPI
2487 _In_ HANDLE hDevice,
2488 _In_ DWORD dwOperation,
2490 _Out_writes_bytes_(*lpdwSize) LPVOID lpTapeInformation);
2491
2494
2495UINT
2496WINAPI
2498 _In_ LPCSTR lpPathName,
2499 _In_ LPCSTR lpPrefixString,
2500 _In_ UINT uUnique,
2501 _Out_writes_(MAX_PATH) LPSTR lpTempFileName);
2502
2504
2505DWORD
2506WINAPI
2510
2513#if (_WIN32_WINNT >= 0x0502)
2515#endif
2521#if (_WIN32_WINNT >= 0x0600)
2523#endif
2527
2528BOOL
2529WINAPI
2531 _Out_writes_to_opt_(*pcbBuffer, *pcbBuffer) LPSTR lpBuffer,
2532 _Inout_ LPDWORD pcbBuffer);
2533
2534BOOL
2535WINAPI
2537 _Out_writes_to_opt_(*pcbBuffer, *pcbBuffer) LPWSTR lpBuffer,
2538 _Inout_ LPDWORD pcbBuffer);
2539
2540DWORD WINAPI GetVersion(void);
2543
2544BOOL
2545WINAPI
2547 _In_opt_ LPCSTR lpRootPathName,
2548 _Out_writes_opt_(nVolumeNameSize) LPSTR lpVolumeNameBuffer,
2549 _In_ DWORD nVolumeNameSize,
2550 _Out_opt_ LPDWORD lpVolumeSerialNumber,
2551 _Out_opt_ LPDWORD lpMaximumComponentLength,
2552 _Out_opt_ LPDWORD lpFileSystemFlags,
2553 _Out_writes_opt_(nFileSystemNameSize) LPSTR lpFileSystemNameBuffer,
2554 _In_ DWORD nFileSystemNameSize);
2555
2557
2558#if (_WIN32_WINNT >= 0x0500)
2559
2560BOOL
2561WINAPI
2563 _In_ LPCSTR lpszVolumeMountPoint,
2564 _Out_writes_(cchBufferLength) LPSTR lpszVolumeName,
2565 _In_ DWORD cchBufferLength);
2566
2568
2569BOOL
2570WINAPI
2572 _In_ LPCSTR lpszFileName,
2573 _Out_writes_(cchBufferLength) LPSTR lpszVolumePathName,
2574 _In_ DWORD cchBufferLength);
2575
2577
2578#endif
2579
2580#if (_WIN32_WINNT >= 0x0501)
2581
2582BOOL
2583WINAPI
2585 _In_ LPCSTR lpszVolumeName,
2586 _Out_writes_to_opt_(cchBufferLength, *lpcchReturnLength) _Post_ _NullNull_terminated_ LPCH lpszVolumePathNames,
2587 _In_ DWORD cchBufferLength,
2588 _Out_ PDWORD lpcchReturnLength);
2589
2591
2592#endif
2593
2601SIZE_T WINAPI GlobalCompact(_In_ DWORD); /* Obsolete: Has no effect. */
2603#define GlobalDiscard(m) GlobalReAlloc((m),0,GMEM_MOVEABLE)
2606VOID WINAPI GlobalFix(_In_ HGLOBAL); /* Obsolete: Has no effect. */
2607UINT WINAPI GlobalFlags(_In_ HGLOBAL); /* Obsolete: Has no effect. */
2609
2610UINT
2611WINAPI
2613 _In_ ATOM nAtom,
2614 _Out_writes_to_(nSize, return + 1) LPSTR lpBuffer,
2615 _In_ int nSize);
2616
2617UINT
2618WINAPI
2620 _In_ ATOM nAtom,
2621 _Out_writes_to_(nSize, return + 1) LPWSTR lpBuffer,
2622 _In_ int nSize);
2623
2627#if (_WIN32_WINNT >= 0x0500)
2628BOOL WINAPI GlobalMemoryStatusEx(LPMEMORYSTATUSEX);
2629#endif
2632VOID WINAPI GlobalUnfix(_In_ HGLOBAL); /* Obsolete: Has no effect. */
2634BOOL WINAPI GlobalUnWire(_In_ HGLOBAL); /* Obsolete: Has no effect. */
2635PVOID WINAPI GlobalWire(_In_ HGLOBAL); /* Obsolete: Has no effect. */
2636#define HasOverlappedIoCompleted(lpOverlapped) ((lpOverlapped)->Internal != STATUS_PENDING)
2643#if (_WIN32_WINNT >= 0x0501)
2645#endif
2647#if (_WIN32_WINNT >= 0x0501)
2649#endif
2660#if (_WIN32_WINNT >= 0x0600)
2661VOID WINAPI InitializeConditionVariable(PCONDITION_VARIABLE);
2662#endif
2668
2669#if (_WIN32_WINNT >= 0x0600)
2671#endif
2672
2681#if (_WIN32_WINNT >= 0x0501)
2683#endif
2686
2687BOOL
2688WINAPI
2690 _In_reads_bytes_(iSize) CONST VOID *lpv,
2691 _In_ int iSize,
2692 _Inout_opt_ LPINT lpiResult);
2693
2694#if (_WIN32_WINNT >= 0x0600)
2696#endif
2700#if (_WIN32_WINNT >= 0x0501)
2703#endif
2705#define LimitEmsPages(n)
2713SIZE_T WINAPI LocalCompact(_In_ UINT); /* Obsolete: Has no effect. */
2714#define LocalDiscard(m) (LocalReAlloc((m),0,LMEM_MOVEABLE))
2716UINT WINAPI LocalFlags(_In_ HLOCAL); /* Obsolete: Has no effect. */
2721SIZE_T WINAPI LocalShrink(_In_ HLOCAL, _In_ UINT); /* Obsolete: Has no effect. */
2727#define LockSegment(w) GlobalFix((HANDLE)(w)) /* Obsolete: Has no effect. */
2730
2731_Success_(return != FALSE)
2732BOOL
2733WINAPI
2735 _In_ LPSTR lpszUsername,
2745
2746_Success_(return != FALSE)
2747BOOL
2748WINAPI
2750 _In_ LPWSTR lpszUsername,
2760
2761_Success_(return != FALSE)
2762BOOL
2763WINAPI
2765 _In_opt_ LPCSTR lpSystemName,
2772
2773_Success_(return != FALSE)
2774BOOL
2775WINAPI
2777 _In_opt_ LPCWSTR lpSystemName,
2784
2785_Success_(return != FALSE)
2786BOOL
2787WINAPI
2789 _In_opt_ LPCSTR lpSystemName,
2790 _In_ PSID Sid,
2796
2797_Success_(return != FALSE)
2798BOOL
2799WINAPI
2801 _In_opt_ LPCWSTR lpSystemName,
2802 _In_ PSID Sid,
2808
2809_Success_(return != FALSE)
2810BOOL
2811WINAPI
2813 _In_opt_ LPCSTR lpSystemName,
2818
2819_Success_(return != FALSE)
2820BOOL
2821WINAPI
2823 _In_opt_ LPCWSTR lpSystemName,
2828
2829_Success_(return != FALSE)
2830BOOL
2831WINAPI
2833 _In_opt_ LPCSTR lpSystemName,
2837
2838_Success_(return != FALSE)
2839BOOL
2840WINAPI
2842 _In_opt_ LPCWSTR lpSystemName,
2846
2849
2850LPSTR
2851WINAPI
2853 _Inout_updates_z_(_String_length_(lpString1) + _String_length_(lpString2) + 1) LPSTR lpString1,
2854 _In_ LPCSTR lpString2);
2855
2856LPWSTR
2857WINAPI
2859 _Inout_updates_z_(_String_length_(lpString1) + _String_length_(lpString2) + 1) LPWSTR lpString1,
2860 _In_ LPCWSTR lpString2);
2861
2866
2867LPSTR
2868WINAPI
2870 _Out_writes_(_String_length_(lpString2) + 1) LPSTR lpString1,
2871 _In_ LPCSTR lpString2);
2872
2873LPWSTR
2874WINAPI
2876 _Out_writes_(_String_length_(lpString2) + 1) LPWSTR lpString1,
2877 _In_ LPCWSTR lpString2);
2878
2884#define MakeProcInstance(p,i) (p)
2895int WINAPI MulDiv(_In_ int, _In_ int, _In_ int);
2912#if (_WIN32_WINNT >= 0x0600)
2914#endif
2923#if (_WIN32_WINNT >= 0x0500) || (_WIN32_WINDOWS >= 0x0490)
2925#endif
2937#if (_WIN32_WINNT >= 0x0500)
2939#endif
2942
2943#if (_WIN32_WINNT >= 0x0501)
2944BOOL
2945WINAPI
2948 _In_ HANDLE hActCtx,
2949 _In_opt_ PVOID pvSubInstance,
2950 _In_ ULONG ulInfoClass,
2951 _Out_writes_bytes_to_opt_(cbBuffer, *pcbWrittenOrRequired) PVOID pvBuffer,
2952 _In_ SIZE_T cbBuffer,
2953 _Out_opt_ SIZE_T *pcbWrittenOrRequired);
2954#endif
2955
2956DWORD
2957WINAPI
2959 _In_opt_ LPCSTR lpDeviceName,
2960 _Out_writes_to_opt_(ucchMax, return) LPSTR lpTargetPath,
2961 _In_ DWORD ucchMax);
2962
2964#if (_WIN32_WINNT >= 0x0501)
2966#endif
2969#if (_WIN32_WINNT >= 0x0600)
2971#endif
2973#if (_WIN32_WINNT >= 0x0500)
2975#endif
2977
2978BOOL
2979WINAPI
2981 _In_opt_ HANDLE hJob,
2982 _In_ JOBOBJECTINFOCLASS JobObjectInformationClass,
2983 _Out_writes_bytes_to_(cbJobObjectInformationLength, *lpReturnLength) LPVOID lpJobObjectInformation,
2984 _In_ DWORD cbJobObjectInformationLength,
2985 _Out_opt_ LPDWORD lpReturnLength);
2986
2987BOOL
2988WINAPI
2990 _In_ HANDLE hDirectory,
2993 _In_ BOOL bWatchSubtree,
2994 _In_ DWORD dwNotifyFilter,
2997 _In_opt_ LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine);
2998
2999BOOL
3000WINAPI
3002 _In_ HANDLE hEventLog,
3003 _In_ DWORD dwReadFlags,
3004 _In_ DWORD dwRecordOffset,
3005 _Out_writes_bytes_to_(nNumberOfBytesToRead, *pnBytesRead) LPVOID lpBuffer,
3006 _In_ DWORD nNumberOfBytesToRead,
3007 _Out_ DWORD *pnBytesRead,
3008 _Out_ DWORD *pnMinNumberOfBytesNeeded);
3009
3010BOOL
3011WINAPI
3013 _In_ HANDLE hEventLog,
3014 _In_ DWORD dwReadFlags,
3015 _In_ DWORD dwRecordOffset,
3016 _Out_writes_bytes_to_(nNumberOfBytesToRead, *pnBytesRead) LPVOID lpBuffer,
3017 _In_ DWORD nNumberOfBytesToRead,
3018 _Out_ DWORD *pnBytesRead,
3019 _Out_ DWORD *pnMinNumberOfBytesNeeded);
3020
3025#if (_WIN32_WINNT >= 0x0600)
3026VOID WINAPI RecoveryFinished(BOOL);
3027HRESULT WINAPI RecoveryInProgress(OUT PBOOL);
3030#endif
3033#if (_WIN32_WINNT >= 0x0500)
3036#endif
3037#if (_WIN32_WINNT >= 0x0501)
3039#endif
3042#if (_WIN32_WINNT >= 0x0600)
3045#endif
3048#if (_WIN32_WINNT >= 0x0500)
3049ULONG WINAPI RemoveVectoredExceptionHandler(_In_ PVOID);
3050ULONG WINAPI RemoveVectoredContinueHandler(_In_ PVOID);
3051#endif
3052#if (_WIN32_WINNT >= 0x0500)
3055#endif
3056
3057BOOL
3058WINAPI
3060 _In_ HANDLE hEventLog,
3061 _In_ WORD wType,
3062 _In_ WORD wCategory,
3063 _In_ DWORD dwEventID,
3064 _In_opt_ PSID lpUserSid,
3065 _In_ WORD wNumStrings,
3066 _In_ DWORD dwDataSize,
3067 _In_reads_opt_(wNumStrings) LPCSTR *lpStrings,
3068 _In_reads_bytes_opt_(dwDataSize) LPVOID lpRawData);
3069
3070BOOL
3071WINAPI
3073 _In_ HANDLE hEventLog,
3074 _In_ WORD wType,
3075 _In_ WORD wCategory,
3076 _In_ DWORD dwEventID,
3077 _In_opt_ PSID lpUserSid,
3078 _In_ WORD wNumStrings,
3079 _In_ DWORD dwDataSize,
3080 _In_reads_opt_(wNumStrings) LPCWSTR *lpStrings,
3081 _In_reads_bytes_opt_(dwDataSize) LPVOID lpRawData);
3082
3085#if (_WIN32_WINNT >= 0x0510)
3086VOID WINAPI RestoreLastError(_In_ DWORD);
3087#endif
3090
3091_Success_(return != 0 && return < nBufferLength)
3092DWORD
3093WINAPI
3095 _In_opt_ LPCSTR lpPath,
3101
3104 _In_opt_ LPCWSTR lpPath,
3112
3113BOOL
3114WINAPI
3116 _In_ HANDLE hCommDev,
3118 _In_ DWORD dwSize);
3119
3125#if (_WIN32_WINNT >= 0x0500)
3126BOOL WINAPI SetComputerNameExA(_In_ COMPUTER_NAME_FORMAT, _In_ LPCSTR);
3127BOOL WINAPI SetComputerNameExW(COMPUTER_NAME_FORMAT,LPCWSTR);
3128#endif
3131
3132BOOL
3133WINAPI
3135 _In_ LPCSTR lpszName,
3137 _In_ DWORD dwSize);
3138
3139BOOL
3140WINAPI
3142 _In_ LPCWSTR lpszName,
3144 _In_ DWORD dwSize);
3145
3146#if (_WIN32_WINNT >= 0x0502)
3149#endif
3158#if (_WIN32_WINNT >= 0x0600)
3160#endif
3162#if (_WIN32_WINNT >= 0x0600)
3165#endif
3170#if (_WIN32_WINNT >= 0x0501)
3173#endif
3175#if (_WIN32_WINNT >= 0x0501)
3177#endif
3178
3179#if (_WIN32_WINNT >= 0x0502)
3180
3182UINT
3183WINAPI
3185 _In_ DWORD FirmwareTableProviderSignature,
3186 _Out_writes_bytes_to_opt_(BufferSize, return) PVOID pFirmwareTableEnumBuffer,
3188
3190UINT
3191WINAPI
3193 _In_ DWORD FirmwareTableProviderSignature,
3195 _Out_writes_bytes_to_opt_(BufferSize, return) PVOID pFirmwareTableBuffer,
3197
3198_Success_(return > 0)
3200DWORD
3201WINAPI
3202GetFirmwareEnvironmentVariableA(
3204 _In_ LPCSTR lpGuid,
3206 _In_ DWORD nSize);
3207
3208_Success_(return > 0)
3210DWORD
3211WINAPI
3212GetFirmwareEnvironmentVariableW(
3214 _In_ LPCWSTR lpGuid,
3216 _In_ DWORD nSize);
3217
3218#ifdef UNICODE
3219#define GetFirmwareEnvironmentVariable GetFirmwareEnvironmentVariableW
3220#else
3221#define GetFirmwareEnvironmentVariable GetFirmwareEnvironmentVariableA
3222#endif
3223
3225BOOL
3226WINAPI
3229 _In_ LPCSTR lpGuid,
3231 _In_ DWORD nSize);
3232
3234BOOL
3235WINAPI
3238 _In_ LPCWSTR lpGuid,
3240 _In_ DWORD nSize);
3241
3242#ifdef UNICODE
3243#define SetFirmwareEnvironmentVariable SetFirmwareEnvironmentVariableW
3244#else
3245#define SetFirmwareEnvironmentVariable SetFirmwareEnvironmentVariableA
3246#endif
3247
3248#endif /* _WIN32_WINNT >= 0x0502 */
3249
3250#if (_WIN32_WINNT >= 0x0602)
3251
3252_Success_(return > 0)
3254DWORD
3255WINAPI
3256GetFirmwareEnvironmentVariableExW(
3258 _In_ LPCWSTR lpGuid,
3261 _Out_opt_ PDWORD pdwAttribubutes);
3262
3263_Success_(return > 0)
3265DWORD
3266WINAPI
3267GetFirmwareEnvironmentVariableExA(
3269 _In_ LPCSTR lpGuid,
3272 _Out_opt_ PDWORD pdwAttribubutes);
3273
3274#ifdef UNICODE
3275#define GetFirmwareEnvironmentVariableEx GetFirmwareEnvironmentVariableExW
3276#else
3277#define GetFirmwareEnvironmentVariableEx GetFirmwareEnvironmentVariableExA
3278#endif
3279
3281BOOL
3282WINAPI
3285 _In_ LPCWSTR lpGuid,
3289
3291BOOL
3292WINAPI
3295 _In_ LPCSTR lpGuid,
3299
3300#ifdef UNICODE
3301#define SetFirmwareEnvironmentVariableEx SetFirmwareEnvironmentVariableExW
3302#else
3303#define SetFirmwareEnvironmentVariableEx SetFirmwareEnvironmentVariableExA
3304#endif
3305
3306_Success_(return)
3308BOOL
3309WINAPI
3310GetFirmwareType(
3311 _Out_ PFIRMWARE_TYPE FirmwareType);
3312
3313#endif /* _WIN32_WINNT >= 0x0602 */
3314
3317
3318BOOL
3319WINAPI
3321 _In_ HANDLE hJob,
3322 _In_ JOBOBJECTINFOCLASS JobObjectInformationClass,
3323 _In_reads_bytes_(cbJobObjectInformationLength) LPVOID lpJobObjectInformation,
3324 _In_ DWORD cbJobObjectInformationLength);
3325
3338#if (_WIN32_WINNT >= 0x0600)
3340#endif
3348#define SetSwapAreaSize(w) (w)
3366#if (_WIN32_WINNT >= 0x0500)
3369#endif
3374#if (_WIN32_WINNT >= 0x0600)
3377#endif
3397#define UnlockResource(handle) ((handle), 0)
3398#define UnlockSegment(w) GlobalUnfix((HANDLE)(w)) /* Obsolete: Has no effect. */
3400#if (_WIN32_WINNT >= 0x0500)
3403#endif
3404
3405BOOL
3406WINAPI
3408 _In_ HANDLE hUpdate,
3409 _In_ LPCSTR lpType,
3411 _In_ WORD wLanguage,
3413 _In_ DWORD cb);
3414
3415BOOL
3416WINAPI
3418 _In_ HANDLE hUpdate,
3419 _In_ LPCWSTR lpType,
3421 _In_ WORD wLanguage,
3423 _In_ DWORD cb);
3424
3439
3440DWORD
3441WINAPI
3443 _In_ DWORD nCount,
3444 _In_reads_(nCount) CONST HANDLE *lpHandles,
3445 _In_ BOOL bWaitAll,
3446 _In_ DWORD dwMilliseconds);
3447
3453#if (_WIN32_WINNT >= 0x0600)
3454VOID WINAPI WakeConditionVariable(PCONDITION_VARIABLE);
3455VOID WINAPI WakeAllConditionVariable(PCONDITION_VARIABLE);
3456#endif
3469
3470BOOL
3471WINAPI
3473 _In_ LPCSTR lpszSection,
3474 _In_ LPCSTR lpszKey,
3475 _In_reads_bytes_opt_(uSizeStruct) LPVOID lpStruct,
3476 _In_ UINT uSizeStruct,
3477 _In_opt_ LPCSTR szFile);
3478
3479BOOL
3480WINAPI
3482 _In_ LPCWSTR lpszSection,
3483 _In_ LPCWSTR lpszKey,
3484 _In_reads_bytes_opt_(uSizeStruct) LPVOID lpStruct,
3485 _In_ UINT uSizeStruct,
3486 _In_opt_ LPCWSTR szFile);
3487
3494
3495#define Yield()
3496
3497#if (_WIN32_WINNT >= 0x0501)
3500#endif
3501
3502#if (_WIN32_WINNT >= 0x0500)
3503
3504BOOL
3505WINAPI
3508 _Inout_ PULONG_PTR NumberOfPages,
3509 _Out_writes_to_(*NumberOfPages, *NumberOfPages) PULONG_PTR PageArray);
3510
3511BOOL
3512WINAPI
3515 _Inout_ PULONG_PTR NumberOfPages,
3516 _In_reads_(*NumberOfPages) PULONG_PTR PageArray);
3517
3518BOOL
3519WINAPI
3522 _In_ ULONG_PTR NumberOfPages,
3523 _In_reads_opt_(NumberOfPages) PULONG_PTR PageArray);
3524
3525BOOL
3526WINAPI
3528 _In_reads_(NumberOfPages) PVOID *VirtualAddresses,
3529 _In_ ULONG_PTR NumberOfPages,
3530 _In_reads_opt_(NumberOfPages) PULONG_PTR PageArray);
3531
3532#endif
3533
3534#ifdef UNICODE
3541#if (_WIN32_WINNT >= 0x0501)
3542typedef ACTCTXW ACTCTX,*PACTCTX;
3543typedef PCACTCTXW PCACTCTX;
3544#endif
3545#define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
3546#define AddAtom AddAtomW
3547#define BackupEventLog BackupEventLogW
3548#define BeginUpdateResource BeginUpdateResourceW
3549#define BuildCommDCB BuildCommDCBW
3550#define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
3551#define CallNamedPipe CallNamedPipeW
3552#if (_WIN32_WINNT >= 0x0501)
3553#define CheckNameLegalDOS8Dot3 CheckNameLegalDOS8Dot3W
3554#endif
3555#define ClearEventLog ClearEventLogW
3556#define CommConfigDialog CommConfigDialogW
3557#define CopyFile CopyFileW
3558#define CopyFileEx CopyFileExW
3559#if (_WIN32_WINNT >= 0x0501)
3560#define CreateActCtx CreateActCtxW
3561#endif
3562#define CreateDirectory CreateDirectoryW
3563#define CreateDirectoryEx CreateDirectoryExW
3564#define CreateEvent CreateEventW
3565#define CreateFile CreateFileW
3566#define CreateFileMapping CreateFileMappingW
3567#if (_WIN32_WINNT >= 0x0500)
3568#define CreateHardLink CreateHardLinkW
3569#define CreateJobObject CreateJobObjectW
3570#endif
3571#define CreateMailslot CreateMailslotW
3572#define CreateMutex CreateMutexW
3573#define CreateNamedPipe CreateNamedPipeW
3574#define CreateProcess CreateProcessW
3575#define CreateProcessAsUser CreateProcessAsUserW
3576#define CreateSemaphore CreateSemaphoreW
3577#define CreateWaitableTimer CreateWaitableTimerW
3578#define DecryptFile DecryptFileW
3579#define DefineDosDevice DefineDosDeviceW
3580#define DeleteFile DeleteFileW
3581#if (_WIN32_WINNT >= 0x0500)
3582#define DeleteVolumeMountPoint DeleteVolumeMountPointW
3583#define DnsHostnameToComputerName DnsHostnameToComputerNameW
3584#endif
3585#define EncryptFile EncryptFileW
3586#define EndUpdateResource EndUpdateResourceW
3587#define EnumResourceLanguages EnumResourceLanguagesW
3588#define EnumResourceNames EnumResourceNamesW
3589#define EnumResourceTypes EnumResourceTypesW
3590#define ExpandEnvironmentStrings ExpandEnvironmentStringsW
3591#define FatalAppExit FatalAppExitW
3592#define FileEncryptionStatus FileEncryptionStatusW
3593#if (_WIN32_WINNT >= 0x0501)
3594#define FindActCtxSectionString FindActCtxSectionStringW
3595#endif
3596#define FindAtom FindAtomW
3597#define FindFirstChangeNotification FindFirstChangeNotificationW
3598#define FindFirstFile FindFirstFileW
3599#define FindFirstFileEx FindFirstFileExW
3600#if (_WIN32_WINNT >= 0x0500)
3601#define FindFirstVolume FindFirstVolumeW
3602#define FindFirstVolumeMountPoint FindFirstVolumeMountPointW
3603#endif
3604#define FindNextFile FindNextFileW
3605#if (_WIN32_WINNT >= 0x0500)
3606#define FindNextVolume FindNextVolumeW
3607#define FindNextVolumeMountPoint FindNextVolumeMountPointW
3608#endif
3609#define FindResource FindResourceW
3610#define FindResourceEx FindResourceExW
3611#define FormatMessage FormatMessageW
3612#define FreeEnvironmentStrings FreeEnvironmentStringsW
3613#define GetAtomName GetAtomNameW
3614#define GetBinaryType GetBinaryTypeW
3615#define GetCommandLine GetCommandLineW
3616#define GetCompressedFileSize GetCompressedFileSizeW
3617#define GetComputerName GetComputerNameW
3618#if (_WIN32_WINNT >= 0x0500)
3619#define GetComputerNameEx GetComputerNameExW
3620#endif
3621#define GetCurrentDirectory GetCurrentDirectoryW
3622#define GetDefaultCommConfig GetDefaultCommConfigW
3623#define GetDiskFreeSpace GetDiskFreeSpaceW
3624#define GetDiskFreeSpaceEx GetDiskFreeSpaceExW
3625#if (_WIN32_WINNT >= 0x0502)
3626#define GetDllDirectory GetDllDirectoryW
3627#endif
3628#define GetDriveType GetDriveTypeW
3629#define GetEnvironmentStrings GetEnvironmentStringsW
3630#define GetEnvironmentVariable GetEnvironmentVariableW
3631#define GetFileAttributes GetFileAttributesW
3632#define GetFileAttributesEx GetFileAttributesExW
3633#define GetFileSecurity GetFileSecurityW
3634#if (_WIN32_WINNT >= 0x0600)
3635#define GetFinalPathNameByHandle GetFinalPathNameByHandleW
3636#endif
3637#define GetFullPathName GetFullPathNameW
3638#define GetLogicalDriveStrings GetLogicalDriveStringsW
3639#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3640#define GetLongPathName GetLongPathNameW
3641#endif
3642#define GetModuleFileName GetModuleFileNameW
3643#define GetModuleHandle GetModuleHandleW
3644#if (_WIN32_WINNT >= 0x0500)
3645#define GetModuleHandleEx GetModuleHandleExW
3646#endif
3647#define GetNamedPipeHandleState GetNamedPipeHandleStateW
3648#define GetPrivateProfileInt GetPrivateProfileIntW
3649#define GetPrivateProfileSection GetPrivateProfileSectionW
3650#define GetPrivateProfileSectionNames GetPrivateProfileSectionNamesW
3651#define GetPrivateProfileString GetPrivateProfileStringW
3652#define GetPrivateProfileStruct GetPrivateProfileStructW
3653#define GetProfileInt GetProfileIntW
3654#define GetProfileSection GetProfileSectionW
3655#define GetProfileString GetProfileStringW
3656#define GetShortPathName GetShortPathNameW
3657#define GetStartupInfo GetStartupInfoW
3658#define GetSystemDirectory GetSystemDirectoryW
3659#if (_WIN32_WINNT >= 0x0500)
3660#define GetSystemWindowsDirectory GetSystemWindowsDirectoryW
3661#endif
3662#if (_WIN32_WINNT >= 0x0501)
3663#define GetSystemWow64Directory GetSystemWow64DirectoryW
3664#endif
3665#define GetTempFileName GetTempFileNameW
3666#define GetTempPath GetTempPathW
3667#define GetUserName GetUserNameW
3668#define GetVersionEx GetVersionExW
3669#define GetVolumeInformation GetVolumeInformationW
3670#define GetVolumeNameForVolumeMountPoint GetVolumeNameForVolumeMountPointW
3671#define GetVolumePathName GetVolumePathNameW
3672#define GetVolumePathNamesForVolumeName GetVolumePathNamesForVolumeNameW
3673#define GetWindowsDirectory GetWindowsDirectoryW
3674#define GlobalAddAtom GlobalAddAtomW
3675#define GlobalFindAtom GlobalFindAtomW
3676#define GlobalGetAtomName GlobalGetAtomNameW
3677#define IsBadStringPtr IsBadStringPtrW
3678#define LoadLibrary LoadLibraryW
3679#define LoadLibraryEx LoadLibraryExW
3680#define LogonUser LogonUserW
3681#define LogonUserEx LogonUserExW
3682#define LookupAccountName LookupAccountNameW
3683#define LookupAccountSid LookupAccountSidW
3684#define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
3685#define LookupPrivilegeName LookupPrivilegeNameW
3686#define LookupPrivilegeValue LookupPrivilegeValueW
3687#define lstrcat lstrcatW
3688#define lstrcmp lstrcmpW
3689#define lstrcmpi lstrcmpiW
3690#define lstrcpy lstrcpyW
3691#define lstrcpyn lstrcpynW
3692#define lstrlen lstrlenW
3693#define MoveFile MoveFileW
3694#define MoveFileEx MoveFileExW
3695#define MoveFileWithProgress MoveFileWithProgressW
3696#define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
3697#define ObjectDeleteAuditAlarm ObjectDeleteAuditAlarmW
3698#define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
3699#define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
3700#define OpenBackupEventLog OpenBackupEventLogW
3701#define OpenEvent OpenEventW
3702#define OpenEventLog OpenEventLogW
3703#define OpenFileMapping OpenFileMappingW
3704#define OpenMutex OpenMutexW
3705#define OpenSemaphore OpenSemaphoreW
3706#define OutputDebugString OutputDebugStringW
3707#define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
3708#define QueryDosDevice QueryDosDeviceW
3709#define ReadEventLog ReadEventLogW
3710#define RegisterEventSource RegisterEventSourceW
3711#define RemoveDirectory RemoveDirectoryW
3712#if (_WIN32_WINNT >= 0x0500)
3713#define ReplaceFile ReplaceFileW
3714#endif
3715#define ReportEvent ReportEventW
3716#define SearchPath SearchPathW
3717#define SetComputerName SetComputerNameW
3718#define SetComputerNameEx SetComputerNameExW
3719#define SetCurrentDirectory SetCurrentDirectoryW
3720#define SetDefaultCommConfig SetDefaultCommConfigW
3721#if (_WIN32_WINNT >= 0x0502)
3722#define SetDllDirectory SetDllDirectoryW
3723#endif
3724#define SetEnvironmentVariable SetEnvironmentVariableW
3725#define SetFileAttributes SetFileAttributesW
3726#define SetFileSecurity SetFileSecurityW
3727#if (_WIN32_WINNT >= 0x0501)
3728#define SetFileShortName SetFileShortNameW
3729#endif
3730#if (_WIN32_WINNT >= 0x0502)
3731#define SetFirmwareEnvironmentVariable SetFirmwareEnvironmentVariableW
3732#endif
3733#define SetVolumeLabel SetVolumeLabelW
3734#define SetVolumeMountPoint SetVolumeMountPointW
3735#define UpdateResource UpdateResourceW
3736#define VerifyVersionInfo VerifyVersionInfoW
3737#define WaitNamedPipe WaitNamedPipeW
3738#define WritePrivateProfileSection WritePrivateProfileSectionW
3739#define WritePrivateProfileString WritePrivateProfileStringW
3740#define WritePrivateProfileStruct WritePrivateProfileStructW
3741#define WriteProfileSection WriteProfileSectionW
3742#define WriteProfileString WriteProfileStringW
3743#else
3747#if (_WIN32_WINNT >= 0x0501)
3748typedef ACTCTXA ACTCTX,*PACTCTX;
3749typedef PCACTCTXA PCACTCTX;
3750#endif
3754#define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
3755#define AddAtom AddAtomA
3756#define BackupEventLog BackupEventLogA
3757#define BeginUpdateResource BeginUpdateResourceA
3758#define BuildCommDCB BuildCommDCBA
3759#define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
3760#define CallNamedPipe CallNamedPipeA
3761#if (_WIN32_WINNT >= 0x0501)
3762#define CheckNameLegalDOS8Dot3 CheckNameLegalDOS8Dot3A
3763#endif
3764#define ClearEventLog ClearEventLogA
3765#define CommConfigDialog CommConfigDialogA
3766#define CopyFile CopyFileA
3767#define CopyFileEx CopyFileExA
3768#if (_WIN32_WINNT >= 0x0501)
3769#define CreateActCtx CreateActCtxA
3770#endif
3771#define CreateDirectory CreateDirectoryA
3772#define CreateDirectoryEx CreateDirectoryExA
3773#define CreateEvent CreateEventA
3774#define CreateFile CreateFileA
3775#define CreateFileMapping CreateFileMappingA
3776#if (_WIN32_WINNT >= 0x0500)
3777#define CreateHardLink CreateHardLinkA
3778#define CreateJobObject CreateJobObjectA
3779#endif
3780#define CreateMailslot CreateMailslotA
3781#define CreateMutex CreateMutexA
3782#define CreateNamedPipe CreateNamedPipeA
3783#define CreateProcess CreateProcessA
3784#define CreateProcessAsUser CreateProcessAsUserA
3785#define CreateSemaphore CreateSemaphoreA
3786#define CreateWaitableTimer CreateWaitableTimerA
3787#define DecryptFile DecryptFileA
3788#define DefineDosDevice DefineDosDeviceA
3789#define DeleteFile DeleteFileA
3790#if (_WIN32_WINNT >= 0x0500)
3791#define DeleteVolumeMountPoint DeleteVolumeMountPointA
3792#define DnsHostnameToComputerName DnsHostnameToComputerNameA
3793#endif
3794#define EncryptFile EncryptFileA
3795#define EndUpdateResource EndUpdateResourceA
3796#define EnumResourceLanguages EnumResourceLanguagesA
3797#define EnumResourceNames EnumResourceNamesA
3798#define EnumResourceTypes EnumResourceTypesA
3799#define ExpandEnvironmentStrings ExpandEnvironmentStringsA
3800#define FatalAppExit FatalAppExitA
3801#define FileEncryptionStatus FileEncryptionStatusA
3802#if (_WIN32_WINNT >= 0x0501)
3803#define FindActCtxSectionString FindActCtxSectionStringA
3804#endif
3805#define FindAtom FindAtomA
3806#define FindFirstChangeNotification FindFirstChangeNotificationA
3807#define FindFirstFile FindFirstFileA
3808#define FindFirstFileEx FindFirstFileExA
3809#if (_WIN32_WINNT >= 0x0500)
3810#define FindFirstVolume FindFirstVolumeA
3811#define FindFirstVolumeMountPoint FindFirstVolumeMountPointA
3812#endif
3813#define FindNextFile FindNextFileA
3814#if (_WIN32_WINNT >= 0x0500)
3815#define FindNextVolume FindNextVolumeA
3816#define FindNextVolumeMountPoint FindNextVolumeMountPointA
3817#endif
3818#define FindResource FindResourceA
3819#define FindResourceEx FindResourceExA
3820#define FormatMessage FormatMessageA
3821#define FreeEnvironmentStrings FreeEnvironmentStringsA
3822#define GetAtomName GetAtomNameA
3823#define GetBinaryType GetBinaryTypeA
3824#define GetCommandLine GetCommandLineA
3825#define GetComputerName GetComputerNameA
3826#if (_WIN32_WINNT >= 0x0500)
3827#define GetComputerNameEx GetComputerNameExA
3828#endif
3829#define GetCompressedFileSize GetCompressedFileSizeA
3830#define GetCurrentDirectory GetCurrentDirectoryA
3831#define GetDefaultCommConfig GetDefaultCommConfigA
3832#define GetDiskFreeSpace GetDiskFreeSpaceA
3833#define GetDiskFreeSpaceEx GetDiskFreeSpaceExA
3834#if (_WIN32_WINNT >= 0x0502)
3835#define GetDllDirectory GetDllDirectoryA
3836#endif
3837#define GetDriveType GetDriveTypeA
3838#define GetEnvironmentStringsA GetEnvironmentStrings
3839#define GetEnvironmentVariable GetEnvironmentVariableA
3840#define GetFileAttributes GetFileAttributesA
3841#define GetFileAttributesEx GetFileAttributesExA
3842#define GetFileSecurity GetFileSecurityA
3843#if (_WIN32_WINNT >= 0x0600)
3844#define GetFinalPathNameByHandle GetFinalPathNameByHandleA
3845#endif
3846#define GetFullPathName GetFullPathNameA
3847#define GetLogicalDriveStrings GetLogicalDriveStringsA
3848#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
3849#define GetLongPathName GetLongPathNameA
3850#endif
3851#define GetNamedPipeHandleState GetNamedPipeHandleStateA
3852#define GetModuleHandle GetModuleHandleA
3853#if (_WIN32_WINNT >= 0x0500)
3854#define GetModuleHandleEx GetModuleHandleExA
3855#endif
3856#define GetModuleFileName GetModuleFileNameA
3857#define GetPrivateProfileInt GetPrivateProfileIntA
3858#define GetPrivateProfileSection GetPrivateProfileSectionA
3859#define GetPrivateProfileSectionNames GetPrivateProfileSectionNamesA
3860#define GetPrivateProfileString GetPrivateProfileStringA
3861#define GetPrivateProfileStruct GetPrivateProfileStructA
3862#define GetProfileInt GetProfileIntA
3863#define GetProfileSection GetProfileSectionA
3864#define GetProfileString GetProfileStringA
3865#define GetShortPathName GetShortPathNameA
3866#define GetStartupInfo GetStartupInfoA
3867#define GetSystemDirectory GetSystemDirectoryA
3868#if (_WIN32_WINNT >= 0x0500)
3869#define GetSystemWindowsDirectory GetSystemWindowsDirectoryA
3870#endif
3871#if (_WIN32_WINNT >= 0x0501)
3872#define GetSystemWow64Directory GetSystemWow64DirectoryA
3873#endif
3874#define GetTempFileName GetTempFileNameA
3875#define GetTempPath GetTempPathA
3876#define GetUserName GetUserNameA
3877#define GetVersionEx GetVersionExA
3878#define GetVolumeInformation GetVolumeInformationA
3879#define GetVolumeNameForVolumeMountPoint GetVolumeNameForVolumeMountPointA
3880#define GetVolumePathName GetVolumePathNameA
3881#define GetVolumePathNamesForVolumeName GetVolumePathNamesForVolumeNameA
3882#define GetWindowsDirectory GetWindowsDirectoryA
3883#define GlobalAddAtom GlobalAddAtomA
3884#define GlobalFindAtom GlobalFindAtomA
3885#define GlobalGetAtomName GlobalGetAtomNameA
3886#define IsBadStringPtr IsBadStringPtrA
3887#define LoadLibrary LoadLibraryA
3888#define LoadLibraryEx LoadLibraryExA
3889#define LogonUser LogonUserA
3890#define LogonUserEx LogonUserExA
3891#define LookupAccountName LookupAccountNameA
3892#define LookupAccountSid LookupAccountSidA
3893#define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
3894#define LookupPrivilegeName LookupPrivilegeNameA
3895#define LookupPrivilegeValue LookupPrivilegeValueA
3896#define lstrcat lstrcatA
3897#define lstrcmp lstrcmpA
3898#define lstrcmpi lstrcmpiA
3899#define lstrcpy lstrcpyA
3900#define lstrcpyn lstrcpynA
3901#define lstrlen lstrlenA
3902#define MoveFile MoveFileA
3903#define MoveFileEx MoveFileExA
3904#define MoveFileWithProgress MoveFileWithProgressA
3905#define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
3906#define ObjectDeleteAuditAlarm ObjectDeleteAuditAlarmA
3907#define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
3908#define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
3909#define OpenBackupEventLog OpenBackupEventLogA
3910#define OpenEvent OpenEventA
3911#define OpenEventLog OpenEventLogA
3912#define OpenFileMapping OpenFileMappingA
3913#define OpenMutex OpenMutexA
3914#define OpenSemaphore OpenSemaphoreA
3915#define OutputDebugString OutputDebugStringA
3916#define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
3917#define QueryDosDevice QueryDosDeviceA
3918#define ReadEventLog ReadEventLogA
3919#define RegisterEventSource RegisterEventSourceA
3920#define RemoveDirectory RemoveDirectoryA
3921#if (_WIN32_WINNT >= 0x0500)
3922#define ReplaceFile ReplaceFileA
3923#endif
3924#define ReportEvent ReportEventA
3925#define SearchPath SearchPathA
3926#define SetComputerName SetComputerNameA
3927#define SetComputerNameEx SetComputerNameExA
3928#define SetCurrentDirectory SetCurrentDirectoryA
3929#define SetDefaultCommConfig SetDefaultCommConfigA
3930#if (_WIN32_WINNT >= 0x0502)
3931#define SetDllDirectory SetDllDirectoryA
3932#endif
3933#define SetEnvironmentVariable SetEnvironmentVariableA
3934#define SetFileAttributes SetFileAttributesA
3935#define SetFileSecurity SetFileSecurityA
3936#if (_WIN32_WINNT >= 0x0501)
3937#define SetFileShortName SetFileShortNameA
3938#endif
3939#if (_WIN32_WINNT >= 0x0502)
3940#define SetFirmwareEnvironmentVariable SetFirmwareEnvironmentVariableA
3941#endif
3942#define SetVolumeLabel SetVolumeLabelA
3943#define SetVolumeMountPoint SetVolumeMountPointA
3944#define UpdateResource UpdateResourceA
3945#define VerifyVersionInfo VerifyVersionInfoA
3946#define WaitNamedPipe WaitNamedPipeA
3947#define WritePrivateProfileSection WritePrivateProfileSectionA
3948#define WritePrivateProfileString WritePrivateProfileStringA
3949#define WritePrivateProfileStruct WritePrivateProfileStructA
3950#define WriteProfileSection WriteProfileSectionA
3951#define WriteProfileString WriteProfileStringA
3952#endif
3953#endif
3954
3955/* one-time initialisation API */
3959
3960#define INIT_ONCE_CHECK_ONLY RTL_RUN_ONCE_CHECK_ONLY
3961#define INIT_ONCE_ASYNC RTL_RUN_ONCE_ASYNC
3962#define INIT_ONCE_INIT_FAILED RTL_RUN_ONCE_INIT_FAILED
3963
3964#define INIT_ONCE_CTX_RESERVED_BITS RTL_RUN_ONCE_CTX_RESERVED_BITS
3965
3966typedef BOOL
3968 _Inout_ PINIT_ONCE InitOnce,
3971
3972#if _WIN32_WINNT >= 0x0601
3973
3974#define COPYFILE2_MESSAGE_COPY_OFFLOAD 0x00000001L
3975
3976typedef enum _COPYFILE2_MESSAGE_TYPE {
3977 COPYFILE2_CALLBACK_NONE = 0,
3978 COPYFILE2_CALLBACK_CHUNK_STARTED,
3979 COPYFILE2_CALLBACK_CHUNK_FINISHED,
3980 COPYFILE2_CALLBACK_STREAM_STARTED,
3981 COPYFILE2_CALLBACK_STREAM_FINISHED,
3982 COPYFILE2_CALLBACK_POLL_CONTINUE,
3983 COPYFILE2_CALLBACK_ERROR,
3984 COPYFILE2_CALLBACK_MAX,
3985} COPYFILE2_MESSAGE_TYPE;
3986
3987typedef enum _COPYFILE2_MESSAGE_ACTION {
3988 COPYFILE2_PROGRESS_CONTINUE = 0,
3989 COPYFILE2_PROGRESS_CANCEL,
3990 COPYFILE2_PROGRESS_STOP,
3991 COPYFILE2_PROGRESS_QUIET,
3992 COPYFILE2_PROGRESS_PAUSE,
3993} COPYFILE2_MESSAGE_ACTION;
3994
3995typedef enum _COPYFILE2_COPY_PHASE {
3996 COPYFILE2_PHASE_NONE = 0,
3997 COPYFILE2_PHASE_PREPARE_SOURCE,
3998 COPYFILE2_PHASE_PREPARE_DEST,
3999 COPYFILE2_PHASE_READ_SOURCE,
4000 COPYFILE2_PHASE_WRITE_DESTINATION,
4001 COPYFILE2_PHASE_SERVER_COPY,
4002 COPYFILE2_PHASE_NAMEGRAFT_COPY,
4003 COPYFILE2_PHASE_MAX,
4004} COPYFILE2_COPY_PHASE;
4005
4006typedef struct COPYFILE2_MESSAGE {
4007 COPYFILE2_MESSAGE_TYPE Type;
4008 DWORD dwPadding;
4009 union {
4010 struct {
4011 DWORD dwStreamNumber;
4013 HANDLE hSourceFile;
4014 HANDLE hDestinationFile;
4015 ULARGE_INTEGER uliChunkNumber;
4016 ULARGE_INTEGER uliChunkSize;
4017 ULARGE_INTEGER uliStreamSize;
4018 ULARGE_INTEGER uliTotalFileSize;
4019 } ChunkStarted;
4020 struct {
4021 DWORD dwStreamNumber;
4022 DWORD dwFlags;
4023 HANDLE hSourceFile;
4024 HANDLE hDestinationFile;
4025 ULARGE_INTEGER uliChunkNumber;
4026 ULARGE_INTEGER uliChunkSize;
4027 ULARGE_INTEGER uliStreamSize;
4028 ULARGE_INTEGER uliStreamBytesTransferred;
4029 ULARGE_INTEGER uliTotalFileSize;
4030 ULARGE_INTEGER uliTotalBytesTransferred;
4031 } ChunkFinished;
4032 struct {
4033 DWORD dwStreamNumber;
4035 HANDLE hSourceFile;
4036 HANDLE hDestinationFile;
4037 ULARGE_INTEGER uliStreamSize;
4038 ULARGE_INTEGER uliTotalFileSize;
4039 } StreamStarted;
4040 struct {
4041 DWORD dwStreamNumber;
4043 HANDLE hSourceFile;
4044 HANDLE hDestinationFile;
4045 ULARGE_INTEGER uliStreamSize;
4046 ULARGE_INTEGER uliStreamBytesTransferred;
4047 ULARGE_INTEGER uliTotalFileSize;
4048 ULARGE_INTEGER uliTotalBytesTransferred;
4049 } StreamFinished;
4050 struct {
4052 } PollContinue;
4053 struct {
4054 COPYFILE2_COPY_PHASE CopyPhase;
4055 DWORD dwStreamNumber;
4056 HRESULT hrFailure;
4058 ULARGE_INTEGER uliChunkNumber;
4059 ULARGE_INTEGER uliStreamSize;
4060 ULARGE_INTEGER uliStreamBytesTransferred;
4061 ULARGE_INTEGER uliTotalFileSize;
4062 ULARGE_INTEGER uliTotalBytesTransferred;
4063 } Error;
4064 } Info;
4065} COPYFILE2_MESSAGE;
4066
4067typedef COPYFILE2_MESSAGE_ACTION
4068(CALLBACK *PCOPYFILE2_PROGRESS_ROUTINE)(
4069 _In_ const COPYFILE2_MESSAGE *pMessage,
4070 _In_opt_ PVOID pvCallbackContext);
4071
4072typedef struct COPYFILE2_EXTENDED_PARAMETERS {
4073 DWORD dwSize;
4074 DWORD dwCopyFlags;
4075 BOOL *pfCancel;
4076 PCOPYFILE2_PROGRESS_ROUTINE pProgressRoutine;
4077 PVOID pvCallbackContext;
4078} COPYFILE2_EXTENDED_PARAMETERS;
4079
4081HRESULT
4082WINAPI
4083CopyFile2(
4084 _In_ PCWSTR pwszExistingFileName,
4085 _In_ PCWSTR pwszNewFileName,
4086 _In_opt_ COPYFILE2_EXTENDED_PARAMETERS *pExtendedParameters);
4087
4088#endif /* _WIN32_WINNT >= 0x0601 */
4089
4090#if (_WIN32_WINNT >= _WIN32_WINNT_VISTA) || (DLL_EXPORT_VERSION >= _WIN32_WINNT_VISTA)
4091
4093VOID
4094WINAPI
4096 _Out_ PINIT_ONCE InitOnce);
4097
4099BOOL
4100WINAPI
4102 _Inout_ LPINIT_ONCE lpInitOnce,
4104 _Out_ PBOOL fPending,
4106
4108BOOL
4109WINAPI
4111 _Inout_ LPINIT_ONCE lpInitOnce,
4113 _In_opt_ LPVOID lpContext);
4114
4115#endif /* (_WIN32_WINNT >= _WIN32_WINNT_VISTA) || (DLL_EXPORT_VERSION >= _WIN32_WINNT_VISTA) */
4116
4118BOOL
4119WINAPI
4121 _Inout_ PINIT_ONCE InitOnce,
4125
4126
4127#if defined(_SLIST_HEADER_) && !defined(_NTOS_) && !defined(_NTOSP_)
4128
4130VOID
4131WINAPI
4133 _Out_ PSLIST_HEADER ListHead);
4134
4137WINAPI
4139 _Inout_ PSLIST_HEADER ListHead);
4140
4143WINAPI
4145 _Inout_ PSLIST_HEADER ListHead,
4146 _Inout_ PSLIST_ENTRY ListEntry);
4147
4150WINAPI
4152 _Inout_ PSLIST_HEADER ListHead);
4153
4155USHORT
4156WINAPI
4158 _In_ PSLIST_HEADER ListHead);
4159
4160#endif /* _SLIST_HEADER_ */
4161
4162#ifdef __WINESRC__
4163/* Wine specific. Basically MultiByteToWideChar for us. */
4165#endif
4166
4167#ifdef _MSC_VER
4168#pragma warning(pop)
4169#endif
4170
4171#ifdef __cplusplus
4172}
4173#endif
4174
4175#include <synchapi.h>
4176#include <processthreadsapi.h>
4177
4178#endif /* _WINBASE_H */
BOOL WINAPI DECLSPEC_HOTPATCH GetFileInformationByHandleEx(HANDLE handle, FILE_INFO_BY_HANDLE_CLASS class, LPVOID info, DWORD size)
ULONGLONG WINAPI GetTickCount64(VOID)
Definition: GetTickCount64.c:9
unsigned char BOOLEAN
DWORD dwFileAttributes
static GENERIC_MAPPING GenericMapping
Definition: SeInheritance.c:11
Type
Definition: Type.h:7
enum _FIRMWARE_TYPE * PFIRMWARE_TYPE
BOOL WINAPI AddAccessAllowedObjectAce(PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, GUID *ObjectTypeGuid, GUID *InheritedObjectTypeGuid, PSID pSid)
Definition: ac.c:18
BOOL WINAPI AddAccessDeniedObjectAce(PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, GUID *ObjectTypeGuid, GUID *InheritedObjectTypeGuid, PSID pSid)
Definition: ac.c:49
BOOL WINAPI AddAuditAccessObjectAce(PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, GUID *ObjectTypeGuid, GUID *InheritedObjectTypeGuid, PSID pSid, BOOL bAuditSuccess, BOOL bAuditFailure)
Definition: ac.c:80
#define VOID
Definition: acefi.h:82
char * va_list
Definition: acmsvcex.h:78
TOKEN_TYPE
Definition: asmpp.cpp:29
_In_ ULONG FirmwareTableID
Definition: aux_klib.h:91
HWND hWnd
Definition: settings.c:17
BOOL Error
Definition: chkdsk.c:66
WCHAR RootDirectory[MAX_PATH]
Definition: format.c:74
ULONG_PTR * PDWORD_PTR
Definition: basetsd.h:182
return
Definition: dirsup.c:529
BOOL WINAPI GetComputerNameExW(COMPUTER_NAME_FORMAT NameType, LPWSTR lpBuffer, LPDWORD nSize)
Definition: compname.c:216
BOOL WINAPI SetComputerNameExA(COMPUTER_NAME_FORMAT NameType, LPCSTR lpBuffer)
Definition: compname.c:627
BOOL WINAPI DnsHostnameToComputerNameA(LPCSTR Hostname, LPSTR ComputerName, LPDWORD nSize)
Definition: compname.c:700
BOOL WINAPI DnsHostnameToComputerNameW(LPCWSTR hostname, LPWSTR computername, LPDWORD size)
Definition: compname.c:735
BOOL WINAPI GetComputerNameW(LPWSTR lpBuffer, LPDWORD lpnSize)
Definition: compname.c:446
BOOL WINAPI SetComputerNameExW(COMPUTER_NAME_FORMAT NameType, LPCWSTR lpBuffer)
Definition: compname.c:648
SIZE_T LPDEBUG_EVENT
Definition: cordebug.idl:83
SIZE_T LPSTARTUPINFOW
Definition: cordebug.idl:85
SIZE_T LPPROCESS_INFORMATION
Definition: cordebug.idl:86
WORD ATOM
Definition: dimm.idl:113
#define FALSE
Definition: types.h:117
#define APIENTRY
Definition: api.h:79
BOOL WINAPI LogonUserExW(_In_ LPWSTR lpszUsername, _In_opt_ LPWSTR lpszDomain, _In_opt_ LPWSTR lpszPassword, _In_ DWORD dwLogonType, _In_ DWORD dwLogonProvider, _Out_opt_ PHANDLE phToken, _Out_opt_ PSID *ppLogonSid, _Out_opt_ PVOID *ppProfileBuffer, _Out_opt_ LPDWORD pdwProfileLength, _Out_opt_ PQUOTA_LIMITS pQuotaLimits)
Definition: logon.c:1163
BOOL WINAPI LogonUserExA(_In_ LPSTR lpszUsername, _In_opt_ LPSTR lpszDomain, _In_opt_ LPSTR lpszPassword, _In_ DWORD dwLogonType, _In_ DWORD dwLogonProvider, _Out_opt_ PHANDLE phToken, _Out_opt_ PSID *ppLogonSid, _Out_opt_ PVOID *ppProfileBuffer, _Out_opt_ LPDWORD pdwProfileLength, _Out_opt_ PQUOTA_LIMITS pQuotaLimits)
Definition: logon.c:1066
BOOL WINAPI LookupAccountNameW(LPCWSTR lpSystemName, LPCWSTR lpAccountName, PSID Sid, LPDWORD cbSid, LPWSTR ReferencedDomainName, LPDWORD cchReferencedDomainName, PSID_NAME_USE peUse)
Definition: misc.c:626
BOOL WINAPI LookupPrivilegeDisplayNameW(LPCWSTR lpSystemName, LPCWSTR lpName, LPWSTR lpDisplayName, LPDWORD cchDisplayName, LPDWORD lpLanguageId)
Definition: misc.c:901
BOOL WINAPI LookupAccountSidA(LPCSTR lpSystemName, PSID lpSid, LPSTR lpName, LPDWORD cchName, LPSTR lpReferencedDomainName, LPDWORD cchReferencedDomainName, PSID_NAME_USE peUse)
Definition: misc.c:405
BOOL WINAPI LookupPrivilegeNameW(LPCWSTR lpSystemName, PLUID lpLuid, LPWSTR lpName, LPDWORD cchName)
Definition: misc.c:832
BOOL WINAPI LookupAccountSidW(LPCWSTR pSystemName, PSID pSid, LPWSTR pAccountName, LPDWORD pdwAccountName, LPWSTR pDomainName, LPDWORD pdwDomainName, PSID_NAME_USE peUse)
Definition: misc.c:537
BOOL WINAPI LookupAccountNameA(LPCSTR SystemName, LPCSTR AccountName, PSID Sid, LPDWORD SidLength, LPSTR ReferencedDomainName, LPDWORD hReferencedDomainNameLength, PSID_NAME_USE SidNameUse)
Definition: security.c:2012
BOOL WINAPI LookupPrivilegeDisplayNameA(LPCSTR lpSystemName, LPCSTR lpName, LPSTR lpDisplayName, LPDWORD cchDisplayName, LPDWORD lpLanguageId)
Definition: security.c:1239
BOOL WINAPI AddAccessDeniedAceEx(PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, PSID pSid)
Definition: security.c:1114
BOOL WINAPI IsWellKnownSid(IN PSID pSid, IN WELL_KNOWN_SID_TYPE WellKnownSidType)
Definition: security.c:796
BOOL WINAPI AddAccessAllowedAceEx(PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, PSID pSid)
Definition: security.c:1063
BOOL WINAPI CreateWellKnownSid(IN WELL_KNOWN_SID_TYPE WellKnownSidType, IN PSID DomainSid OPTIONAL, OUT PSID pSid, IN OUT DWORD *cbSid)
Definition: security.c:722
BOOL WINAPI LookupPrivilegeNameA(LPCSTR lpSystemName, PLUID lpLuid, LPSTR lpName, LPDWORD cchName)
Definition: security.c:1299
HMODULE hModule
Definition: animate.c:44
#define CDECL
Definition: compat.h:29
#define CloseHandle
Definition: compat.h:739
#define ReadProcessMemory(a, b, c, d, e)
Definition: compat.h:758
#define GetProcessHeap()
Definition: compat.h:736
int(* FARPROC)()
Definition: compat.h:36
#define GetCurrentDirectoryW(x, y)
Definition: compat.h:756
#define UnmapViewOfFile
Definition: compat.h:746
#define GetEnvironmentVariableW(x, y, z)
Definition: compat.h:755
#define ReadFile(a, b, c, d, e)
Definition: compat.h:742
#define SetFilePointer
Definition: compat.h:743
#define lstrcpynA
Definition: compat.h:751
#define SetLastError(x)
Definition: compat.h:752
#define GetProcAddress(x, y)
Definition: compat.h:753
#define HeapAlloc
Definition: compat.h:733
#define HeapReAlloc
Definition: compat.h:734
#define CreateFileMappingW(a, b, c, d, e, f)
Definition: compat.h:744
#define CreateFileA(a, b, c, d, e, f, g)
Definition: compat.h:740
#define FreeLibrary(x)
Definition: compat.h:748
#define IsWow64Process
Definition: compat.h:760
#define GetProcessId(x)
Definition: compat.h:737
#define MAX_PATH
Definition: compat.h:34
#define HeapFree(x, y, z)
Definition: compat.h:735
#define CreateFileW
Definition: compat.h:741
#define wine_get_dos_file_name(__x)
Definition: compat.h:61
#define GetFileSizeEx
Definition: compat.h:757
#define CALLBACK
Definition: compat.h:35
#define lstrcpyW
Definition: compat.h:749
#define GetEnvironmentVariableA(x, y, z)
Definition: compat.h:754
#define MapViewOfFile
Definition: compat.h:745
#define LoadLibraryW(x)
Definition: compat.h:747
#define lstrcpynW
Definition: compat.h:738
#define lstrlenW
Definition: compat.h:750
static DWORD DWORD * dwLength
Definition: fusion.c:86
BOOL WINAPI ZombifyActCtx(HANDLE hActCtx)
Definition: actctx.c:219
VOID WINAPI ReleaseActCtx(IN HANDLE hActCtx)
Definition: actctx.c:208
BOOL WINAPI DeactivateActCtx(IN DWORD dwFlags, IN ULONG_PTR ulCookie)
Definition: actctx.c:268
VOID WINAPI AddRefActCtx(IN HANDLE hActCtx)
Definition: actctx.c:197
BOOL WINAPI QueryActCtxW(IN DWORD dwFlags, IN HANDLE hActCtx, IN PVOID pvSubInstance, IN ULONG ulInfoClass, IN PVOID pvBuffer, IN SIZE_T cbBuffer, IN OUT SIZE_T *pcbWrittenOrRequired OPTIONAL)
Definition: actctx.c:328
BOOL WINAPI GetCurrentActCtx(OUT PHANDLE phActCtx)
Definition: actctx.c:298
BOOL WINAPI ActivateActCtx(IN HANDLE hActCtx, OUT PULONG_PTR ulCookie)
Definition: actctx.c:237
BOOL WINAPI DebugSetProcessKillOnExit(IN BOOL KillOnExit)
Definition: debugger.c:542
BOOL WINAPI DebugActiveProcessStop(IN DWORD dwProcessId)
Definition: debugger.c:486
BOOL WINAPI DebugBreakProcess(IN HANDLE Process)
Definition: debugger.c:520
BOOL WINAPI CheckRemoteDebuggerPresent(IN HANDLE hProcess, OUT PBOOL pbDebuggerPresent)
Definition: debugger.c:376
BOOL WINAPI ConvertFiberToThread(VOID)
Definition: fiber.c:64
LPVOID WINAPI CreateFiberEx(_In_ SIZE_T dwStackCommitSize, _In_ SIZE_T dwStackReserveSize, _In_ DWORD dwFlags, _In_ LPFIBER_START_ROUTINE lpStartAddress, _In_opt_ LPVOID lpParameter)
Definition: fiber.c:191
BOOL WINAPI IsThreadAFiber(VOID)
Definition: fiber.c:330
DWORD WINAPI GetLogicalDriveStringsA(IN DWORD nBufferLength, IN LPSTR lpBuffer)
Definition: disk.c:34
BOOL WINAPI SetFileValidData(HANDLE hFile, LONGLONG ValidDataLength)
Definition: fileinfo.c:1081
BOOL WINAPI SetFileAttributesByHandle(IN HANDLE hFile, IN DWORD dwFileAttributes, IN DWORD dwFlags)
Definition: fileinfo.c:730
BOOL WINAPI GetFileAttributesByHandle(IN HANDLE hFile, OUT LPDWORD dwFileAttributes, IN DWORD dwFlags)
Definition: fileinfo.c:694
BOOL WINAPI FindNextStreamW(IN HANDLE hFindStream, OUT LPVOID lpFindStreamData)
Definition: find.c:1115
HANDLE WINAPI FindFirstStreamW(IN LPCWSTR lpFileName, IN STREAM_INFO_LEVELS InfoLevel, OUT LPVOID lpFindStreamData, IN DWORD dwFlags)
Definition: find.c:957
BOOL WINAPI ReplaceFileA(IN LPCSTR lpReplacedFileName, IN LPCSTR lpReplacementFileName, IN LPCSTR lpBackupFileName OPTIONAL, IN DWORD dwReplaceFlags, IN LPVOID lpExclude, IN LPVOID lpReserved)
Definition: move.c:1169
BOOL WINAPI ReplaceFileW(LPCWSTR lpReplacedFileName, LPCWSTR lpReplacementFileName, LPCWSTR lpBackupFileName, DWORD dwReplaceFlags, LPVOID lpExclude, LPVOID lpReserved)
Definition: move.c:1231
BOOL WINAPI FindNextVolumeW(IN HANDLE handle, IN LPWSTR volume, IN DWORD len)
Definition: volume.c:1082
HANDLE WINAPI FindFirstVolumeW(IN LPWSTR volume, IN DWORD len)
Definition: volume.c:660
BOOL WINAPI GetVolumePathNameA(IN LPCSTR lpszFileName, IN LPSTR lpszVolumePathName, IN DWORD cchBufferLength)
Definition: volume.c:751
BOOL WINAPI GetVolumePathNameW(IN LPCWSTR lpszFileName, IN LPWSTR lpszVolumePathName, IN DWORD cchBufferLength)
Definition: volume.c:815
BOOL WINAPI FindVolumeClose(IN HANDLE hFindVolume)
Definition: volume.c:741
HANDLE WINAPI FindFirstVolumeA(IN LPSTR volume, IN DWORD len)
Definition: volume.c:708
BOOL WINAPI FindNextVolumeA(IN HANDLE handle, IN LPSTR volume, IN DWORD len)
Definition: volume.c:1055
BOOL WINAPI GetVolumePathNamesForVolumeNameA(IN LPCSTR lpszVolumeName, IN LPSTR lpszVolumePathNames, IN DWORD cchBufferLength, OUT PDWORD lpcchReturnLength)
Definition: volume.c:1117
BOOL WINAPI GetVolumePathNamesForVolumeNameW(IN LPCWSTR lpszVolumeName, IN LPWSTR lpszVolumePathNames, IN DWORD cchBufferLength, OUT PDWORD lpcchReturnLength)
Definition: volume.c:1227
BOOL WINAPI AssignProcessToJobObject(IN HANDLE hJob, IN HANDLE hProcess)
Definition: job.c:99
BOOL WINAPI IsProcessInJob(IN HANDLE ProcessHandle, IN HANDLE JobHandle, OUT PBOOL Result)
Definition: job.c:77
HANDLE WINAPI CreateJobObjectA(IN LPSECURITY_ATTRIBUTES lpJobAttributes, IN LPCSTR lpName)
Definition: job.c:26
BOOL WINAPI TerminateJobObject(IN HANDLE hJob, IN UINT uExitCode)
Definition: job.c:318
HANDLE WINAPI CreateJobObjectW(IN LPSECURITY_ATTRIBUTES lpJobAttributes, IN LPCWSTR lpName)
Definition: job.c:38
BOOL WINAPI GetModuleHandleExW(IN DWORD dwFlags, IN LPCWSTR lpwModuleName OPTIONAL, OUT HMODULE *phModule)
Definition: loader.c:866
BOOL WINAPI GetModuleHandleExA(IN DWORD dwFlags, IN LPCSTR lpModuleName OPTIONAL, OUT HMODULE *phModule)
Definition: loader.c:896
UINT WINAPI GetSystemWindowsDirectoryA(OUT LPSTR lpBuffer, IN UINT uSize)
Definition: path.c:2367
DWORD WINAPI GetDllDirectoryW(IN DWORD nBufferLength, OUT LPWSTR lpBuffer)
Definition: path.c:887
UINT WINAPI GetSystemWow64DirectoryA(OUT LPSTR lpBuffer, IN UINT uSize)
Definition: path.c:2438
DWORD WINAPI GetShortPathNameA(IN LPCSTR lpszLongPath, OUT LPSTR lpszShortPath, IN DWORD cchBuffer)
Definition: path.c:1752
DWORD WINAPI SearchPathA(IN LPCSTR lpPath OPTIONAL, IN LPCSTR lpFileName, IN LPCSTR lpExtension OPTIONAL, IN DWORD nBufferLength, OUT LPSTR lpBuffer, OUT LPSTR *lpFilePart OPTIONAL)
Definition: path.c:1123
BOOL WINAPI SetDllDirectoryW(IN LPCWSTR lpPathName)
Definition: path.c:800
BOOL WINAPI NeedCurrentDirectoryForExePathA(IN LPCSTR ExeName)
Definition: path.c:969
BOOL WINAPI SetDllDirectoryA(IN LPCSTR lpPathName)
Definition: path.c:838
UINT WINAPI GetSystemWow64DirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
Definition: path.c:2421
DWORD WINAPI GetLongPathNameA(IN LPCSTR lpszShortPath, OUT LPSTR lpszLongPath, IN DWORD cchBuffer)
Definition: path.c:1671
DWORD WINAPI GetDllDirectoryA(IN DWORD nBufferLength, OUT LPSTR lpBuffer)
Definition: path.c:915
DWORD WINAPI GetLongPathNameW(IN LPCWSTR lpszShortPath, OUT LPWSTR lpszLongPath, IN DWORD cchBuffer)
Definition: path.c:1456
UINT WINAPI GetSystemWindowsDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
Definition: path.c:2397
BOOL WINAPI NeedCurrentDirectoryForExePathW(IN LPCWSTR ExeName)
Definition: path.c:957
BOOL WINAPI GetProcessHandleCount(IN HANDLE hProcess, OUT PDWORD pdwHandleCount)
Definition: proc.c:1951
BOOL WINAPI ProcessIdToSessionId(IN DWORD dwProcessId, OUT PDWORD pSessionId)
Definition: proc.c:2181
BOOL WINAPI GetProcessIoCounters(IN HANDLE hProcess, OUT PIO_COUNTERS lpIoCounters)
Definition: proc.c:1867
DWORD WINAPI WTSGetActiveConsoleSessionId(VOID)
Definition: session.c:49
VOID WINAPI GetNativeSystemInfo(IN LPSYSTEM_INFO lpSystemInfo)
Definition: sysinfo.c:207
BOOL WINAPI GetSystemRegistryQuota(OUT PDWORD pdwQuotaAllowed, OUT PDWORD pdwQuotaUsed)
Definition: sysinfo.c:180
UINT WINAPI GetSystemFirmwareTable(_In_ DWORD FirmwareTableProviderSignature, _In_ DWORD FirmwareTableID, _Out_writes_bytes_to_opt_(BufferSize, return) PVOID pFirmwareTableBuffer, _In_ DWORD BufferSize)
Definition: sysinfo.c:586
BOOL WINAPI SetFirmwareEnvironmentVariableA(_In_ LPCSTR lpName, _In_ LPCSTR lpGuid, _In_reads_bytes_opt_(nSize) PVOID pValue, _In_ DWORD nSize)
Definition: sysinfo.c:496
BOOL WINAPI SetFirmwareEnvironmentVariableW(_In_ LPCWSTR lpName, _In_ LPCWSTR lpGuid, _In_reads_bytes_opt_(nSize) PVOID pValue, _In_ DWORD nSize)
Definition: sysinfo.c:481
UINT WINAPI EnumSystemFirmwareTables(_In_ DWORD FirmwareTableProviderSignature, _Out_writes_bytes_to_opt_(BufferSize, return) PVOID pFirmwareTableEnumBuffer, _In_ DWORD BufferSize)
Definition: sysinfo.c:538
HANDLE WINAPI OpenThread(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN DWORD dwThreadId)
Definition: thread.c:403
BOOL WINAPI QueueUserWorkItem(IN LPTHREAD_START_ROUTINE Function, IN PVOID Context, IN ULONG Flags)
Definition: thread.c:1076
DWORD WINAPI GetProcessIdOfThread(IN HANDLE Thread)
Definition: thread.c:889
BOOL WINAPI GetThreadIOPendingFlag(IN HANDLE hThread, OUT PBOOL lpIOIsPending)
Definition: thread.c:1047
BOOL WINAPI GetSystemTimes(OUT LPFILETIME lpIdleTime OPTIONAL, OUT LPFILETIME lpKernelTime OPTIONAL, OUT LPFILETIME lpUserTime OPTIONAL)
Definition: time.c:541
BOOL WINAPI CreateTimerQueueTimer(OUT PHANDLE phNewTimer, IN HANDLE TimerQueue, IN WAITORTIMERCALLBACK Callback, IN PVOID Parameter, IN DWORD DueTime, IN DWORD Period, IN ULONG Flags)
Definition: timerqueue.c:138
HANDLE WINAPI CreateTimerQueue(VOID)
Definition: timerqueue.c:117
BOOL WINAPI DeleteTimerQueueEx(IN HANDLE TimerQueue, IN HANDLE CompletionEvent)
Definition: timerqueue.c:205
BOOL WINAPI DeleteTimerQueue(IN HANDLE TimerQueue)
Definition: timerqueue.c:186
BOOL WINAPI DeleteTimerQueueTimer(IN HANDLE TimerQueue, IN HANDLE Timer, IN HANDLE CompletionEvent)
Definition: timerqueue.c:240
BOOL WINAPI ChangeTimerQueueTimer(IN HANDLE TimerQueue, IN HANDLE Timer, IN ULONG DueTime, IN ULONG Period)
Definition: timerqueue.c:82
BOOL WINAPI SetFirmwareEnvironmentVariableExA(_In_ LPCSTR lpName, _In_ LPCSTR lpGuid, _In_reads_bytes_opt_(nSize) PVOID pValue, _In_ DWORD nSize, _In_ DWORD dwAttributes)
Definition: firmware.c:156
BOOL WINAPI SetFirmwareEnvironmentVariableExW(_In_ LPCWSTR lpName, _In_ LPCWSTR lpGuid, _In_reads_bytes_opt_(nSize) PVOID pValue, _In_ DWORD nSize, _In_ DWORD dwAttributes)
Definition: firmware.c:113
VOID WINAPI ReleaseSRWLockShared(PSRWLOCK Lock)
Definition: sync.c:43
VOID WINAPI AcquireSRWLockExclusive(PSRWLOCK Lock)
Definition: sync.c:8
VOID WINAPI AcquireSRWLockShared(PSRWLOCK Lock)
Definition: sync.c:15
VOID WINAPI ReleaseSRWLockExclusive(PSRWLOCK Lock)
Definition: sync.c:36
BOOL WINAPI SleepConditionVariableCS(PCONDITION_VARIABLE ConditionVariable, PCRITICAL_SECTION CriticalSection, DWORD Timeout)
Definition: sync.c:59
VOID WINAPI InitializeSRWLock(PSRWLOCK Lock)
Definition: sync.c:29
VOID WINAPI WakeAllConditionVariable(PCONDITION_VARIABLE ConditionVariable)
Definition: sync.c:91
BOOL WINAPI SleepConditionVariableSRW(PCONDITION_VARIABLE ConditionVariable, PSRWLOCK Lock, DWORD Timeout, ULONG Flags)
Definition: sync.c:75
VOID WINAPI InitializeConditionVariable(PCONDITION_VARIABLE ConditionVariable)
Definition: sync.c:22
VOID WINAPI WakeConditionVariable(PCONDITION_VARIABLE ConditionVariable)
Definition: sync.c:98
BOOL WINAPI FindActCtxSectionStringW(DWORD dwFlags, const GUID *lpExtGuid, ULONG ulId, LPCWSTR lpSearchStr, PACTCTX_SECTION_KEYED_DATA pInfo)
Definition: actctx.c:238
HANDLE WINAPI CreateActCtxA(PCACTCTXA pActCtx)
Definition: actctx.c:26
BOOL WINAPI FindActCtxSectionStringA(DWORD dwFlags, const GUID *lpExtGuid, ULONG ulId, LPCSTR lpSearchStr, PACTCTX_SECTION_KEYED_DATA pInfo)
Definition: actctx.c:206
HANDLE WINAPI CreateActCtxW(PCACTCTXW pActCtx)
Definition: actctx.c:102
BOOL WINAPI FindActCtxSectionGuid(DWORD dwFlags, const GUID *lpExtGuid, ULONG ulId, const GUID *lpSearchGuid, PACTCTX_SECTION_KEYED_DATA pInfo)
Definition: actctx.c:265
BOOL WINAPI GetCommConfig(HANDLE hFile, LPCOMMCONFIG lpCommConfig, LPDWORD lpdwSize)
Definition: comm.c:1278
#define ULONG_PTR
Definition: config.h:101
IN PDCB IN POEM_STRING IN PUNICODE_STRING IN OUT POEM_STRING ShortName
Definition: fatprocs.h:1307
IN PFCB IN PFILE_OBJECT FileObject IN ULONG AllocationSize
Definition: fatprocs.h:323
BOOL WINAPI CheckNameLegalDOS8Dot3W(LPCWSTR lpName, LPSTR lpOemName OPTIONAL, DWORD OemNameSize OPTIONAL, PBOOL pbNameContainsSpaces OPTIONAL, PBOOL pbNameLegal)
Definition: filename.c:321
BOOL WINAPI SetFileShortNameW(HANDLE hFile, LPCWSTR lpShortName)
Definition: filename.c:235
BOOL WINAPI SetFileShortNameA(HANDLE hFile, LPCSTR lpShortName)
Definition: filename.c:291
BOOL WINAPI CheckNameLegalDOS8Dot3A(LPCSTR lpName, LPSTR lpOemName OPTIONAL, DWORD OemNameSize OPTIONAL, PBOOL pbNameContainsSpaces OPTIONAL, PBOOL pbNameLegal)
Definition: filename.c:365
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
_In_ IO_PRIORITY_HINT PriorityHint
Definition: fltkernel.h:2681
_Must_inspect_result_ _In_opt_ PFLT_INSTANCE _Out_ PHANDLE _In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG FileAttributes
Definition: fltkernel.h:1236
_Must_inspect_result_ _In_ PFILE_OBJECT _In_opt_ HANDLE _In_ ULONG FileNameLength
Definition: fltkernel.h:1129
PWCHAR pValue
BOOL WINAPI HeapQueryInformation(HANDLE HeapHandle, HEAP_INFORMATION_CLASS HeapInformationClass, PVOID HeapInformation OPTIONAL, SIZE_T HeapInformationLength OPTIONAL, PSIZE_T ReturnLength OPTIONAL)
Definition: heapmem.c:314
BOOL WINAPI HeapSetInformation(HANDLE HeapHandle, HEAP_INFORMATION_CLASS HeapInformationClass, PVOID HeapInformation OPTIONAL, SIZE_T HeapInformationLength OPTIONAL)
Definition: heapmem.c:342
BOOL NTAPI GlobalMemoryStatusEx(LPMEMORYSTATUSEX lpBuffer)
Definition: heapmem.c:1272
enum _JOBOBJECTINFOCLASS JOBOBJECTINFOCLASS
unsigned long long DWORDLONG
Definition: intsafe.h:93
BOOL WINAPI SetFileCompletionNotificationModes(IN HANDLE FileHandle, IN UCHAR Flags)
Definition: iocompl.c:31
BOOL WINAPI BindIoCompletionCallback(IN HANDLE FileHandle, IN LPOVERLAPPED_COMPLETION_ROUTINE Function, IN ULONG Flags)
Definition: iocompl.c:277
BOOL WINAPI GetComputerNameExA(COMPUTER_NAME_FORMAT, LPSTR, LPDWORD)
Definition: compname.c:376
HRESULT WINAPI RegisterApplicationRecoveryCallback(IN APPLICATION_RECOVERY_CALLBACK pRecoveryCallback, IN PVOID pvParameter OPTIONAL, DWORD dwPingInterval, DWORD dwFlags)
Definition: vista.c:187
HANDLE WINAPI OpenFileById(IN HANDLE hFile, IN LPFILE_ID_DESCRIPTOR lpFileID, IN DWORD dwDesiredAccess, IN DWORD dwShareMode, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes OPTIONAL, IN DWORD dwFlags)
Definition: vista.c:577
BOOL WINAPI SetFileBandwidthReservation(IN HANDLE hFile, IN DWORD nPeriodMilliseconds, IN DWORD nBytesPerPeriod, IN BOOL bDiscardable, OUT LPDWORD lpTransferSize, OUT LPDWORD lpNumOutstandingRequests)
Definition: vista.c:543
HRESULT WINAPI RegisterApplicationRestart(IN PCWSTR pwzCommandline OPTIONAL, IN DWORD dwFlags)
Definition: vista.c:202
HRESULT WINAPI GetApplicationRestart(IN HANDLE hProcess, OUT PWSTR pwzCommandline OPTIONAL, IN OUT PDWORD pcchSize, OUT PDWORD pdwFlags OPTIONAL)
Definition: vista.c:149
DWORD WINAPI GetFinalPathNameByHandleW(IN HANDLE hFile, OUT LPWSTR lpszFilePath, IN DWORD cchFilePath, IN DWORD dwFlags)
Definition: vista.c:453
HRESULT WINAPI GetApplicationRecoveryCallback(IN HANDLE hProcess, OUT APPLICATION_RECOVERY_CALLBACK *pRecoveryCallback, OUT PVOID *ppvParameter, PDWORD dwPingInterval, PDWORD dwFlags)
Definition: vista.c:133
BOOL WINAPI GetFileBandwidthReservation(IN HANDLE hFile, OUT LPDWORD lpPeriodMilliseconds, OUT LPDWORD lpBytesPerPeriod, OUT LPBOOL pDiscardable, OUT LPDWORD lpTransferSize, OUT LPDWORD lpNumOutstandingRequests)
Definition: vista.c:560
DWORD WINAPI GetFinalPathNameByHandleA(IN HANDLE hFile, OUT LPSTR lpszFilePath, IN DWORD cchFilePath, IN DWORD dwFlags)
Definition: vista.c:475
#define _lread(a, b, c)
Definition: kernel32.h:171
USHORT LANGID
Definition: mui.h:9
enum _SECURITY_IMPERSONATION_LEVEL SECURITY_IMPERSONATION_LEVEL
WORD SECURITY_DESCRIPTOR_CONTROL
Definition: lsa.idl:37
enum _SID_NAME_USE * PSID_NAME_USE
WORD * PSECURITY_DESCRIPTOR_CONTROL
Definition: lsa.idl:37
_In_ BOOL _In_ HANDLE hProcess
Definition: mapping.h:71
BOOL WINAPI FindVolumeMountPointClose(IN HANDLE hFindVolumeMountPoint)
Definition: mntpoint.c:681
BOOL WINAPI FindNextVolumeMountPointA(IN HANDLE hFindVolumeMountPoint, IN LPSTR lpszVolumeMountPoint, DWORD cchBufferLength)
Definition: mntpoint.c:655
BOOL WINAPI GetVolumeNameForVolumeMountPointA(IN LPCSTR lpszVolumeMountPoint, IN LPSTR lpszVolumeName, IN DWORD cchBufferLength)
Definition: mntpoint.c:518
BOOL WINAPI DeleteVolumeMountPointA(IN LPCSTR lpszVolumeMountPoint)
Definition: mntpoint.c:607
BOOL WINAPI FindNextVolumeMountPointW(IN HANDLE hFindVolumeMountPoint, IN LPWSTR lpszVolumeMountPoint, DWORD cchBufferLength)
Definition: mntpoint.c:668
BOOL WINAPI SetVolumeMountPointA(IN LPCSTR lpszVolumeMountPoint, IN LPCSTR lpszVolumeName)
Definition: mntpoint.c:595
BOOL WINAPI SetVolumeMountPointW(IN LPCWSTR lpszVolumeMountPoint, IN LPCWSTR lpszVolumeName)
Definition: mntpoint.c:583
BOOL WINAPI GetVolumeNameForVolumeMountPointW(IN LPCWSTR VolumeMountPoint, OUT LPWSTR VolumeName, IN DWORD VolumeNameLength)
Definition: mntpoint.c:496
HANDLE WINAPI FindFirstVolumeMountPointA(IN LPCSTR lpszRootPathName, IN LPSTR lpszVolumeMountPoint, IN DWORD cchBufferLength)
Definition: mntpoint.c:642
HANDLE WINAPI FindFirstVolumeMountPointW(IN LPCWSTR lpszRootPathName, IN LPWSTR lpszVolumeMountPoint, IN DWORD cchBufferLength)
Definition: mntpoint.c:629
BOOL WINAPI DeleteVolumeMountPointW(IN LPCWSTR lpszVolumeMountPoint)
Definition: mntpoint.c:618
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:56
static POBJECTS_AND_NAME_A SE_OBJECT_TYPE LPSTR ObjectTypeName
Definition: security.c:79
static const GUID PACTCTX_SECTION_KEYED_DATA
Definition: actctx.c:36
static LPFILE_ID_DESCRIPTOR
Definition: file.c:37
static FILE_INFO_BY_HANDLE_CLASS
Definition: file.c:36
static HMODULE MODULEINFO DWORD cb
Definition: module.c:33
static PSRWLOCK
Definition: sync.c:49
static WAITORTIMERCALLBACK
Definition: thread.c:81
static OUT PIO_STATUS_BLOCK OUT PVOID IN ULONG IN FILE_INFORMATION_CLASS FileInformationClass
Definition: pipe.c:75
unsigned short WORD
Definition: ms-dtyp.idl:58
DWORD SECURITY_INFORMATION
Definition: ms-dtyp.idl:311
__int3264 LONG_PTR
Definition: mstsclib_h.h:276
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
_In_ HANDLE hFile
Definition: mswsock.h:90
_In_ HANDLE _In_ DWORD nNumberOfBytesToWrite
Definition: mswsock.h:91
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
Definition: mswsock.h:95
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED lpOverlapped
Definition: mswsock.h:93
unsigned int UINT
Definition: ndis.h:50
VOID(NTAPI * WAITORTIMERCALLBACKFUNC)(PVOID pvContext, BOOLEAN fTimerOrWaitFired)
Definition: rtltypes.h:496
LONG(NTAPI * PVECTORED_EXCEPTION_HANDLER)(PEXCEPTION_POINTERS ExceptionPointers)
Definition: rtltypes.h:505
enum _HEAP_INFORMATION_CLASS HEAP_INFORMATION_CLASS
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_ BOOLEAN _In_ TOKEN_TYPE _Out_ PHANDLE NewTokenHandle
Definition: sefuncs.h:412
HANDLE hThread
Definition: wizard.c:28
#define _Out_writes_to_opt_(s, c)
Definition: no_sal2.h:238
#define _In_reads_bytes_(s)
Definition: no_sal2.h:170
#define _In_reads_(s)
Definition: no_sal2.h:168
#define _Out_opt_
Definition: no_sal2.h:214
#define _Inout_
Definition: no_sal2.h:162
#define _Ret_maybenull_
Definition: no_sal2.h:328
#define _Out_writes_opt_(s)
Definition: no_sal2.h:226
#define _Outptr_
Definition: no_sal2.h:262
#define _Post_
Definition: no_sal2.h:48
#define _Outptr_opt_result_maybenull_
Definition: no_sal2.h:268
#define _Out_writes_bytes_opt_(s)
Definition: no_sal2.h:228
#define _Inout_updates_z_(s)
Definition: no_sal2.h:186
#define _Out_writes_bytes_to_(s, c)
Definition: no_sal2.h:190
#define _Inout_opt_
Definition: no_sal2.h:216
#define _Must_inspect_result_
Definition: no_sal2.h:62
#define _Out_writes_(s)
Definition: no_sal2.h:176
#define _Out_
Definition: no_sal2.h:160
#define _In_reads_opt_(s)
Definition: no_sal2.h:222
#define _In_
Definition: no_sal2.h:158
#define _In_opt_
Definition: no_sal2.h:212
#define _Out_writes_bytes_to_opt_(s, c)
Definition: no_sal2.h:240
#define _Reserved_
Definition: no_sal2.h:504
#define _NullNull_terminated_
Definition: no_sal2.h:78
#define _Out_writes_to_(s, c)
Definition: no_sal2.h:188
#define _Out_writes_bytes_(s)
Definition: no_sal2.h:178
#define _In_reads_bytes_opt_(s)
Definition: no_sal2.h:224
#define BOOL
Definition: nt_native.h:43
#define DWORD
Definition: nt_native.h:44
#define LPVOID
Definition: nt_native.h:45
CONST CHAR * LPCCH
Definition: ntbasedef.h:400
CHAR * LPCH
Definition: ntbasedef.h:399
#define DECLSPEC_NORETURN
Definition: ntbasedef.h:176
#define DUMMYUNIONNAME
Definition: ntbasedef.h:32
#define _ANONYMOUS_UNION
Definition: ntbasedef.h:30
#define _ANONYMOUS_STRUCT
Definition: ntbasedef.h:56
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
#define CONST
Definition: pedump.c:81
BYTE * PBYTE
Definition: pedump.c:66
DWORD * PDWORD
Definition: pedump.c:68
long LONG
Definition: pedump.c:60
unsigned short USHORT
Definition: pedump.c:61
PVOID pBuffer
HANDLE WINAPI CreateMemoryResourceNotification(IN MEMORY_RESOURCE_NOTIFICATION_TYPE NotificationType)
Definition: resntfy.c:23
BOOL WINAPI QueryMemoryResourceNotification(IN HANDLE ResourceNotificationHandle, OUT PBOOL ResourceState)
Definition: resntfy.c:64
const WCHAR * str
#define __callback
Definition: sal_old.h:112
VOID WINAPI SetSecurityAccessMask(IN SECURITY_INFORMATION SecurityInformation, OUT LPDWORD DesiredAccess)
Definition: sec.c:398
VOID WINAPI QuerySecurityAccessMask(IN SECURITY_INFORMATION SecurityInformation, OUT LPDWORD DesiredAccess)
Definition: sec.c:377
BOOL WINAPI SHIM_OBJ_NAME() GetComputerNameA(LPSTR lpBuffer, LPDWORD lpnSize)
Definition: shimtest.c:21
#define __analysis_noreturn
Definition: specstrings.h:262
base for all directory entries
Definition: entries.h:138
DWORD dwMaxRxQueue
Definition: winbase.h:718
DWORD dwMaxTxQueue
Definition: winbase.h:717
DWORD dwMaxBaud
Definition: winbase.h:719
DWORD dwReserved1
Definition: winbase.h:716
WORD wPacketLength
Definition: winbase.h:713
DWORD dwSettableBaud
Definition: winbase.h:723
DWORD dwProvSubType
Definition: winbase.h:720
DWORD dwProvCapabilities
Definition: winbase.h:721
WORD wSettableStopParity
Definition: winbase.h:725
DWORD dwProvSpec1
Definition: winbase.h:728
DWORD dwSettableParams
Definition: winbase.h:722
WORD wPacketVersion
Definition: winbase.h:714
DWORD dwServiceMask
Definition: winbase.h:715
WORD wSettableData
Definition: winbase.h:724
DWORD dwCurrentRxQueue
Definition: winbase.h:727
WCHAR wcProvChar[1]
Definition: winbase.h:730
DWORD dwProvSpec2
Definition: winbase.h:729
DWORD dwCurrentTxQueue
Definition: winbase.h:726
DWORD WriteTotalTimeoutConstant
Definition: winbase.h:738
DWORD ReadTotalTimeoutMultiplier
Definition: winbase.h:735
DWORD ReadTotalTimeoutConstant
Definition: winbase.h:736
DWORD ReadIntervalTimeout
Definition: winbase.h:734
DWORD WriteTotalTimeoutMultiplier
Definition: winbase.h:737
WCHAR wcProviderData[1]
Definition: winbase.h:709
DWORD dwProviderSize
Definition: winbase.h:708
DWORD dwProviderSubType
Definition: winbase.h:706
WORD wVersion
Definition: winbase.h:703
WORD wReserved
Definition: winbase.h:704
DWORD dwSize
Definition: winbase.h:702
DWORD dwProviderOffset
Definition: winbase.h:707
DWORD fRlsdHold
Definition: winbase.h:744
DWORD fCtsHold
Definition: winbase.h:742
DWORD fXoffSent
Definition: winbase.h:746
DWORD cbInQue
Definition: winbase.h:750
DWORD fEof
Definition: winbase.h:747
DWORD fReserved
Definition: winbase.h:749
DWORD fXoffHold
Definition: winbase.h:745
DWORD fTxim
Definition: winbase.h:748
DWORD cbOutQue
Definition: winbase.h:751
DWORD fDsrHold
Definition: winbase.h:743
LPTHREAD_START_ROUTINE lpStartAddress
Definition: winbase.h:764
LPTHREAD_START_ROUTINE lpStartAddress
Definition: winbase.h:772
struct _CRITICAL_SECTION * CriticalSection
Definition: winbase.h:907
DWORD_PTR Spare[8/sizeof(DWORD_PTR)]
Definition: winbase.h:912
LIST_ENTRY ProcessLocksList
Definition: winbase.h:908
ULONG_PTR SpinCount
Definition: winbase.h:924
LONG RecursionCount
Definition: winbase.h:921
PCRITICAL_SECTION_DEBUG DebugInfo
Definition: winbase.h:919
HANDLE LockSemaphore
Definition: winbase.h:923
HANDLE OwningThread
Definition: winbase.h:922
Definition: winbase.h:670
DWORD fOutxCtsFlow
Definition: winbase.h:675
BYTE Parity
Definition: winbase.h:691
DWORD fAbortOnError
Definition: winbase.h:685
DWORD fErrorChar
Definition: winbase.h:682
WORD wReserved
Definition: winbase.h:687
DWORD fRtsControl
Definition: winbase.h:684
DWORD fOutxDsrFlow
Definition: winbase.h:676
DWORD BaudRate
Definition: winbase.h:672
DWORD fBinary
Definition: winbase.h:673
DWORD fDsrSensitivity
Definition: winbase.h:678
char ErrorChar
Definition: winbase.h:695
DWORD fDtrControl
Definition: winbase.h:677
char EvtChar
Definition: winbase.h:697
DWORD fDummy2
Definition: winbase.h:686
char XoffChar
Definition: winbase.h:694
DWORD fNull
Definition: winbase.h:683
WORD XonLim
Definition: winbase.h:688
WORD wReserved1
Definition: winbase.h:698
DWORD fInX
Definition: winbase.h:681
DWORD fParity
Definition: winbase.h:674
BYTE ByteSize
Definition: winbase.h:690
DWORD DCBlength
Definition: winbase.h:671
DWORD fTXContinueOnXoff
Definition: winbase.h:679
char EofChar
Definition: winbase.h:696
WORD XoffLim
Definition: winbase.h:689
char XonChar
Definition: winbase.h:693
DWORD fOutX
Definition: winbase.h:680
BYTE StopBits
Definition: winbase.h:692
UNLOAD_DLL_DEBUG_INFO UnloadDll
Definition: winbase.h:823
OUTPUT_DEBUG_STRING_INFO DebugString
Definition: winbase.h:824
DWORD dwDebugEventCode
Definition: winbase.h:813
union _DEBUG_EVENT::@3272 u
EXIT_THREAD_DEBUG_INFO ExitThread
Definition: winbase.h:820
RIP_INFO RipInfo
Definition: winbase.h:825
DWORD dwThreadId
Definition: winbase.h:815
EXIT_PROCESS_DEBUG_INFO ExitProcess
Definition: winbase.h:821
DWORD dwProcessId
Definition: winbase.h:814
LOAD_DLL_DEBUG_INFO LoadDll
Definition: winbase.h:822
EXCEPTION_DEBUG_INFO Exception
Definition: winbase.h:817
CREATE_PROCESS_DEBUG_INFO CreateProcessInfo
Definition: winbase.h:819
CREATE_THREAD_DEBUG_INFO CreateThread
Definition: winbase.h:818
EXCEPTION_RECORD ExceptionRecord
Definition: winbase.h:776
DWORD dwHighDateTime
Definition: mapidefs.h:66
DWORD dwLowDateTime
Definition: mapidefs.h:65
Definition: compat.h:777
union _LDT_ENTRY::@356 HighWord
BYTE Flags2
Definition: compat.h:784
DWORD Granularity
Definition: compat.h:796
DWORD Default_Big
Definition: compat.h:795
WORD LimitLow
Definition: compat.h:778
DWORD Reserved_0
Definition: compat.h:794
BYTE BaseMid
Definition: compat.h:782
BYTE BaseHi
Definition: compat.h:785
DWORD Pres
Definition: compat.h:791
struct _LDT_ENTRY::@356::@358 Bits
DWORD LimitHi
Definition: compat.h:792
WORD BaseLow
Definition: compat.h:779
struct _LDT_ENTRY::@356::@357 Bytes
DWORD Sys
Definition: compat.h:793
DWORD Dpl
Definition: compat.h:790
BYTE Flags1
Definition: compat.h:783
DWORD Type
Definition: compat.h:789
Definition: typedefs.h:120
DWORD dwDebugInfoFileOffset
Definition: winbase.h:791
SIZE_T dwTotalPhys
Definition: winbase.h:1243
DWORD dwLength
Definition: winbase.h:1241
DWORD dwMemoryLoad
Definition: winbase.h:1242
SIZE_T dwAvailPageFile
Definition: winbase.h:1246
SIZE_T dwAvailVirtual
Definition: winbase.h:1248
SIZE_T dwAvailPhys
Definition: winbase.h:1244
SIZE_T dwTotalPageFile
Definition: winbase.h:1245
SIZE_T dwTotalVirtual
Definition: winbase.h:1247
WORD nErrCode
Definition: winbase.h:1316
CHAR szPathName[OFS_MAXPATHNAME]
Definition: winbase.h:1319
WORD Reserved1
Definition: winbase.h:1317
BYTE fFixedDisk
Definition: winbase.h:1315
BYTE cBytes
Definition: winbase.h:1314
WORD Reserved2
Definition: winbase.h:1318
Definition: winbase.h:848
DWORD dwNumberOfBytesTransferred
Definition: winbase.h:852
ULONG_PTR lpCompletionKey
Definition: winbase.h:849
LPOVERLAPPED lpOverlapped
Definition: winbase.h:850
ULONG_PTR Internal
Definition: winbase.h:851
PVOID Pointer
Definition: winbase.h:843
DWORD OffsetHigh
Definition: winbase.h:841
DWORD Offset
Definition: winbase.h:840
union _OVERLAPPED::@3273 DUMMYUNIONNAME
HANDLE hEvent
Definition: winbase.h:845
ULONG_PTR Internal
Definition: winbase.h:836
struct _OVERLAPPED::@3273::@3274 DUMMYSTRUCTNAME
ULONG_PTR InternalHigh
Definition: winbase.h:837
Definition: winbase.h:1293
DWORD dwUnCommittedSize
Definition: winbase.h:1306
LPVOID lpLastBlock
Definition: winbase.h:1308
WORD wFlags
Definition: winbase.h:1298
PVOID lpData
Definition: winbase.h:1294
DWORD dwCommittedSize
Definition: winbase.h:1305
struct _PROCESS_HEAP_ENTRY::@3280::@3282 Region
LPVOID lpFirstBlock
Definition: winbase.h:1307
BYTE cbOverhead
Definition: winbase.h:1296
_ANONYMOUS_UNION union _PROCESS_HEAP_ENTRY::@3280 DUMMYUNIONNAME
BYTE iRegionIndex
Definition: winbase.h:1297
struct _PROCESS_HEAP_ENTRY::@3280::@3281 Block
HANDLE hMem
Definition: winbase.h:1301
DWORD cbData
Definition: winbase.h:1295
DWORD dwType
Definition: winbase.h:809
DWORD dwError
Definition: winbase.h:808
DWORD dwX
Definition: winbase.h:860
HANDLE hStdOutput
Definition: winbase.h:872
DWORD dwXSize
Definition: winbase.h:862
LPSTR lpTitle
Definition: winbase.h:859
DWORD dwXCountChars
Definition: winbase.h:864
HANDLE hStdError
Definition: winbase.h:873
DWORD dwFlags
Definition: winbase.h:867
DWORD cb
Definition: winbase.h:856
LPSTR lpReserved
Definition: winbase.h:857
HANDLE hStdInput
Definition: winbase.h:871
DWORD dwYSize
Definition: winbase.h:863
WORD wShowWindow
Definition: winbase.h:868
DWORD dwYCountChars
Definition: winbase.h:865
WORD cbReserved2
Definition: winbase.h:869
PBYTE lpReserved2
Definition: winbase.h:870
DWORD dwY
Definition: winbase.h:861
DWORD dwFillAttribute
Definition: winbase.h:866
LPSTR lpDesktop
Definition: winbase.h:858
LPWSTR lpDesktop
Definition: winbase.h:879
PBYTE lpReserved2
Definition: winbase.h:891
DWORD cb
Definition: winbase.h:877
DWORD dwXCountChars
Definition: winbase.h:885
DWORD dwYSize
Definition: winbase.h:884
HANDLE hStdError
Definition: winbase.h:894
DWORD dwFillAttribute
Definition: winbase.h:887
DWORD dwX
Definition: winbase.h:881
DWORD dwXSize
Definition: winbase.h:883
DWORD dwFlags
Definition: winbase.h:888
HANDLE hStdOutput
Definition: winbase.h:893
LPWSTR lpTitle
Definition: winbase.h:880
HANDLE hStdInput
Definition: winbase.h:892
DWORD dwY
Definition: winbase.h:882
WORD cbReserved2
Definition: winbase.h:890
LPWSTR lpReserved
Definition: winbase.h:878
WORD wShowWindow
Definition: winbase.h:889
DWORD dwYCountChars
Definition: winbase.h:886
WORD wYear
Definition: winbase.h:930
WORD wMilliseconds
Definition: winbase.h:937
WORD wMonth
Definition: winbase.h:931
WORD wHour
Definition: winbase.h:934
WORD wSecond
Definition: winbase.h:936
WORD wMinute
Definition: winbase.h:935
WORD wDay
Definition: winbase.h:933
WORD wDayOfWeek
Definition: winbase.h:932
DWORD dwPageSize
Definition: winbase.h:1198
_ANONYMOUS_UNION union _SYSTEM_INFO::@3275 DUMMYUNIONNAME
DWORD_PTR dwActiveProcessorMask
Definition: winbase.h:1201
DWORD dwAllocationGranularity
Definition: winbase.h:1204
DWORD dwNumberOfProcessors
Definition: winbase.h:1202
WORD wProcessorLevel
Definition: winbase.h:1205
_ANONYMOUS_STRUCT struct _SYSTEM_INFO::@3275::@3276 DUMMYSTRUCTNAME
DWORD dwProcessorType
Definition: winbase.h:1203
WORD wProcessorRevision
Definition: winbase.h:1206
PVOID lpMinimumApplicationAddress
Definition: winbase.h:1199
WORD wProcessorArchitecture
Definition: winbase.h:1194
DWORD dwOemId
Definition: winbase.h:1192
WORD wReserved
Definition: winbase.h:1195
PVOID lpMaximumApplicationAddress
Definition: winbase.h:1200
DWORD BatteryFullLifeTime
Definition: winbase.h:1215
SYSTEMTIME DaylightDate
Definition: winbase.h:1236
WCHAR DaylightName[32]
Definition: winbase.h:1235
WCHAR StandardName[32]
Definition: winbase.h:1232
SYSTEMTIME StandardDate
Definition: winbase.h:1233
DWORD dwReserved1
Definition: winbase.h:959
DWORD nFileSizeHigh
Definition: winbase.h:956
DWORD dwReserved0
Definition: winbase.h:958
DWORD dwFileAttributes
Definition: winbase.h:952
FILETIME ftLastAccessTime
Definition: winbase.h:954
CHAR cFileName[MAX_PATH]
Definition: winbase.h:960
CHAR cAlternateFileName[14]
Definition: winbase.h:961
DWORD nFileSizeLow
Definition: winbase.h:957
FILETIME ftCreationTime
Definition: winbase.h:953
FILETIME ftLastWriteTime
Definition: winbase.h:955
FILETIME ftLastWriteTime
Definition: winbase.h:967
WCHAR cFileName[MAX_PATH]
Definition: winbase.h:972
DWORD nFileSizeLow
Definition: winbase.h:969
DWORD nFileSizeHigh
Definition: winbase.h:968
DWORD dwReserved1
Definition: winbase.h:971
DWORD dwReserved0
Definition: winbase.h:970
DWORD dwFileAttributes
Definition: winbase.h:964
FILETIME ftLastAccessTime
Definition: winbase.h:966
FILETIME ftCreationTime
Definition: winbase.h:965
WCHAR cAlternateFileName[14]
Definition: winbase.h:973
DWORD dwStreamNameSize
Definition: winbase.h:991
DWORD dwStreamId
Definition: winbase.h:988
LARGE_INTEGER Size
Definition: winbase.h:990
DWORD dwStreamAttributes
Definition: winbase.h:989
WCHAR cStreamName[ANYSIZE_ARRAY]
Definition: winbase.h:992
CHAR szHwProfileGuid[HW_PROFILE_GUIDLEN]
Definition: winbase.h:1167
CHAR szHwProfileName[MAX_PROFILE_LEN]
Definition: winbase.h:1168
WCHAR szHwProfileGuid[HW_PROFILE_GUIDLEN]
Definition: winbase.h:1173
WCHAR szHwProfileName[MAX_PROFILE_LEN]
Definition: winbase.h:1174
BOOL WINAPI UnregisterWaitEx(IN HANDLE WaitHandle, IN HANDLE CompletionEvent)
Definition: synch.c:964
HANDLE WINAPI DECLSPEC_HOTPATCH CreateSemaphoreExA(IN LPSECURITY_ATTRIBUTES lpSemaphoreAttributes OPTIONAL, IN LONG lInitialCount, IN LONG lMaximumCount, IN LPCSTR lpName OPTIONAL, IN DWORD dwFlags OPTIONAL, IN DWORD dwDesiredAccess OPTIONAL)
Definition: synch.c:476
HANDLE WINAPI RegisterWaitForSingleObjectEx(IN HANDLE hObject, IN WAITORTIMERCALLBACK Callback, IN PVOID Context, IN ULONG dwMilliseconds, IN ULONG dwFlags)
Definition: synch.c:892
BOOL WINAPI RegisterWaitForSingleObject(OUT PHANDLE phNewWaitObject, IN HANDLE hObject, IN WAITORTIMERCALLBACK Callback, IN PVOID Context, IN ULONG dwMilliseconds, IN ULONG dwFlags)
Definition: synch.c:850
HANDLE WINAPI DECLSPEC_HOTPATCH CreateSemaphoreExW(IN LPSECURITY_ATTRIBUTES lpSemaphoreAttributes OPTIONAL, IN LONG lInitialCount, IN LONG lMaximumCount, IN LPCWSTR lpName OPTIONAL, IN DWORD dwFlags OPTIONAL, IN DWORD dwDesiredAccess OPTIONAL)
Definition: synch.c:459
BOOL WINAPI UnregisterWait(IN HANDLE WaitHandle)
Definition: synch.c:934
#define LONG_PTR
Definition: treelist.c:79
#define DWORD_PTR
Definition: treelist.c:76
ULONG_PTR * PSIZE_T
Definition: typedefs.h:80
uint16_t * PWSTR
Definition: typedefs.h:56
uint32_t * PULONG_PTR
Definition: typedefs.h:65
uint32_t * PULONG
Definition: typedefs.h:59
const uint16_t * PCWSTR
Definition: typedefs.h:57
int32_t WINBOOL
Definition: typedefs.h:58
uint32_t DWORD_PTR
Definition: typedefs.h:65
#define ANYSIZE_ARRAY
Definition: typedefs.h:46
unsigned char * LPBYTE
Definition: typedefs.h:53
uint16_t * LPWORD
Definition: typedefs.h:56
int32_t * LPLONG
Definition: typedefs.h:58
int64_t LONGLONG
Definition: typedefs.h:68
union _LARGE_INTEGER LARGE_INTEGER
void * PVOID
Definition: typedefs.h:50
PVOID HANDLE
Definition: typedefs.h:73
ULONG_PTR SIZE_T
Definition: typedefs.h:80
uint32_t * LPDWORD
Definition: typedefs.h:59
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG_PTR
Definition: typedefs.h:65
int32_t * PLONG
Definition: typedefs.h:58
HANDLE HMODULE
Definition: typedefs.h:77
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59
uint64_t ULONGLONG
Definition: typedefs.h:67
#define OUT
Definition: typedefs.h:40
char CCHAR
Definition: typedefs.h:51
DWORD dwAttributes
Definition: vdmdbg.h:34
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
Definition: wdfchildlist.h:690
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
Definition: wdfdevice.h:2658
_Must_inspect_result_ _In_ WDFDMATRANSACTION _In_ PFN_WDF_PROGRAM_DMA _In_ WDF_DMA_DIRECTION _In_ PMDL _In_ PVOID VirtualAddress
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
Definition: wdfmemory.h:254
_In_ WDFTIMER _In_ LONGLONG DueTime
Definition: wdftimer.h:190
BOOL WINAPI FreeUserPhysicalPages(IN HANDLE hProcess, IN PULONG_PTR NumberOfPages, IN PULONG_PTR PageArray)
Definition: virtmem.c:359
BOOL WINAPI AllocateUserPhysicalPages(IN HANDLE hProcess, IN PULONG_PTR NumberOfPages, OUT PULONG_PTR UserPfnArray)
Definition: virtmem.c:338
BOOL WINAPI MapUserPhysicalPages(IN PVOID VirtualAddress, IN ULONG_PTR NumberOfPages, OUT PULONG_PTR PageArray OPTIONAL)
Definition: virtmem.c:380
BOOL WINAPI MapUserPhysicalPagesScatter(IN PVOID *VirtualAddresses, IN ULONG_PTR NumberOfPages, OUT PULONG_PTR PageArray OPTIONAL)
Definition: virtmem.c:401
BOOL WINAPI WaitForDebugEvent(LPDEBUG_EVENT, DWORD)
struct _EXIT_PROCESS_DEBUG_INFO EXIT_PROCESS_DEBUG_INFO
BOOL(CALLBACK * ENUMRESNAMEPROCW)(HMODULE, LPCWSTR, LPWSTR, LONG_PTR)
Definition: winbase.h:1473
VOID(WINAPI * PFIBER_START_ROUTINE)(LPVOID lpFiberParameter)
Definition: winbase.h:1466
BOOL WINAPI ResetEvent(HANDLE)
BOOL WINAPI AccessCheckAndAuditAlarmW(LPCWSTR, LPVOID, LPWSTR, LPWSTR, PSECURITY_DESCRIPTOR, DWORD, PGENERIC_MAPPING, BOOL, PDWORD, PBOOL, PBOOL)
_In_ LPCSTR _Out_writes_bytes_to_opt_ cbSid PSID Sid
Definition: winbase.h:2767
HW_PROFILE_INFOA * LPHW_PROFILE_INFO
Definition: winbase.h:3746
BOOL WINAPI GetCommTimeouts(_In_ HANDLE, _Out_ LPCOMMTIMEOUTS)
DWORD WINAPI WaitForSingleObjectEx(HANDLE, DWORD, BOOL)
BOOL WINAPI VirtualLock(PVOID, SIZE_T)
PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER
Definition: winbase.h:1478
BOOL WINAPI WaitNamedPipeW(_In_ LPCWSTR, _In_ DWORD)
HANDLE WINAPI CreateEventW(_In_opt_ LPSECURITY_ATTRIBUTES, _In_ BOOL bManualReset, _In_ BOOL bInitialState, _In_opt_ LPCWSTR lpName)
DWORD WINAPI GetPrivateProfileStringW(_In_opt_ LPCWSTR lpAppName, _In_opt_ LPCWSTR lpKeyName, _In_opt_ LPCWSTR lpDefault, _Out_writes_to_opt_(nSize, return+1) LPWSTR lpReturnedString, _In_ DWORD nSize, _In_opt_ LPCWSTR lpFileName)
BOOL WINAPI SetCommBreak(_In_ HANDLE)
_Out_writes_bytes_opt_ lpdwSize LPCOMMCONFIG _Inout_ LPDWORD lpdwSize
Definition: winbase.h:2094
BOOL WINAPI SetThreadPriorityBoost(HANDLE, BOOL)
struct _TIME_ZONE_INFORMATION TIME_ZONE_INFORMATION
BOOL WINAPI SetupComm(_In_ HANDLE, _In_ DWORD, _In_ DWORD)
DWORD WINAPI GetTempPathW(DWORD, LPWSTR)
DWORD WINAPI GetCompressedFileSizeW(_In_ LPCWSTR, _Out_opt_ PDWORD)
struct _PROC_THREAD_ATTRIBUTE_LIST * PPROC_THREAD_ATTRIBUTE_LIST
Definition: winbase.h:1431
BOOL WINAPI SetSecurityDescriptorControl(PSECURITY_DESCRIPTOR, SECURITY_DESCRIPTOR_CONTROL, SECURITY_DESCRIPTOR_CONTROL)
Definition: sec.c:238
_Ret_maybenull_ HANDLE WINAPI CreateSemaphoreA(_In_opt_ LPSECURITY_ATTRIBUTES, _In_ LONG, _In_ LONG, _In_opt_ LPCSTR)
struct _BY_HANDLE_FILE_INFORMATION BY_HANDLE_FILE_INFORMATION
DWORD WINAPI GetCompressedFileSizeA(_In_ LPCSTR, _Out_opt_ PDWORD)
#define MAX_PROFILE_LEN
Definition: winbase.h:271
int WINAPI lstrcmpW(LPCWSTR, LPCWSTR)
Definition: locale.c:4243
BOOL WINAPI IsSystemResumeAutomatic(void)
Definition: power.c:197
struct _TIME_ZONE_INFORMATION * PTIME_ZONE_INFORMATION
BOOL WINAPI BackupEventLogA(_In_ HANDLE, _In_ LPCSTR)
BOOL WINAPI MoveFileWithProgressA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPPROGRESS_ROUTINE, _In_opt_ LPVOID, _In_ DWORD)
BOOL WINAPI MoveFileA(_In_ LPCSTR, _In_ LPCSTR)
struct _COMM_CONFIG COMMCONFIG
UINT WINAPI GetProfileIntW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ INT)
DWORD WINAPI GetPriorityClass(HANDLE)
_Ret_maybenull_ HANDLE WINAPI CreateSemaphoreW(_In_opt_ LPSECURITY_ATTRIBUTES, _In_ LONG, _In_ LONG, _In_opt_ LPCWSTR)
struct _SYSTEM_POWER_STATUS SYSTEM_POWER_STATUS
BOOL WINAPI GetThreadContext(HANDLE, LPCONTEXT)
PDWORD WINAPI GetSidSubAuthority(PSID, DWORD)
Definition: security.c:896
DECLSPEC_NORETURN void WINAPI FreeLibraryAndExitThread(HMODULE, DWORD)
Definition: loader.c:507
BOOL WINAPI CreateDirectoryExW(_In_ LPCWSTR, _In_ LPCWSTR, _In_opt_ LPSECURITY_ATTRIBUTES)
HANDLE WINAPI OpenEventW(DWORD, BOOL, LPCWSTR)
BOOL WINAPI WriteProfileStringA(_In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR)
BOOL WINAPI GetSystemTimeAdjustment(PDWORD, PDWORD, PBOOL)
BOOL WINAPI WritePrivateProfileStringA(_In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR)
BOOL WINAPI GetSecurityDescriptorControl(PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR_CONTROL, PDWORD)
BOOL WINAPI BackupWrite(_In_ HANDLE hFile, _In_reads_bytes_(nNumberOfBytesToWrite) LPBYTE lpBuffer, _In_ DWORD nNumberOfBytesToWrite, _Out_ LPDWORD lpNumberOfBytesWritten, _In_ BOOL bAbort, _In_ BOOL bProcessSecurity, _Inout_ LPVOID *lpContext)
BOOL WINAPI MoveFileW(_In_ LPCWSTR, _In_ LPCWSTR)
BOOL WINAPI InitializeAcl(PACL, DWORD, DWORD)
Definition: security.c:1006
_In_ PLUID lpLuid
Definition: winbase.h:2834
BOOL WINAPI AllocateLocallyUniqueId(PLUID)
Definition: security.c:1218
HANDLE WINAPI CreateMutexW(LPSECURITY_ATTRIBUTES, BOOL, LPCWSTR)
HFILE WINAPI _lopen(_In_ LPCSTR, _In_ int)
BOOL WINAPI DecryptFileA(_In_ LPCSTR, _Reserved_ DWORD)
DWORD WINAPI SleepEx(DWORD, BOOL)
PVOID WINAPI MapViewOfFileEx(HANDLE, DWORD, DWORD, DWORD, SIZE_T, PVOID)
Definition: filemap.c:162
DWORD WINAPI GetFullPathNameW(LPCWSTR, DWORD, LPWSTR, LPWSTR *)
HANDLE WINAPI OpenFileMappingA(_In_ DWORD, _In_ BOOL, _In_ LPCSTR)
BOOL WINAPI WriteFileGather(HANDLE, FILE_SEGMENT_ELEMENT *, DWORD, LPDWORD, LPOVERLAPPED)
struct _EXIT_PROCESS_DEBUG_INFO * LPEXIT_PROCESS_DEBUG_INFO
void(CALLBACK * LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD, DWORD, LPOVERLAPPED)
Definition: winbase.h:1476
DWORD WINAPI SuspendThread(HANDLE)
enum _FINDEX_SEARCH_OPS FINDEX_SEARCH_OPS
BOOL WINAPI ReadFileEx(HANDLE, PVOID, DWORD, LPOVERLAPPED, LPOVERLAPPED_COMPLETION_ROUTINE)
BOOL WINAPI WritePrivateProfileSectionA(_In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR)
BOOL WINAPI CommConfigDialogW(_In_ LPCWSTR, _In_opt_ HWND, _Inout_ LPCOMMCONFIG)
BOOL WINAPI CopyFileW(_In_ LPCWSTR lpExistingFileName, _In_ LPCWSTR lpNewFileName, _In_ BOOL bFailIfExists)
ATOM WINAPI FindAtomW(_In_opt_ LPCWSTR)
UINT WINAPI GetProfileIntA(_In_ LPCSTR, _In_ LPCSTR, _In_ INT)
BOOL WINAPI FindFirstFreeAce(PACL, PVOID *)
Definition: security.c:1176
ATOM WINAPI AddAtomA(_In_opt_ LPCSTR)
BOOL WINAPI WriteFileEx(HANDLE, LPCVOID, DWORD, LPOVERLAPPED, LPOVERLAPPED_COMPLETION_ROUTINE)
struct _WIN32_FIND_DATAA WIN32_FIND_DATAA
ATOM WINAPI DeleteAtom(_In_ ATOM)
struct _OUTPUT_DEBUG_STRING_INFO OUTPUT_DEBUG_STRING_INFO
BOOL WINAPI SetProcessWorkingSetSize(_In_ HANDLE, _In_ SIZE_T, _In_ SIZE_T)
BOOL WINAPI UnlockFileEx(HANDLE, DWORD, DWORD, DWORD, LPOVERLAPPED)
DWORD WINAPI ExpandEnvironmentStringsW(LPCWSTR, LPWSTR, DWORD)
struct _COMSTAT COMSTAT
BOOL WINAPI GetProcessWorkingSetSize(_In_ HANDLE, _Out_ PSIZE_T, _Out_ PSIZE_T)
BOOL WINAPI LocalUnlock(HLOCAL)
Definition: heapmem.c:1805
HRSRC WINAPI FindResourceExW(HINSTANCE, LPCWSTR, LPCWSTR, WORD)
Definition: res.c:164
BOOL WINAPI SetVolumeLabelW(_In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
struct _CRITICAL_SECTION * LPCRITICAL_SECTION
BOOL WINAPI SetStdHandle(_In_ DWORD, _In_ HANDLE)
BOOL WINAPI GetNumberOfEventLogRecords(_In_ HANDLE, _Out_ PDWORD)
BOOL WINAPI CreateRestrictedToken(_In_ HANDLE ExistingTokenHandle, _In_ DWORD Flags, _In_ DWORD DisableSidCount, _In_reads_opt_(DisableSidCount) PSID_AND_ATTRIBUTES SidsToDisable, _In_ DWORD DeletePrivilegeCount, _In_reads_opt_(DeletePrivilegeCount) PLUID_AND_ATTRIBUTES PrivilegesToDelete, _In_ DWORD RestrictedSidCount, _In_reads_opt_(RestrictedSidCount) PSID_AND_ATTRIBUTES SidsToRestrict, _Outptr_ PHANDLE NewTokenHandle)
Creates a filtered token that is a restricted one of the regular access token. A restricted token can...
Definition: security.c:533
struct _WIN32_STREAM_ID WIN32_STREAM_ID
DWORD WINAPI GetProfileStringA(_In_opt_ LPCSTR lpAppName, _In_opt_ LPCSTR lpKeyName, _In_opt_ LPCSTR lpDefault, _Out_writes_to_opt_(nSize, return+1) LPSTR lpReturnedString, _In_ DWORD nSize)
_In_ LPCSTR _In_opt_ LPCSTR lpExtension
Definition: winbase.h:3097
BOOL WINAPI VerifyVersionInfoA(_Inout_ LPOSVERSIONINFOEXA, _In_ DWORD, _In_ DWORDLONG)
BOOL WINAPI HeapValidate(HANDLE, DWORD, LPCVOID)
Definition: heapmem.c:156
BOOL WINAPI FlushFileBuffers(HANDLE)
struct _WIN32_FILE_ATTRIBUTE_DATA WIN32_FILE_ATTRIBUTE_DATA
HANDLE WINAPI CreateNamedPipeW(_In_ LPCWSTR, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_opt_ LPSECURITY_ATTRIBUTES)
DWORD WINAPI WaitForMultipleObjects(_In_ DWORD nCount, _In_reads_(nCount) CONST HANDLE *lpHandles, _In_ BOOL bWaitAll, _In_ DWORD dwMilliseconds)
struct _PROCESS_INFORMATION * PPROCESS_INFORMATION
BOOL WINAPI RemoveDirectoryW(LPCWSTR)
BOOL WINAPI EnumResourceLanguagesW(_In_opt_ HMODULE, _In_ LPCWSTR, _In_ LPCWSTR, _In_ ENUMRESLANGPROCW, _In_ LONG_PTR)
BOOL WINAPI WinLoadTrustProvider(GUID *)
DWORD WINAPI GetFileSize(HANDLE, PDWORD)
BOOL WINAPI IsBadCodePtr(_In_opt_ FARPROC)
BOOL WINAPI ImpersonateAnonymousToken(HANDLE)
struct _STARTUPINFOA STARTUPINFOA
BOOL WINAPI SetVolumeLabelA(_In_opt_ LPCSTR, _In_opt_ LPCSTR)
BOOL WINAPI MakeAbsoluteSD(PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR, PDWORD, PACL, PDWORD, PACL, PDWORD, PSID, PDWORD, PSID, PDWORD)
LONG(CALLBACK * PTOP_LEVEL_EXCEPTION_FILTER)(LPEXCEPTION_POINTERS)
Definition: winbase.h:1477
DWORD WINAPI GetPrivateProfileStringA(_In_opt_ LPCSTR lpAppName, _In_opt_ LPCSTR lpKeyName, _In_opt_ LPCSTR lpDefault, _Out_writes_to_opt_(nSize, return+1) LPSTR lpReturnedString, _In_ DWORD nSize, _In_opt_ LPCSTR lpFileName)
SIZE_T WINAPI HeapSize(HANDLE, DWORD, LPCVOID)
BOOL WINAPI GetAclInformation(PACL, PVOID, DWORD, ACL_INFORMATION_CLASS)
Definition: security.c:1194
HANDLE WINAPI CreateThread(LPSECURITY_ATTRIBUTES, DWORD, LPTHREAD_START_ROUTINE, PVOID, DWORD, PDWORD)
LPSTR WINAPI GetEnvironmentStrings(void)
SIZE_T WINAPI LocalCompact(_In_ UINT)
_In_opt_ LPSTR _In_opt_ LPSTR _In_ DWORD dwLogonType
Definition: winbase.h:2738
_Ret_maybenull_ HANDLE WINAPI OpenMutexA(_In_ DWORD, _In_ BOOL, _In_ LPCSTR)
PVOID WINAPI GlobalWire(_In_ HGLOBAL)
BOOL WINAPI GetProcessAffinityMask(_In_ HANDLE, _Out_ PDWORD_PTR, _Out_ PDWORD_PTR)
DWORD WINAPI GetFileAttributesW(LPCWSTR lpFileName)
Definition: fileinfo.c:652
_In_ LPCSTR _Out_writes_to_opt_ cchDisplayName LPSTR lpDisplayName
Definition: winbase.h:2815
struct _COMSTAT * LPCOMSTAT
BOOL WINAPI GetNamedPipeHandleStateA(_In_ HANDLE hNamedPipe, _Out_opt_ LPDWORD lpState, _Out_opt_ LPDWORD lpCurInstances, _Out_opt_ LPDWORD lpMaxCollectionCount, _Out_opt_ LPDWORD lpCollectDataTimeout, _Out_writes_opt_(nMaxUserNameSize) LPSTR lpUserName, _In_ DWORD nMaxUserNameSize)
_In_opt_ LPSTR _In_opt_ LPSTR _In_ DWORD _In_ DWORD _Out_opt_ PHANDLE phToken
Definition: winbase.h:2740
BOOL WINAPI GetHandleInformation(HANDLE, PDWORD)
BOOL WINAPI GetProcessPriorityBoost(_In_ HANDLE, _Out_ PBOOL)
BOOL WINAPI IsBadHugeReadPtr(_In_opt_ CONST VOID *, _In_ UINT_PTR)
BOOL WINAPI SetWaitableTimer(HANDLE, const LARGE_INTEGER *, LONG, PTIMERAPCROUTINE, PVOID, BOOL)
DWORD WINAPI SetThreadIdealProcessor(_In_ HANDLE, _In_ DWORD)
HANDLE WINAPI FindFirstFileExA(LPCSTR, FINDEX_INFO_LEVELS, PVOID, FINDEX_SEARCH_OPS, PVOID, DWORD)
BOOL(WINAPI * PINIT_ONCE_FN)(_Inout_ PINIT_ONCE InitOnce, _Inout_opt_ PVOID Parameter, _Outptr_opt_result_maybenull_ PVOID *Context)
Definition: winbase.h:3967
BOOL WINAPI ReadEventLogA(_In_ HANDLE hEventLog, _In_ DWORD dwReadFlags, _In_ DWORD dwRecordOffset, _Out_writes_bytes_to_(nNumberOfBytesToRead, *pnBytesRead) LPVOID lpBuffer, _In_ DWORD nNumberOfBytesToRead, _Out_ DWORD *pnBytesRead, _Out_ DWORD *pnMinNumberOfBytesNeeded)
BOOL WINAPI TerminateProcess(HANDLE hProcess, UINT uExitCode)
HLOCAL WINAPI LocalFree(HLOCAL)
Definition: heapmem.c:1594
struct _SYSTEMTIME * LPSYSTEMTIME
Definition: time.c:27
struct _OUTPUT_DEBUG_STRING_INFO * LPOUTPUT_DEBUG_STRING_INFO
DWORD WINAPI QueryDosDeviceA(_In_opt_ LPCSTR lpDeviceName, _Out_writes_to_opt_(ucchMax, return) LPSTR lpTargetPath, _In_ DWORD ucchMax)
struct _LDT_ENTRY LDT_ENTRY
BOOL WINAPI SetFileAttributesW(LPCWSTR lpFileName, DWORD dwFileAttributes)
Definition: fileinfo.c:794
ATOM WINAPI GlobalFindAtomW(_In_opt_ LPCWSTR)
SIZE_T WINAPI LocalSize(_In_ HLOCAL)
BOOL WINAPI FindNextFileA(HANDLE, LPWIN32_FIND_DATAA)
UINT WINAPI GlobalFlags(_In_ HGLOBAL)
UINT WINAPI GetPrivateProfileIntW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ INT, _In_opt_ LPCWSTR)
BOOL WINAPI CopyFileExA(_In_ LPCSTR, _In_ LPCSTR, _In_opt_ LPPROGRESS_ROUTINE, _In_opt_ LPVOID, _In_opt_ LPBOOL, _In_ DWORD)
BOOL(CALLBACK * ENUMRESLANGPROCA)(HMODULE, LPCSTR, LPCSTR, WORD, LONG_PTR)
Definition: winbase.h:1470
_Ret_maybenull_ HANDLE WINAPI CreateWaitableTimerW(_In_opt_ LPSECURITY_ATTRIBUTES, _In_ BOOL, _In_opt_ LPCWSTR)
BOOL WINAPI ClearEventLogA(_In_ HANDLE, _In_opt_ LPCSTR)
BOOL WINAPI IsBadStringPtrA(_In_opt_ LPCSTR, _In_ UINT_PTR)
ATOM WINAPI AddAtomW(_In_opt_ LPCWSTR)
BOOL WINAPI DeleteFileA(LPCSTR)
BOOL WINAPI WriteProfileSectionA(_In_ LPCSTR, _In_ LPCSTR)
BOOL WINAPI TerminateThread(HANDLE hThread, DWORD dwExitCode)
UINT WINAPI GlobalGetAtomNameW(_In_ ATOM nAtom, _Out_writes_to_(nSize, return+1) LPWSTR lpBuffer, _In_ int nSize)
BOOL WINAPI PulseEvent(HANDLE)
_Ret_maybenull_ HINSTANCE WINAPI LoadLibraryA(_In_ LPCSTR)
PVOID WINAPI FreeSid(PSID)
Definition: security.c:698
struct _LDT_ENTRY * LPLDT_ENTRY
BOOL WINAPI GetPrivateProfileStructW(_In_ LPCWSTR lpszSection, _In_ LPCWSTR lpszKey, _Out_writes_bytes_opt_(uSizeStruct) LPVOID lpStruct, _In_ UINT uSizeStruct, _In_opt_ LPCWSTR szFile)
HMODULE WINAPI GetModuleHandleA(LPCSTR)
Definition: loader.c:812
DWORD WINAPI GetTimeZoneInformation(LPTIME_ZONE_INFORMATION)
Definition: timezone.c:262
BOOL WINAPI GetBinaryTypeW(_In_ LPCWSTR, _Out_ PDWORD)
BOOL WINAPI CommConfigDialogA(_In_ LPCSTR, _In_opt_ HWND, _Inout_ LPCOMMCONFIG)
BOOL WINAPI DestroyPrivateObjectSecurity(PSECURITY_DESCRIPTOR *)
Definition: misc.c:1409
DWORD WINAPI FormatMessageA(DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, LPSTR lpBuffer, DWORD nSize, va_list *Arguments)
DWORD WINAPI GetLastError(void)
Definition: except.c:1042
PVOID WINAPI DecodeSystemPointer(PVOID)
BOOL WINAPI GetCommState(_In_ HANDLE, _Out_ LPDCB)
BOOL WINAPI WritePrivateProfileStringW(_In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
_In_opt_ LPSTR _In_opt_ LPSTR _In_ DWORD _In_ DWORD _Out_opt_ PHANDLE _Out_opt_ PSID _Out_opt_ PVOID * ppProfileBuffer
Definition: winbase.h:2742
BOOL WINAPI GetAce(PACL, DWORD, LPVOID *)
Definition: security.c:1186
BOOL WINAPI DefineDosDeviceW(DWORD, LPCWSTR, LPCWSTR)
Definition: dosdev.c:232
BOOL WINAPI UpdateResourceW(_In_ HANDLE hUpdate, _In_ LPCWSTR lpType, _In_ LPCWSTR lpName, _In_ WORD wLanguage, _In_reads_bytes_opt_(cb) LPVOID lpData, _In_ DWORD cb)
PVOID WINAPI LockResource(HGLOBAL)
Definition: res.c:550
PVOID WINAPI EncodePointer(PVOID)
BOOL WINAPI GetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR, LPBOOL, PACL *, LPBOOL)
Definition: sec.c:146
SIZE_T WINAPI LocalShrink(_In_ HLOCAL, _In_ UINT)
UINT WINAPI GetWindowsDirectoryA(LPSTR, UINT)
BOOL WINAPI GetMailslotInfo(_In_ HANDLE, _Out_opt_ PDWORD, _Out_opt_ PDWORD, _Out_opt_ PDWORD, _Out_opt_ PDWORD)
DWORD WINAPI SizeofResource(HINSTANCE, HRSRC)
Definition: res.c:568
BOOL WINAPI SetSystemPowerState(_In_ BOOL, _In_ BOOL)
BOOL WINAPI SetInformationJobObject(_In_ HANDLE hJob, _In_ JOBOBJECTINFOCLASS JobObjectInformationClass, _In_reads_bytes_(cbJobObjectInformationLength) LPVOID lpJobObjectInformation, _In_ DWORD cbJobObjectInformationLength)
BOOL WINAPI ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL)
Definition: security.c:1631
UINT WINAPI ResetWriteWatch(LPVOID, SIZE_T)
DWORD WINAPI SearchPathW(_In_opt_ LPCWSTR lpPath, _In_ LPCWSTR lpFileName, _In_opt_ LPCWSTR lpExtension, _In_ DWORD nBufferLength, _Out_writes_to_opt_(nBufferLength, return+1) LPWSTR lpBuffer, _Out_opt_ LPWSTR *lpFilePart)
BOOL WINAPI TlsSetValue(DWORD, PVOID)
PEXCEPTION_POINTERS LPEXCEPTION_POINTERS
Definition: winbase.h:832
_PROC_THREAD_ATTRIBUTE_NUM
Definition: winbase.h:1438
@ ProcThreadAttributeAllApplicationPackagesPolicy
Definition: winbase.h:1449
@ ProcThreadAttributeUmsThread
Definition: winbase.h:1443
@ ProcThreadAttributeSecurityCapabilities
Definition: winbase.h:1445
@ ProcThreadAttributeChildProcessPolicy
Definition: winbase.h:1448
@ ProcThreadAttributeWin32kFilter
Definition: winbase.h:1450
@ ProcThreadAttributeMitigationPolicy
Definition: winbase.h:1444
@ ProcThreadAttributeProtectionLevel
Definition: winbase.h:1446
@ ProcThreadAttributeSafeOpenPromptOriginClaim
Definition: winbase.h:1451
@ ProcThreadAttributeJobList
Definition: winbase.h:1447
@ ProcThreadAttributeIdealProcessor
Definition: winbase.h:1442
@ ProcThreadAttributeParentProcess
Definition: winbase.h:1439
@ ProcThreadAttributeGroupAffinity
Definition: winbase.h:1441
@ ProcThreadAttributeHandleList
Definition: winbase.h:1440
_In_ LPCSTR lpFileName
Definition: winbase.h:3096
struct _PROCESS_INFORMATION PROCESS_INFORMATION
BOOL WINAPI GetVersionExW(LPOSVERSIONINFOW)
BOOL WINAPI IsBadStringPtrW(_In_opt_ LPCWSTR, _In_ UINT_PTR)
_In_opt_ LPSTR _In_opt_ LPSTR _In_ DWORD _In_ DWORD _Out_opt_ PHANDLE _Out_opt_ PSID * ppLogonSid
Definition: winbase.h:2741
BOOL WINAPI DebugActiveProcess(DWORD)
BOOL WINAPI GlobalUnlock(_In_ HGLOBAL)
BOOL WINAPI SetDefaultCommConfigW(_In_ LPCWSTR lpszName, _In_reads_bytes_(dwSize) LPCOMMCONFIG lpCC, _In_ DWORD dwSize)
BOOL WINAPI CreateProcessWithTokenW(HANDLE, DWORD, LPCWSTR, LPWSTR, DWORD, LPVOID, LPCWSTR, LPSTARTUPINFOW, LPPROCESS_INFORMATION)
BOOL WINAPI FreeEnvironmentStringsW(LPWSTR)
BOOL WINAPI GetDiskFreeSpaceExW(LPCWSTR, PULARGE_INTEGER, PULARGE_INTEGER, PULARGE_INTEGER)
struct _LDT_ENTRY * PLDT_ENTRY
BOOL WINAPI AddAuditAccessAce(PACL, DWORD, DWORD, PSID, BOOL, BOOL)
Definition: security.c:1951
_Ret_maybenull_ HANDLE WINAPI OpenWaitableTimerA(_In_ DWORD, _In_ BOOL, _In_ LPCSTR)
BOOL WINAPI GetPrivateProfileStructA(_In_ LPCSTR lpszSection, _In_ LPCSTR lpszKey, _Out_writes_bytes_opt_(uSizeStruct) LPVOID lpStruct, _In_ UINT uSizeStruct, _In_opt_ LPCSTR szFile)
HANDLE WINAPI CreateMutexA(LPSECURITY_ATTRIBUTES, BOOL, LPCSTR)
void WINAPI FatalAppExitW(UINT, LPCWSTR)
BOOL WINAPI ReportEventW(_In_ HANDLE hEventLog, _In_ WORD wType, _In_ WORD wCategory, _In_ DWORD dwEventID, _In_opt_ PSID lpUserSid, _In_ WORD wNumStrings, _In_ DWORD dwDataSize, _In_reads_opt_(wNumStrings) LPCWSTR *lpStrings, _In_reads_bytes_opt_(dwDataSize) LPVOID lpRawData)
BOOL WINAPI SetFileAttributesA(LPCSTR lpFileName, DWORD dwFileAttributes)
Definition: fileinfo.c:776
_In_opt_ LPSTR _In_opt_ LPSTR _In_ DWORD _In_ DWORD _Out_opt_ PHANDLE _Out_opt_ PSID _Out_opt_ PVOID _Out_opt_ LPDWORD pdwProfileLength
Definition: winbase.h:2743
BOOL WINAPI SetHandleInformation(HANDLE, DWORD, DWORD)
struct _CREATE_PROCESS_DEBUG_INFO CREATE_PROCESS_DEBUG_INFO
PUCHAR WINAPI GetSidSubAuthorityCount(PSID)
Definition: security.c:908
_In_ LPCSTR _Out_writes_to_opt_ cchDisplayName LPSTR _Inout_ LPDWORD _Out_ LPDWORD lpLanguageId
Definition: winbase.h:2817
BOOL(CALLBACK * ENUMRESTYPEPROCA)(HMODULE, LPSTR, LONG_PTR)
Definition: winbase.h:1474
ATOM WINAPI GlobalFindAtomA(_In_opt_ LPCSTR)
BOOL WINAPI GetPrivateObjectSecurity(PSECURITY_DESCRIPTOR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, PDWORD)
BOOL WINAPI FileTimeToDosDateTime(_In_ CONST FILETIME *, _Out_ LPWORD, _Out_ LPWORD)
BOOL WINAPI SetSystemTimeAdjustment(_In_ DWORD, _In_ BOOL)
BOOL WINAPI GetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR, PSID *, LPBOOL)
Definition: sec.c:103
UINT WINAPI GlobalGetAtomNameA(_In_ ATOM nAtom, _Out_writes_to_(nSize, return+1) LPSTR lpBuffer, _In_ int nSize)
BOOL WINAPI CreateProcessAsUserW(HANDLE, LPCWSTR, LPWSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, PVOID, LPCWSTR, LPSTARTUPINFOW, LPPROCESS_INFORMATION)
UINT WINAPI SetHandleCount(UINT)
DWORD WINAPI GetSecurityDescriptorLength(PSECURITY_DESCRIPTOR)
BOOL WINAPI CancelWaitableTimer(HANDLE)
BOOL WINAPI CopyFileA(_In_ LPCSTR, _In_ LPCSTR, _In_ BOOL)
DWORD WINAPI EraseTape(_In_ HANDLE, _In_ DWORD, _In_ BOOL)
PVOID WINAPI TlsGetValue(DWORD)
BOOL WINAPI SetPriorityClass(HANDLE, DWORD)
HMODULE WINAPI GetModuleHandleW(LPCWSTR)
Definition: loader.c:838
BOOL WINAPI SetComputerNameA(_In_ LPCSTR)
BOOL WINAPI ObjectPrivilegeAuditAlarmW(LPCWSTR, PVOID, HANDLE, DWORD, PPRIVILEGE_SET, BOOL)
Definition: audit.c:406
_Ret_maybenull_ PVOID WINAPI ConvertThreadToFiber(_In_opt_ PVOID)
DWORD WINAPI GetModuleFileNameW(HINSTANCE hModule, LPWSTR lpFilename, DWORD nSize)
Definition: loader.c:600
PCONTEXT LPCONTEXT
Definition: winbase.h:830
BOOL WINAPI SetCommState(_In_ HANDLE, _In_ LPDCB)
BOOL WINAPI FlushViewOfFile(LPCVOID, SIZE_T)
int WINAPI lstrcmpiW(LPCWSTR, LPCWSTR)
Definition: locale.c:4262
BOOL WINAPI SetCommConfig(_In_ HANDLE hCommDev, _In_reads_bytes_(dwSize) LPCOMMCONFIG lpCC, _In_ DWORD dwSize)
_In_ LPCSTR _Out_writes_bytes_to_opt_ cbSid PSID _Inout_ LPDWORD cbSid
Definition: winbase.h:2768
HANDLE WINAPI GetCurrentThread(void)
Definition: proc.c:1148
LONG WINAPI UnhandledExceptionFilter(LPEXCEPTION_POINTERS)
HLOCAL WINAPI LocalAlloc(UINT, SIZE_T)
Definition: heapmem.c:1390
PRTL_RUN_ONCE PINIT_ONCE
Definition: winbase.h:3957
PRTL_RUN_ONCE LPINIT_ONCE
Definition: winbase.h:3958
BOOL WINAPI SetCurrentDirectoryA(LPCSTR)
struct _WIN32_FIND_DATAA * LPWIN32_FIND_DATAA
WINBASEAPI void WINAPI OutputDebugStringA(LPCSTR)
Definition: ignoredbgout.c:18
BOOL WINAPI TryEnterCriticalSection(LPCRITICAL_SECTION)
HGLOBAL WINAPI GlobalAlloc(UINT, SIZE_T)
Definition: heapmem.c:368
int WINAPI GetThreadPriority(HANDLE)
BOOL WINAPI TzSpecificLocalTimeToSystemTime(LPTIME_ZONE_INFORMATION, LPSYSTEMTIME, LPSYSTEMTIME)
Definition: timezone.c:421
VOID WINAPI GlobalMemoryStatus(_Out_ LPMEMORYSTATUS)
struct _COMMTIMEOUTS * LPCOMMTIMEOUTS
BOOL WINAPI AccessCheckByType(_In_ PSECURITY_DESCRIPTOR pSecurityDescriptor, _In_opt_ PSID PrincipalSelfSid, _In_ HANDLE ClientToken, _In_ DWORD DesiredAccess, _In_reads_opt_(ObjectTypeListLength) POBJECT_TYPE_LIST ObjectTypeList, _In_ DWORD ObjectTypeListLength, _In_ PGENERIC_MAPPING GenericMapping, _Out_writes_bytes_(*PrivilegeSetLength) PPRIVILEGE_SET PrivilegeSet, _Inout_ LPDWORD PrivilegeSetLength, _Out_ LPDWORD GrantedAccess, _Out_ LPBOOL AccessStatus)
BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *, LPFILETIME)
BOOL WINAPI GetDefaultCommConfigW(_In_ LPCWSTR lpszName, _Out_writes_bytes_to_(*lpdwSize, *lpdwSize) LPCOMMCONFIG lpCC, _Inout_ LPDWORD lpdwSize)
DWORD WINAPI GetSidLengthRequired(UCHAR)
Definition: security.c:852
void WINAPI RaiseException(DWORD, DWORD, DWORD, const ULONG_PTR *)
BOOL WINAPI EnumResourceTypesA(_In_opt_ HMODULE, _In_ ENUMRESTYPEPROCA, _In_ LONG_PTR)
DWORD WINAPI PrepareTape(_In_ HANDLE, _In_ DWORD, _In_ BOOL)
DWORD WINAPI FlsAlloc(PFLS_CALLBACK_FUNCTION)
Definition: fiber.c:341
HANDLE WINAPI FindFirstFileA(LPCSTR, LPWIN32_FIND_DATAA)
HANDLE WINAPI CreateMailslotA(_In_ LPCSTR, _In_ DWORD, _In_ DWORD, _In_opt_ LPSECURITY_ATTRIBUTES)
struct _BY_HANDLE_FILE_INFORMATION * LPBY_HANDLE_FILE_INFORMATION
BOOL WINAPI SystemTimeToTzSpecificLocalTime(CONST TIME_ZONE_INFORMATION *, CONST SYSTEMTIME *, LPSYSTEMTIME)
Definition: timezone.c:377
BOOL WINAPI VirtualFree(PVOID, SIZE_T, DWORD)
DWORD WINAPI GetPrivateProfileSectionNamesA(_Out_writes_to_opt_(nSize, return+1) LPSTR lpszReturnBuffer, _In_ DWORD nSize, _In_opt_ LPCSTR lpFileName)
BOOL WINAPI BackupEventLogW(_In_ HANDLE, _In_ LPCWSTR)
_FINDEX_SEARCH_OPS
Definition: winbase.h:1158
@ FindExSearchLimitToDevices
Definition: winbase.h:1161
@ FindExSearchMaxSearchOp
Definition: winbase.h:1162
@ FindExSearchLimitToDirectories
Definition: winbase.h:1160
@ FindExSearchNameMatch
Definition: winbase.h:1159
BOOL WINAPI ObjectCloseAuditAlarmA(_In_ LPCSTR, _In_ PVOID, _In_ BOOL)
DWORD WINAPI GetCurrentDirectoryA(DWORD, LPSTR)
BOOL WINAPI TransactNamedPipe(HANDLE, PVOID, DWORD, PVOID, DWORD, PDWORD, LPOVERLAPPED)
__analysis_noreturn void WINAPI FatalExit(_In_ int)
BOOL WINAPI BuildCommDCBW(_In_ LPCWSTR, _Out_ LPDCB)
DWORD WINAPI GetCurrentThreadId(void)
Definition: thread.c:459
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
struct _MEMORYSTATUS MEMORYSTATUS
UINT WINAPI GetTempFileNameW(LPCWSTR, LPCWSTR, UINT, LPWSTR)
BOOL WINAPI AccessCheckByTypeResultList(_In_ PSECURITY_DESCRIPTOR pSecurityDescriptor, _In_opt_ PSID PrincipalSelfSid, _In_ HANDLE ClientToken, _In_ DWORD DesiredAccess, _In_reads_(ObjectTypeListLength) POBJECT_TYPE_LIST ObjectTypeList, _In_ DWORD ObjectTypeListLength, _In_ PGENERIC_MAPPING GenericMapping, _Out_writes_bytes_(*PrivilegeSetLength) PPRIVILEGE_SET PrivilegeSet, _Inout_ LPDWORD PrivilegeSetLength, _Out_writes_(ObjectTypeListLength) LPDWORD GrantedAccess, _Out_writes_(ObjectTypeListLength) LPBOOL AccessStatus)
Determines whether security access can be granted to a client that requests such access on the object...
Definition: security.c:1881
BOOL WINAPI LookupPrivilegeValueW(_In_opt_ LPCWSTR, _In_ LPCWSTR, _Out_ PLUID)
BOOL WINAPI EndUpdateResourceW(_In_ HANDLE, _In_ BOOL)
DWORD WINAPI TlsAlloc(VOID)
Definition: thread.c:1100
BOOL WINAPI IsValidSecurityDescriptor(PSECURITY_DESCRIPTOR)
Definition: sec.c:176
BOOL WINAPI OpenThreadToken(HANDLE, DWORD, BOOL, PHANDLE)
WINBASEAPI BOOL WINAPI InitOnceExecuteOnce(_Inout_ PINIT_ONCE InitOnce, _In_ __callback PINIT_ONCE_FN InitFn, _Inout_opt_ PVOID Parameter, _Outptr_opt_result_maybenull_ LPVOID *Context)
Definition: InitOnce.c:12
LPWSTR WINAPI lstrcatW(_Inout_updates_z_(_String_length_(lpString1)+_String_length_(lpString2)+1) LPWSTR lpString1, _In_ LPCWSTR lpString2)
_Ret_maybenull_ HANDLE WINAPI OpenSemaphoreA(_In_ DWORD, _In_ BOOL, _In_ LPCSTR)
BOOL WINAPI IsBadReadPtr(_In_opt_ CONST VOID *, _In_ UINT_PTR)
struct _UNLOAD_DLL_DEBUG_INFO * LPUNLOAD_DLL_DEBUG_INFO
_Success_(return !=0 &&return< cchBuffer) DWORD WINAPI GetShortPathNameA(_In_ LPCSTR lpszLongPath
BOOL WINAPI GetThreadSelectorEntry(_In_ HANDLE, _In_ DWORD, _Out_ LPLDT_ENTRY)
BOOL WINAPI SetKernelObjectSecurity(HANDLE, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR)
Definition: security.c:1928
BOOL WINAPI GetQueuedCompletionStatus(HANDLE, PDWORD, PULONG_PTR, LPOVERLAPPED *, DWORD)
BOOL WINAPI GetTokenInformation(HANDLE, TOKEN_INFORMATION_CLASS, PVOID, DWORD, PDWORD)
Definition: security.c:411
HGLOBAL WINAPI GlobalFree(HGLOBAL)
Definition: heapmem.c:611
BOOL WINAPI GetDiskFreeSpaceW(LPCWSTR, PDWORD, PDWORD, PDWORD, PDWORD)
struct _STARTUPINFOA * LPSTARTUPINFOA
BOOL WINAPI AdjustTokenGroups(HANDLE, BOOL, PTOKEN_GROUPS, DWORD, PTOKEN_GROUPS, PDWORD)
Definition: security.c:346
BOOL WINAPI EnumResourceNamesW(_In_opt_ HMODULE, _In_ LPCWSTR, _In_ ENUMRESNAMEPROCW, _In_ LONG_PTR)
BOOL WINAPI WaitNamedPipeA(_In_ LPCSTR, _In_ DWORD)
VOID WINAPI MapGenericMask(PDWORD, PGENERIC_MAPPING)
VOID WINAPI GetSystemTime(LPSYSTEMTIME lpSystemTime)
PVOID WINAPI VirtualAlloc(PVOID, SIZE_T, DWORD, DWORD)
struct _DCB DCB
BOOL WINAPI GetDefaultCommConfigA(_In_ LPCSTR lpszName, _Out_writes_bytes_to_(*lpdwSize, *lpdwSize) LPCOMMCONFIG lpCC, _Inout_ LPDWORD lpdwSize)
DWORD WINAPI WaitForSingleObject(_In_ HANDLE hHandle, _In_ DWORD dwMilliseconds)
STARTUPINFOA STARTUPINFO
Definition: winbase.h:3744
BOOL WINAPI QueryPerformanceCounter(PLARGE_INTEGER)
struct _MEMORYSTATUS * LPMEMORYSTATUS
_In_ LPCSTR lpName
Definition: winbase.h:2814
struct _CRITICAL_SECTION CRITICAL_SECTION
DWORD WINAPI GetLogicalDriveStringsW(DWORD, LPWSTR)
DWORD_PTR WINAPI SetThreadAffinityMask(_In_ HANDLE, _In_ DWORD_PTR)
struct _TIME_DYNAMIC_ZONE_INFORMATION DYNAMIC_TIME_ZONE_INFORMATION
*nSize LPSTR lpBuffer
Definition: winbase.h:2108
BOOL WINAPI GetVolumeInformationW(LPCWSTR, LPWSTR, DWORD, PDWORD, PDWORD, PDWORD, LPWSTR, DWORD)
DWORD WINAPI ResumeThread(HANDLE)
BOOL WINAPI CreateDirectoryW(LPCWSTR lpPathName, LPSECURITY_ATTRIBUTES lpSecurityAttributes)
struct _CREATE_THREAD_DEBUG_INFO CREATE_THREAD_DEBUG_INFO
BOOL WINAPI CallNamedPipeW(_In_ LPCWSTR lpNamedPipeName, _In_reads_bytes_opt_(nInBufferSize) LPVOID lpInBuffer, _In_ DWORD nInBufferSize, _Out_writes_bytes_to_opt_(nOutBufferSize, *lpBytesRead) LPVOID lpOutBuffer, _In_ DWORD nOutBufferSize, _Out_ LPDWORD lpBytesRead, _In_ DWORD nTimeOut)
BOOL WINAPI LockFileEx(HANDLE, DWORD, DWORD, DWORD, DWORD, LPOVERLAPPED)
BOOL WINAPI ClearCommBreak(_In_ HANDLE)
BOOL WINAPI LogonUserW(_In_ LPWSTR, _In_opt_ LPWSTR, _In_opt_ LPWSTR, _In_ DWORD, _In_ DWORD, _Outptr_ PHANDLE)
ATOM WINAPI GlobalDeleteAtom(_In_ ATOM)
UINT WINAPI SetErrorMode(UINT)
BOOL WINAPI CreateDirectoryExA(_In_ LPCSTR, _In_ LPCSTR, _In_opt_ LPSECURITY_ATTRIBUTES)
LONG WINAPI _llseek(_In_ HFILE, _In_ LONG, _In_ int)
WINBASEAPI void WINAPI Sleep(DWORD)
_Ret_maybenull_ HGLOBAL WINAPI GlobalHandle(_In_ LPCVOID)
struct _UNLOAD_DLL_DEBUG_INFO UNLOAD_DLL_DEBUG_INFO
BOOL WINAPI ObjectDeleteAuditAlarmA(_In_ LPCSTR, _In_ PVOID, _In_ BOOL)
BOOL WINAPI GetExitCodeProcess(HANDLE, PDWORD)
BOOL WINAPI FileEncryptionStatusA(_In_ LPCSTR, _Out_ LPDWORD)
BOOL WINAPI FindCloseChangeNotification(HANDLE)
BOOL WINAPI PrivilegedServiceAuditAlarmW(LPCWSTR, LPCWSTR, HANDLE, PPRIVILEGE_SET, BOOL)
Definition: audit.c:475
DWORD WINAPI ExpandEnvironmentStringsA(LPCSTR, LPSTR, DWORD)
VOID WINAPI InitializeCriticalSection(LPCRITICAL_SECTION)
BOOL WINAPI FlushInstructionCache(HANDLE, LPCVOID, SIZE_T)
int WINAPI lstrcmpA(LPCSTR, LPCSTR)
Definition: locale.c:4195
struct _STARTUPINFOW * LPSTARTUPINFOW
BOOL WINAPI RemoveDirectoryA(LPCSTR)
BOOL WINAPI SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR, BOOL, PACL, BOOL)
Definition: sec.c:262
UINT WINAPI GetSystemDirectoryA(LPSTR, UINT)
DWORD WINAPI GetPrivateProfileSectionA(_In_ LPCSTR lpAppName, _Out_writes_to_opt_(nSize, return+1) LPSTR lpReturnedString, _In_ DWORD nSize, _In_opt_ LPCSTR lpFileName)
DWORD WINAPI GetVersion(void)
Definition: version.c:22
BOOL WINAPI DuplicateHandle(HANDLE, HANDLE, HANDLE, PHANDLE, DWORD, BOOL, DWORD)
BOOL WINAPI GetNamedPipeInfo(_In_ HANDLE, _Out_opt_ PDWORD, _Out_opt_ PDWORD, _Out_opt_ PDWORD, _Out_opt_ PDWORD)
HANDLE WINAPI FindFirstChangeNotificationW(LPCWSTR, BOOL, DWORD)
BOOL WINAPI GetSystemPowerStatus(_Out_ LPSYSTEM_POWER_STATUS)
struct _OFSTRUCT * LPOFSTRUCT
DWORD WINAPI GetPrivateProfileSectionNamesW(_Out_writes_to_opt_(nSize, return+1) LPWSTR lpszReturnBuffer, _In_ DWORD nSize, _In_opt_ LPCWSTR lpFileName)
BOOL WINAPI NotifyChangeEventLog(_In_ HANDLE, _In_ HANDLE)
BOOL WINAPI GetCommModemStatus(_In_ HANDLE, _Out_ PDWORD)
DWORD(WINAPI * PFE_IMPORT_FUNC)(_Out_writes_bytes_to_(*ulLength, *ulLength) PBYTE pbData, _In_opt_ PVOID pvCallbackContext, _Inout_ PULONG ulLength)
Definition: winbase.h:1492
BOOL WINAPI WriteProfileSectionW(_In_ LPCWSTR, _In_ LPCWSTR)
DWORD(WINAPI * LPPROGRESS_ROUTINE)(_In_ LARGE_INTEGER, _In_ LARGE_INTEGER, _In_ LARGE_INTEGER, _In_ LARGE_INTEGER, _In_ DWORD, _In_ DWORD, _In_ HANDLE, _In_ HANDLE, _In_opt_ LPVOID)
Definition: winbase.h:1464
struct _CRITICAL_SECTION_DEBUG * LPCRITICAL_SECTION_DEBUG
BOOL WINAPI FlsSetValue(DWORD, PVOID)
Definition: fiber.c:481
SIZE_T WINAPI GlobalCompact(_In_ DWORD)
HANDLE WINAPI OpenEventLogW(_In_opt_ LPCWSTR, _In_ LPCWSTR)
BOOL WINAPI FreeEnvironmentStringsA(LPSTR)
SIZE_T WINAPI VirtualQuery(LPCVOID, PMEMORY_BASIC_INFORMATION, SIZE_T)
BOOL WINAPI WriteFile(HANDLE, LPCVOID, DWORD, LPDWORD, LPOVERLAPPED)
BOOL WINAPI GetFileSecurityW(LPCWSTR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, PDWORD)
BOOL WINAPI AddAccessDeniedAce(PACL, DWORD, DWORD, PSID)
Definition: security.c:1090
DECLSPEC_NORETURN void WINAPI ExitProcess(UINT)
DWORD WINAPI GetCurrentProcessId(void)
Definition: proc.c:1158
BOOL WINAPI GetUserNameA(_Out_writes_to_opt_(*pcbBuffer, *pcbBuffer) LPSTR lpBuffer, _Inout_ LPDWORD pcbBuffer)
HGLOBAL WINAPI GlobalReAlloc(HGLOBAL, SIZE_T, UINT)
Definition: heapmem.c:825
BOOL WINAPI BuildCommDCBAndTimeoutsA(_In_ LPCSTR, _Out_ LPDCB, _Out_ LPCOMMTIMEOUTS)
BOOL WINAPI DuplicateToken(HANDLE, SECURITY_IMPERSONATION_LEVEL, PHANDLE)
BOOL WINAPI CloseEventLog(_In_ HANDLE)
DWORD WINAPI GetLogicalDrives(void)
Definition: disk.c:110
WIN32_FIND_DATAA WIN32_FIND_DATA
Definition: winbase.h:3745
BOOL WINAPI GetDiskFreeSpaceA(LPCSTR, PDWORD, PDWORD, PDWORD, PDWORD)
BOOL WINAPI GetCurrentHwProfileW(_Out_ LPHW_PROFILE_INFOW)
LPSTR WINAPI lstrcpyA(_Out_writes_(_String_length_(lpString2)+1) LPSTR lpString1, _In_ LPCSTR lpString2)
BOOL WINAPI SetProcessShutdownParameters(DWORD, DWORD)
BOOL WINAPI WritePrivateProfileSectionW(_In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
BOOL WINAPI AreFileApisANSI(void)
Definition: utils.c:866
struct _DCB * LPDCB
BOOL WINAPI GetFileSecurityA(_In_ LPCSTR lpFileName, _In_ SECURITY_INFORMATION RequestedInformation, _Out_writes_bytes_to_opt_(nLength, *lpnLengthNeeded) PSECURITY_DESCRIPTOR pSecurityDescriptor, _In_ DWORD nLength, _Out_ LPDWORD lpnLengthNeeded)
BOOL WINAPI FileTimeToSystemTime(CONST FILETIME *, LPSYSTEMTIME)
PVOID WINAPI EncodeSystemPointer(PVOID)
HANDLE WINAPI OpenMutexW(DWORD, BOOL, LPCWSTR)
BOOL WINAPI GetCommMask(_In_ HANDLE, _Out_ PDWORD)
BOOL WINAPI AreAnyAccessesGranted(DWORD, DWORD)
Definition: security.c:2544
DWORD WINAPI GetProfileSectionW(_In_ LPCWSTR lpAppName, _Out_writes_to_opt_(nSize, return+1) LPWSTR lpReturnedString, _In_ DWORD nSize)
_Ret_maybenull_ LPVOID WINAPI GlobalLock(_In_ HGLOBAL)
void WINAPI DebugBreak(void)
BOOL WINAPI DecryptFileW(_In_ LPCWSTR, _Reserved_ DWORD)
struct _CREATE_PROCESS_DEBUG_INFO * LPCREATE_PROCESS_DEBUG_INFO
HANDLE WINAPI CreateRemoteThread(HANDLE, LPSECURITY_ATTRIBUTES, DWORD, LPTHREAD_START_ROUTINE, LPVOID, DWORD, LPDWORD)
enum _PROC_THREAD_ATTRIBUTE_NUM PROC_THREAD_ATTRIBUTE_NUM
BOOL WINAPI CancelIo(HANDLE)
BOOL WINAPI GetProcessShutdownParameters(_Out_ PDWORD, _Out_ PDWORD)
DWORD WINAPI GetWindowThreadProcessId(HWND hWnd, PDWORD lpdwProcessId)
BOOL WINAPI LookupPrivilegeValueA(_In_opt_ LPCSTR, _In_ LPCSTR, _Out_ PLUID)
BOOL WINAPI SetTimeZoneInformation(const TIME_ZONE_INFORMATION *)
BOOL WINAPI GetNamedPipeHandleStateW(_In_ HANDLE hNamedPipe, _Out_opt_ LPDWORD lpState, _Out_opt_ LPDWORD lpCurInstances, _Out_opt_ LPDWORD lpMaxCollectionCount, _Out_opt_ LPDWORD lpCollectDataTimeout, _Out_writes_opt_(nMaxUserNameSize) LPWSTR lpUserName, _In_ DWORD nMaxUserNameSize)
BOOL WINAPI EndUpdateResourceA(_In_ HANDLE, _In_ BOOL)
UINT WINAPI GetDriveTypeA(LPCSTR)
WIN32_FIND_DATAA * PWIN32_FIND_DATA
Definition: winbase.h:3745
DWORD WINAPI WaitForMultipleObjectsEx(DWORD, const HANDLE *, BOOL, DWORD, BOOL)
PVOID WINAPI VirtualAllocEx(HANDLE, PVOID, SIZE_T, DWORD, DWORD)
struct _EXIT_THREAD_DEBUG_INFO * LPEXIT_THREAD_DEBUG_INFO
struct _CRITICAL_SECTION_DEBUG * PCRITICAL_SECTION_DEBUG
BOOL WINAPI GetKernelObjectSecurity(HANDLE, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, PDWORD)
BOOL WINAPI FileTimeToLocalFileTime(CONST FILETIME *, LPFILETIME)
BOOL WINAPI BuildCommDCBA(_In_ LPCSTR, _Out_ LPDCB)
BOOL WINAPI GetFileAttributesExA(LPCSTR lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, PVOID lpFileInformation)
Definition: fileinfo.c:619
BOOL WINAPI ImpersonateLoggedOnUser(HANDLE)
Definition: misc.c:152
BOOL WINAPI FindNextFileW(HANDLE, LPWIN32_FIND_DATAW)
DWORD WINAPI WriteEncryptedFileRaw(_In_ PFE_IMPORT_FUNC, _In_opt_ PVOID, _In_ PVOID)
HANDLE WINAPI RegisterEventSourceW(_In_opt_ LPCWSTR, _In_ LPCWSTR)
BOOL WINAPI SetSystemTime(const SYSTEMTIME *)
HANDLE WINAPI CreateMailslotW(_In_ LPCWSTR, _In_ DWORD, _In_ DWORD, _In_opt_ LPSECURITY_ATTRIBUTES)
BOOL WINAPI IsValidSid(PSID)
Definition: security.c:819
struct _SYSTEMTIME SYSTEMTIME
HANDLE WINAPI GetStdHandle(_In_ DWORD)
HANDLE WINAPI BeginUpdateResourceW(_In_ LPCWSTR, _In_ BOOL)
BOOL WINAPI IsTextUnicode(_In_reads_bytes_(iSize) CONST VOID *lpv, _In_ int iSize, _Inout_opt_ LPINT lpiResult)
HANDLE WINAPI OpenEventLogA(_In_opt_ LPCSTR, _In_ LPCSTR)
PVOID WINAPI DecodePointer(PVOID)
BOOL WINAPI MoveFileExW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD)
BOOL WINAPI DeviceIoControl(HANDLE, DWORD, PVOID, DWORD, PVOID, DWORD, PDWORD, POVERLAPPED)
enum _GET_FILEEX_INFO_LEVELS GET_FILEEX_INFO_LEVELS
WIN32_FIND_DATAA * LPWIN32_FIND_DATA
Definition: winbase.h:3745
DWORD WINAPI LoadModule(_In_ LPCSTR, _In_ PVOID)
DWORD WINAPI GetTickCount(VOID)
Definition: time.c:455
HINSTANCE WINAPI LoadLibraryExW(LPCWSTR, HANDLE, DWORD)
Definition: loader.c:288
VOID WINAPI GetStartupInfoW(LPSTARTUPINFOW)
BOOL WINAPI GetFileInformationByHandle(HANDLE, LPBY_HANDLE_FILE_INFORMATION)
Definition: fileinfo.c:458
HANDLE WINAPI GetCurrentProcess(void)
Definition: proc.c:1138
BOOL WINAPI SetFileSecurityA(_In_ LPCSTR, _In_ SECURITY_INFORMATION, _In_ PSECURITY_DESCRIPTOR)
struct _SYSTEM_INFO * LPSYSTEM_INFO
BOOL WINAPI SetNamedPipeHandleState(HANDLE, PDWORD, PDWORD, PDWORD)
WINBASEAPI BOOL WINAPI InitOnceComplete(_Inout_ LPINIT_ONCE lpInitOnce, _In_ DWORD dwFlags, _In_opt_ LPVOID lpContext)
Definition: InitOnce.c:47
int WINAPI lstrcmpiA(LPCSTR, LPCSTR)
Definition: locale.c:4224
UINT WINAPI GetTempFileNameA(_In_ LPCSTR lpPathName, _In_ LPCSTR lpPrefixString, _In_ UINT uUnique, _Out_writes_(MAX_PATH) LPSTR lpTempFileName)
int WINAPI MulDiv(_In_ int, _In_ int, _In_ int)
struct _OFSTRUCT * POFSTRUCT
HANDLE WINAPI FindFirstChangeNotificationA(LPCSTR, BOOL, DWORD)
BOOL WINAPI ReadDirectoryChangesW(_In_ HANDLE hDirectory, _Out_writes_bytes_to_(nBufferLength, *lpBytesReturned) LPVOID lpBuffer, _In_ DWORD nBufferLength, _In_ BOOL bWatchSubtree, _In_ DWORD dwNotifyFilter, _Out_opt_ LPDWORD lpBytesReturned, _Inout_opt_ LPOVERLAPPED lpOverlapped, _In_opt_ LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine)
BOOL WINAPI SetEndOfFile(HANDLE)
Definition: fileinfo.c:1004
BOOL WINAPI BackupRead(_In_ HANDLE hFile, _Out_writes_bytes_to_(nNumberOfBytesToRead, *lpNumberOfBytesRead) LPBYTE lpBuffer, _In_ DWORD nNumberOfBytesToRead, _Out_ LPDWORD lpNumberOfBytesRead, _In_ BOOL bAbort, _In_ BOOL bProcessSecurity, _Inout_ LPVOID *lpContext)
BOOL WINAPI ClearCommError(_In_ HANDLE, _Out_opt_ PDWORD, _Out_opt_ LPCOMSTAT)
PVOID WINAPI FlsGetValue(DWORD)
Definition: fiber.c:460
BOOL WINAPI SetThreadContext(HANDLE, const CONTEXT *)
UINT WINAPI _lwrite(_In_ HFILE hFile, _In_reads_bytes_(uBytes) LPCCH lpBuffer, _In_ UINT uBytes)
BOOL WINAPI DisconnectNamedPipe(HANDLE)
Definition: npipe.c:961
BOOL WINAPI VirtualProtect(PVOID, SIZE_T, DWORD, PDWORD)
DWORD WINAPI GetProfileSectionA(_In_ LPCSTR lpAppName, _Out_writes_to_opt_(nSize, return+1) LPSTR lpReturnedString, _In_ DWORD nSize)
BOOL WINAPI SwitchToThread(void)
Definition: thread.c:448
BOOL WINAPI HeapLock(HANDLE)
Definition: heapmem.c:123
SIZE_T WINAPI VirtualQueryEx(HANDLE, LPCVOID, PMEMORY_BASIC_INFORMATION, SIZE_T)
STARTUPINFOA * LPSTARTUPINFO
Definition: winbase.h:3744
struct _COMMTIMEOUTS COMMTIMEOUTS
LONG WINAPI CompareFileTime(CONST FILETIME *, CONST FILETIME *)
void WINAPI GetLocalTime(LPSYSTEMTIME)
WINBASEAPI BOOL WINAPI InitOnceBeginInitialize(_Inout_ LPINIT_ONCE lpInitOnce, _In_ DWORD dwFlags, _Out_ PBOOL fPending, _Outptr_opt_result_maybenull_ LPVOID *lpContext)
Definition: InitOnce.c:26
BOOL WINAPI EnumResourceNamesA(_In_opt_ HMODULE, _In_ LPCSTR, _In_ ENUMRESNAMEPROCA, _In_ LONG_PTR)
#define DeleteFile
Definition: winbase.h:3789
BOOL WINAPI CopySid(DWORD, PSID, PSID)
Definition: security.c:712
BOOL WINAPI ReadEventLogW(_In_ HANDLE hEventLog, _In_ DWORD dwReadFlags, _In_ DWORD dwRecordOffset, _Out_writes_bytes_to_(nNumberOfBytesToRead, *pnBytesRead) LPVOID lpBuffer, _In_ DWORD nNumberOfBytesToRead, _Out_ DWORD *pnBytesRead, _Out_ DWORD *pnMinNumberOfBytesNeeded)
struct _FILETIME FILETIME
DWORD WINAPI GetProcessVersion(DWORD)
LPWSTR WINAPI GetEnvironmentStringsW(void)
Definition: environ.c:344
struct _WIN32_FIND_DATAA * PWIN32_FIND_DATAA
struct _FILETIME * PFILETIME
BOOL WINAPI GetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR, LPBOOL, PACL *, LPBOOL)
Definition: sec.c:45
HWINSTA WINAPI GetProcessWindowStation(void)
Definition: ntwrapper.h:124
HANDLE WINAPI FindFirstFileW(LPCWSTR, LPWIN32_FIND_DATAW)
BOOL WINAPI BuildCommDCBAndTimeoutsW(_In_ LPCWSTR, _Out_ LPDCB, _Out_ LPCOMMTIMEOUTS)
_In_ LPCSTR _Out_writes_bytes_to_opt_ cbSid PSID _Inout_ LPDWORD _Out_writes_to_opt_ cchReferencedDomainName LPSTR _Inout_ LPDWORD _Out_ PSID_NAME_USE peUse
Definition: winbase.h:2771
BOOL WINAPI ImpersonateNamedPipeClient(HANDLE)
Definition: security.c:1024
BOOL WINAPI AccessCheckAndAuditAlarmA(_In_ LPCSTR SubsystemName, _In_opt_ LPVOID HandleId, _In_ LPSTR ObjectTypeName, _In_opt_ LPSTR ObjectName, _In_ PSECURITY_DESCRIPTOR SecurityDescriptor, _In_ DWORD DesiredAccess, _In_ PGENERIC_MAPPING GenericMapping, _In_ BOOL ObjectCreation, _Out_ LPDWORD GrantedAccess, _Out_ LPBOOL AccessStatus, _Out_ LPBOOL pfGenerateOnClose)
HANDLE WINAPI HeapCreate(DWORD, SIZE_T, SIZE_T)
Definition: heapmem.c:45
BOOL WINAPI ContinueDebugEvent(DWORD, DWORD, DWORD)
long WINAPI _hread(_In_ HFILE hFile, _Out_writes_bytes_to_(lBytes, return) LPVOID lpBuffer, _In_ long lBytes)
BOOL WINAPI ObjectOpenAuditAlarmA(_In_ LPCSTR, _In_ PVOID, _In_ LPSTR, _In_opt_ LPSTR, _In_ PSECURITY_DESCRIPTOR, _In_ HANDLE, _In_ DWORD, _In_ DWORD, _In_opt_ PPRIVILEGE_SET, _In_ BOOL, _In_ BOOL, _Out_ PBOOL)
BOOL WINAPI EqualPrefixSid(PSID, PSID)
Definition: security.c:841
DWORD WINAPI GetShortPathNameW(LPCWSTR, LPWSTR, DWORD)
BOOL WINAPI SetEnvironmentVariableA(LPCSTR, LPCSTR)
BOOL WINAPI HeapWalk(HANDLE, LPPROCESS_HEAP_ENTRY)
Definition: heapmem.c:291
BOOL WINAPI GetExitCodeThread(HANDLE, PDWORD)
BOOL WINAPI IsValidAcl(PACL)
Definition: security.c:1209
VOID WINAPI SetFileApisToOEM(void)
Definition: utils.c:831
DWORD WINAPI GetThreadId(HANDLE)
BOOL WINAPI EnumResourceTypesW(_In_opt_ HMODULE, _In_ ENUMRESTYPEPROCW, _In_ LONG_PTR)
BOOL WINAPI SetAclInformation(PACL, PVOID, DWORD, ACL_INFORMATION_CLASS)
Definition: security.c:2471
BOOL WINAPI CreateProcessWithLogonW(LPCWSTR, LPCWSTR, LPCWSTR, DWORD, LPCWSTR, LPWSTR, DWORD, LPVOID, LPCWSTR, LPSTARTUPINFOW, LPPROCESS_INFORMATION)
_GET_FILEEX_INFO_LEVELS
Definition: winbase.h:1185
@ GetFileExInfoStandard
Definition: winbase.h:1186
@ GetFileExMaxInfoLevel
Definition: winbase.h:1187
UINT WINAPI GetDriveTypeW(LPCWSTR)
BOOL WINAPI EqualSid(PSID, PSID)
Definition: security.c:829
#define WINBASEAPI
Definition: winbase.h:5
_Ret_maybenull_ HRSRC WINAPI FindResourceExA(_In_opt_ HMODULE, _In_ LPCSTR, _In_ LPCSTR, _In_ WORD)
DWORD WINAPI GetFullPathNameA(LPCSTR, DWORD, LPSTR, LPSTR *)
BOOL WINAPI SetFilePointerEx(HANDLE, LARGE_INTEGER, PLARGE_INTEGER, DWORD)
Definition: fileinfo.c:177
BOOL WINAPI SetEnvironmentVariableW(LPCWSTR, LPCWSTR)
BOOL WINAPI VirtualUnlock(PVOID, SIZE_T)
struct _TIME_ZONE_INFORMATION * LPTIME_ZONE_INFORMATION
BOOL WINAPI WaitCommEvent(_In_ HANDLE, _Inout_ PDWORD, _Inout_opt_ LPOVERLAPPED)
VOID(WINAPI * PFLS_CALLBACK_FUNCTION)(PVOID)
Definition: winbase.h:1469
BOOL WINAPI IsProcessorFeaturePresent(DWORD)
BOOL WINAPI BackupSeek(_In_ HANDLE, _In_ DWORD, _In_ DWORD, _Out_ LPDWORD, _Out_ LPDWORD, _Inout_ LPVOID *)
DWORD WINAPI GetSecurityDescriptorRMControl(PSECURITY_DESCRIPTOR, PUCHAR)
Definition: sec.c:130
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
BOOL WINAPI GlobalUnWire(_In_ HGLOBAL)
UINT WINAPI LocalFlags(_In_ HLOCAL)
BOOL WINAPI SetCurrentDirectoryW(LPCWSTR)
BOOL WINAPI SetCommMask(_In_ HANDLE, _In_ DWORD)
_Ret_maybenull_ HANDLE WINAPI CreateFileMappingA(_In_ HANDLE, _In_opt_ LPSECURITY_ATTRIBUTES, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_opt_ LPCSTR)
BOOL WINAPI CreateDirectoryA(LPCSTR lpPathName, LPSECURITY_ATTRIBUTES lpSecurityAttributes)
struct _OVERLAPPED_ENTRY * LPOVERLAPPED_ENTRY
BOOL WINAPI QueryInformationJobObject(_In_opt_ HANDLE hJob, _In_ JOBOBJECTINFOCLASS JobObjectInformationClass, _Out_writes_bytes_to_(cbJobObjectInformationLength, *lpReturnLength) LPVOID lpJobObjectInformation, _In_ DWORD cbJobObjectInformationLength, _Out_opt_ LPDWORD lpReturnLength)
_Ret_maybenull_ HRSRC WINAPI FindResourceW(_In_opt_ HMODULE, _In_ LPCWSTR, _In_ LPCWSTR)
BOOL WINAPI AdjustTokenPrivileges(HANDLE, BOOL, PTOKEN_PRIVILEGES, DWORD, PTOKEN_PRIVILEGES, PDWORD)
Definition: security.c:374
BOOL WINAPI CallNamedPipeA(_In_ LPCSTR lpNamedPipeName, _In_reads_bytes_opt_(nInBufferSize) LPVOID lpInBuffer, _In_ DWORD nInBufferSize, _Out_writes_bytes_to_opt_(nOutBufferSize, *lpBytesRead) LPVOID lpOutBuffer, _In_ DWORD nOutBufferSize, _Out_ LPDWORD lpBytesRead, _In_ DWORD nTimeOut)
struct _LOAD_DLL_DEBUG_INFO * LPLOAD_DLL_DEBUG_INFO
struct _PROC_THREAD_ATTRIBUTE_LIST * LPPROC_THREAD_ATTRIBUTE_LIST
Definition: winbase.h:1431
UINT WINAPI GetAtomNameA(_In_ ATOM nAtom, _Out_writes_to_(nSize, return+1) LPSTR lpBuffer, _In_ int nSize)
void WINAPI FatalAppExitA(UINT, LPCSTR)
Definition: proc.c:1562
BOOL WINAPI CancelDeviceWakeupRequest(_In_ HANDLE)
HANDLE WINAPI OpenFileMappingW(DWORD, BOOL, LPCWSTR)
DWORD WINAPI GetFileType(HANDLE)
Definition: fileinfo.c:269
_In_ LPCSTR _In_opt_ LPCSTR _In_ DWORD _Out_opt_ LPSTR * lpFilePart
Definition: winbase.h:3100
struct _OVERLAPPED OVERLAPPED
DWORD WINAPI QueryDosDeviceW(LPCWSTR, LPWSTR, DWORD)
Definition: dosdev.c:542
BOOL WINAPI ReleaseMutex(HANDLE)
struct _COMMPROP COMMPROP
BOOL WINAPI SetPrivateObjectSecurity(SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR *, PGENERIC_MAPPING, HANDLE)
Definition: misc.c:1460
#define OFS_MAXPATHNAME
Definition: winbase.h:153
BOOL WINAPI GetEventLogInformation(_In_ HANDLE hEventLog, _In_ DWORD dwInfoLevel, _Out_writes_bytes_to_(cbBufSize, *pcbBytesNeeded) LPVOID lpBuffer, _In_ DWORD cbBufSize, _Out_ LPDWORD pcbBytesNeeded)
ENUMRESNAMEPROCA ENUMRESNAMEPROC
Definition: winbase.h:3752
BOOL WINAPI DeleteAce(PACL, DWORD)
Definition: security.c:1166
BOOL WINAPI EncryptFileW(_In_ LPCWSTR)
DWORD WINAPI WriteTapemark(_In_ HANDLE, _In_ DWORD, _In_ DWORD, _In_ BOOL)
BOOL WINAPI ReadFileScatter(HANDLE, FILE_SEGMENT_ELEMENT *, DWORD, LPDWORD, LPOVERLAPPED)
HANDLE WINAPI CreateNamedPipeA(_In_ LPCSTR, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_opt_ LPSECURITY_ATTRIBUTES)
BOOL WINAPI GetThreadPriorityBoost(HANDLE, PBOOL)
VOID WINAPI GetStartupInfoA(_Out_ LPSTARTUPINFOA)
BOOL WINAPI UpdateResourceA(_In_ HANDLE hUpdate, _In_ LPCSTR lpType, _In_ LPCSTR lpName, _In_ WORD wLanguage, _In_reads_bytes_opt_(cb) LPVOID lpData, _In_ DWORD cb)
BOOL WINAPI QueryPerformanceFrequency(PLARGE_INTEGER)
struct _EXIT_THREAD_DEBUG_INFO EXIT_THREAD_DEBUG_INFO
BOOL WINAPI GetCommProperties(_In_ HANDLE, _Inout_ LPCOMMPROP)
DWORD WINAPI SetTapeParameters(_In_ HANDLE, _In_ DWORD, _In_ PVOID)
LPTOP_LEVEL_EXCEPTION_FILTER WINAPI SetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER)
void WINAPI DeleteFiber(_In_ PVOID)
LPSTR WINAPI GetCommandLineA(VOID)
Definition: proc.c:2009
PFIBER_START_ROUTINE LPFIBER_START_ROUTINE
Definition: winbase.h:1467
int APIENTRY WinMain(_In_ HINSTANCE, _In_opt_ HINSTANCE, _In_ LPSTR, _In_ int)
void WINAPI DeleteCriticalSection(PCRITICAL_SECTION)
BOOL WINAPI CreateProcessA(LPCSTR, LPSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, PVOID, LPCSTR, LPSTARTUPINFOA, LPPROCESS_INFORMATION)
Definition: proc.c:4747
BOOL(CALLBACK * ENUMRESNAMEPROCA)(HMODULE, LPCSTR, LPSTR, LONG_PTR)
Definition: winbase.h:1472
BOOL WINAPI ObjectCloseAuditAlarmW(LPCWSTR, PVOID, BOOL)
Definition: audit.c:182
BOOL WINAPI InitializeSid(PSID, PSID_IDENTIFIER_AUTHORITY, BYTE)
Definition: security.c:862
BOOL WINAPI SetThreadToken(PHANDLE, HANDLE)
BOOL WINAPI VirtualProtectEx(HANDLE, PVOID, SIZE_T, DWORD, PDWORD)
BOOL WINAPI IsBadWritePtr(_In_opt_ PVOID, _In_ UINT_PTR)
BOOL WINAPI PostQueuedCompletionStatus(HANDLE, DWORD, ULONG_PTR, LPOVERLAPPED)
BOOL WINAPI PrivilegeCheck(HANDLE, PPRIVILEGE_SET, PBOOL)
Definition: security.c:2066
RTL_RUN_ONCE INIT_ONCE
Definition: winbase.h:3956
struct _PROCESS_HEAP_ENTRY PROCESS_HEAP_ENTRY
ATOM WINAPI FindAtomA(_In_opt_ LPCSTR)
HANDLE WINAPI OpenBackupEventLogA(_In_opt_ LPCSTR, _In_ LPCSTR)
ATOM WINAPI GlobalAddAtomW(_In_opt_ LPCWSTR)
HGLOBAL WINAPI LoadResource(HINSTANCE, HRSRC)
Definition: res.c:532
VOID WINAPI GetSystemInfo(LPSYSTEM_INFO)
DWORD WINAPI GetProcessHeaps(DWORD, PHANDLE)
Definition: heapmem.c:111
SIZE_T WINAPI HeapCompact(HANDLE, DWORD)
Definition: heapmem.c:145
UINT WINAPI GetPrivateProfileIntA(_In_ LPCSTR, _In_ LPCSTR, _In_ INT, _In_opt_ LPCSTR)
HANDLE WINAPI OpenBackupEventLogW(_In_opt_ LPCWSTR, _In_ LPCWSTR)
ATOM WINAPI GlobalAddAtomA(_In_opt_ LPCSTR)
BOOL WINAPI MakeSelfRelativeSD(PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR, PDWORD)
DWORD WINAPI GetPrivateProfileSectionW(_In_ LPCWSTR lpAppName, _Out_writes_to_opt_(nSize, return+1) LPWSTR lpReturnedString, _In_ DWORD nSize, _In_opt_ LPCWSTR lpFileName)
BOOL WINAPI GetVolumeInformationA(_In_opt_ LPCSTR lpRootPathName, _Out_writes_opt_(nVolumeNameSize) LPSTR lpVolumeNameBuffer, _In_ DWORD nVolumeNameSize, _Out_opt_ LPDWORD lpVolumeSerialNumber, _Out_opt_ LPDWORD lpMaximumComponentLength, _Out_opt_ LPDWORD lpFileSystemFlags, _Out_writes_opt_(nFileSystemNameSize) LPSTR lpFileSystemNameBuffer, _In_ DWORD nFileSystemNameSize)
UINT WINAPI GetWindowsDirectoryW(LPWSTR, UINT)
BOOL WINAPI WritePrivateProfileStructW(_In_ LPCWSTR lpszSection, _In_ LPCWSTR lpszKey, _In_reads_bytes_opt_(uSizeStruct) LPVOID lpStruct, _In_ UINT uSizeStruct, _In_opt_ LPCWSTR szFile)
LPWSTR WINAPI GetCommandLineW(VOID)
Definition: proc.c:2019
BOOL WINAPI ObjectDeleteAuditAlarmW(LPCWSTR, PVOID, BOOL)
Definition: audit.c:240
BOOL WINAPI GetProcessTimes(HANDLE, LPFILETIME, LPFILETIME, LPFILETIME, LPFILETIME)
BOOL WINAPI SetTokenInformation(HANDLE, TOKEN_INFORMATION_CLASS, PVOID, DWORD)
Definition: security.c:437
BOOL WINAPI GetOldestEventLogRecord(_In_ HANDLE, _Out_ PDWORD)
struct _EXCEPTION_DEBUG_INFO * LPEXCEPTION_DEBUG_INFO
BOOL WINAPI ConnectNamedPipe(HANDLE, LPOVERLAPPED)
BOOL WINAPI HeapDestroy(HANDLE)
Definition: heapmem.c:85
_In_ DWORD cchBuffer
Definition: winbase.h:2437
_In_opt_ LPSTR _In_opt_ LPSTR _In_ DWORD _In_ DWORD _Out_opt_ PHANDLE _Out_opt_ PSID _Out_opt_ PVOID _Out_opt_ LPDWORD _Out_opt_ PQUOTA_LIMITS pQuotaLimits
Definition: winbase.h:2744
BOOL WINAPI InitializeCriticalSectionAndSpinCount(LPCRITICAL_SECTION, DWORD)
ENUMRESTYPEPROCA ENUMRESTYPEPROC
Definition: winbase.h:3753
BOOL WINAPI SetDefaultCommConfigA(_In_ LPCSTR lpszName, _In_reads_bytes_(dwSize) LPCOMMCONFIG lpCC, _In_ DWORD dwSize)
VOID WINAPI GlobalFix(_In_ HGLOBAL)
BOOL WINAPI DisableThreadLibraryCalls(HMODULE)
DWORD WINAPI CreateTapePartition(_In_ HANDLE, _In_ DWORD, _In_ DWORD, _In_ DWORD)
struct _WIN32_FILE_ATTRIBUTE_DATA * LPWIN32_FILE_ATTRIBUTE_DATA
struct _PROCESS_INFORMATION * LPPROCESS_INFORMATION
BOOL WINAPI AreAllAccessesGranted(DWORD, DWORD)
Definition: security.c:2532
DWORD WINAPI SetSecurityDescriptorRMControl(PSECURITY_DESCRIPTOR, PUCHAR)
Definition: sec.c:336
BOOL WINAPI LogonUserA(_In_ LPSTR, _In_opt_ LPSTR, _In_opt_ LPSTR, _In_ DWORD, _In_ DWORD, _Outptr_ PHANDLE)
struct _CRITICAL_SECTION_DEBUG CRITICAL_SECTION_DEBUG
HANDLE WINAPI OpenEventA(DWORD, BOOL, LPCSTR)
BOOL WINAPI VirtualFreeEx(HANDLE, PVOID, SIZE_T, DWORD)
BOOL WINAPI SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR, PSID, BOOL)
Definition: sec.c:312
_In_ LPCSTR _Out_writes_bytes_to_opt_ cbSid PSID _Inout_ LPDWORD _Out_writes_to_opt_ cchReferencedDomainName LPSTR _Inout_ LPDWORD cchReferencedDomainName
Definition: winbase.h:2770
_In_opt_ LPSTR _In_opt_ LPSTR _In_ DWORD _In_ DWORD dwLogonProvider
Definition: winbase.h:2739
BOOL WINAPI SetFileTime(HANDLE, const FILETIME *, const FILETIME *, const FILETIME *)
_Ret_maybenull_ HLOCAL WINAPI LocalHandle(_In_ LPCVOID)
BOOL WINAPI PeekNamedPipe(HANDLE, PVOID, DWORD, PDWORD, PDWORD, PDWORD)
BOOL WINAPI GetDiskFreeSpaceExA(LPCSTR, PULARGE_INTEGER, PULARGE_INTEGER, PULARGE_INTEGER)
HANDLE WINAPI OpenWaitableTimerW(DWORD, BOOL, LPCWSTR)
BOOL WINAPI TransmitCommChar(_In_ HANDLE, _In_ char)
struct _WIN32_FIND_DATAW * PWIN32_FIND_DATAW
HANDLE WINAPI FindFirstFileExW(LPCWSTR, FINDEX_INFO_LEVELS, PVOID, FINDEX_SEARCH_OPS, PVOID, DWORD)
BOOL WINAPI DeleteFileW(LPCWSTR)
BOOL WINAPI GetFileAttributesExW(LPCWSTR lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, PVOID lpFileInformation)
Definition: fileinfo.c:552
BOOL WINAPI LockFile(HANDLE, DWORD, DWORD, DWORD, DWORD)
HW_PROFILE_INFOA HW_PROFILE_INFO
Definition: winbase.h:3746
struct _PROCESS_HEAP_ENTRY * LPPROCESS_HEAP_ENTRY
struct _EXCEPTION_DEBUG_INFO EXCEPTION_DEBUG_INFO
SIZE_T WINAPI GlobalSize(_In_ HGLOBAL)
DWORD WINAPI GetTapePosition(_In_ HANDLE, _In_ DWORD, _Out_ PDWORD, _Out_ PDWORD, _Out_ PDWORD)
HLOCAL WINAPI LocalReAlloc(HLOCAL, SIZE_T, UINT)
Definition: heapmem.c:1625
DWORD WINAPI GetModuleFileNameA(HINSTANCE hModule, LPSTR lpFilename, DWORD nSize)
Definition: loader.c:539
BOOL WINAPI SetEvent(HANDLE)
BOOL WINAPI SetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR, BOOL, PACL, BOOL)
Definition: sec.c:351
HINSTANCE WINAPI LoadLibraryExA(LPCSTR, HANDLE, DWORD)
Definition: loader.c:159
struct tagHW_PROFILE_INFOW HW_PROFILE_INFOW
BOOL WINAPI ReportEventA(_In_ HANDLE hEventLog, _In_ WORD wType, _In_ WORD wCategory, _In_ DWORD dwEventID, _In_opt_ PSID lpUserSid, _In_ WORD wNumStrings, _In_ DWORD dwDataSize, _In_reads_opt_(wNumStrings) LPCSTR *lpStrings, _In_reads_bytes_opt_(dwDataSize) LPVOID lpRawData)
struct _LOAD_DLL_DEBUG_INFO LOAD_DLL_DEBUG_INFO
BOOL WINAPI GetUserNameW(_Out_writes_to_opt_(*pcbBuffer, *pcbBuffer) LPWSTR lpBuffer, _Inout_ LPDWORD pcbBuffer)
struct _RIP_INFO RIP_INFO
WINBASEAPI void WINAPI OutputDebugStringW(LPCWSTR)
Definition: ignoredbgout.c:23
BOOL WINAPI MoveFileWithProgressW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPPROGRESS_ROUTINE, _In_opt_ LPVOID, _In_ DWORD)
struct tagHW_PROFILE_INFOA * LPHW_PROFILE_INFOA
WINBASEAPI VOID WINAPI InitOnceInitialize(_Out_ PINIT_ONCE InitOnce)
struct _PROCESS_HEAP_ENTRY * PPROCESS_HEAP_ENTRY
BOOL WINAPI SetProcessPriorityBoost(_In_ HANDLE, _In_ BOOL)
DWORD WINAPI GetTempPathA(_In_ DWORD nBufferLength, _Out_writes_to_opt_(nBufferLength, return+1) LPSTR lpBuffer)
BOOL WINAPI GetThreadTimes(HANDLE, LPFILETIME, LPFILETIME, LPFILETIME, LPFILETIME)
DWORD WINAPI FormatMessageW(DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, LPWSTR lpBuffer, DWORD nSize, va_list *Arguments)
BOOL WINAPI GetCurrentHwProfileA(_Out_ LPHW_PROFILE_INFOA)
BOOL WINAPI Wow64RevertWow64FsRedirection(PVOID)
struct _FILETIME * LPFILETIME
UINT WINAPI GetAtomNameW(_In_ ATOM nAtom, _Out_writes_to_(nSize, return+1) LPWSTR lpBuffer, _In_ int nSize)
BOOL WINAPI CreateProcessW(LPCWSTR, LPWSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, PVOID, LPCWSTR, LPSTARTUPINFOW, LPPROCESS_INFORMATION)
Definition: proc.c:4598
PEXCEPTION_RECORD LPEXCEPTION_RECORD
Definition: winbase.h:831
BOOL WINAPI WritePrivateProfileStructA(_In_ LPCSTR lpszSection, _In_ LPCSTR lpszKey, _In_reads_bytes_opt_(uSizeStruct) LPVOID lpStruct, _In_ UINT uSizeStruct, _In_opt_ LPCSTR szFile)
void(CALLBACK * PTIMERAPCROUTINE)(PVOID, DWORD, DWORD)
Definition: winbase.h:1480
void WINAPI SetLastErrorEx(DWORD, DWORD)
Definition: window.c:1856
DWORD(WINAPI * LPTHREAD_START_ROUTINE)(LPVOID)
Definition: winbase.h:754
struct _OVERLAPPED * LPOVERLAPPED
BOOL WINAPI GetBinaryTypeA(_In_ LPCSTR, _Out_ PDWORD)
BOOL WINAPI MoveFileExA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD)
_Ret_maybenull_ LPVOID WINAPI CreateFiber(_In_ SIZE_T, _In_ LPFIBER_START_ROUTINE, _In_opt_ LPVOID)
Definition: fiber.c:174
HANDLE WINAPI CreateEventA(_In_opt_ LPSECURITY_ATTRIBUTES lpEventAttributes, _In_ BOOL bManualReset, _In_ BOOL bInitialState, _In_opt_ LPCSTR lpName)
struct _TIME_DYNAMIC_ZONE_INFORMATION * PDYNAMIC_TIME_ZONE_INFORMATION
struct _CRITICAL_SECTION * PCRITICAL_SECTION
BOOL WINAPI PurgeComm(_In_ HANDLE, _In_ DWORD)
struct _OVERLAPPED * POVERLAPPED
BOOL WINAPI DosDateTimeToFileTime(_In_ WORD, _In_ WORD, _Out_ LPFILETIME)
struct _RIP_INFO * LPRIP_INFO
#define HW_PROFILE_GUIDLEN
Definition: winbase.h:270
_In_opt_ LPSTR _In_opt_ LPSTR lpszPassword
Definition: winbase.h:2737
HFILE WINAPI _lclose(_In_ HFILE)
_Out_writes_bytes_opt_ lpdwSize LPCOMMCONFIG lpCC
Definition: winbase.h:2093
int APIENTRY wWinMain(_In_ HINSTANCE, _In_opt_ HINSTANCE, _In_ LPWSTR, _In_ int)
DWORD WINAPI SignalObjectAndWait(_In_ HANDLE, _In_ HANDLE, _In_ DWORD, _In_ BOOL)
BOOL WINAPI AccessCheck(PSECURITY_DESCRIPTOR, HANDLE, DWORD, PGENERIC_MAPPING, PPRIVILEGE_SET, PDWORD, PDWORD, PBOOL)
DWORD(WINAPI * PFE_EXPORT_FUNC)(_In_reads_bytes_(ulLength) PBYTE pbData, _In_opt_ PVOID pvCallbackContext, _In_ ULONG ulLength)
Definition: winbase.h:1459
BOOL WINAPI SetMailslotInfo(_In_ HANDLE, _In_ DWORD)
BOOL WINAPI UnlockFile(HANDLE, DWORD, DWORD, DWORD, DWORD)
BOOL WINAPI ReleaseSemaphore(HANDLE, LONG, LPLONG)
*nSize LPSTR _Inout_ LPDWORD nSize
Definition: winbase.h:2109
DWORD WINAPI GetTapeStatus(_In_ HANDLE)
BOOL WINAPI RevertToSelf(void)
Definition: security.c:1608
DWORD WINAPI GetTapeParameters(_In_ HANDLE hDevice, _In_ DWORD dwOperation, _Inout_ LPDWORD lpdwSize, _Out_writes_bytes_(*lpdwSize) LPVOID lpTapeInformation)
HFILE WINAPI _lcreat(_In_ LPCSTR, _In_ int)
struct _SYSTEMTIME * PSYSTEMTIME
Definition: cert.c:32
BOOL WINAPI GetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR, PSID *, LPBOOL)
Definition: sec.c:76
HANDLE WINAPI OpenProcess(DWORD, BOOL, DWORD)
BOOL WINAPI WriteProfileStringW(_In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
struct _SYSTEM_INFO SYSTEM_INFO
_In_opt_ LPSTR lpszDomain
Definition: winbase.h:2736
BOOL WINAPI IsDebuggerPresent(void)
Definition: debugger.c:580
struct _SYSTEM_POWER_STATUS * LPSYSTEM_POWER_STATUS
struct _WIN32_FIND_DATAW WIN32_FIND_DATAW
BOOL WINAPI AddAccessAllowedAce(PACL, DWORD, DWORD, PSID)
Definition: security.c:1039
DECLSPEC_NORETURN void WINAPI ExitThread(_In_ DWORD dwExitCode)
BOOL WINAPI DeregisterEventSource(_In_ HANDLE)
BOOL WINAPI WriteProcessMemory(HANDLE, LPVOID, LPCVOID, SIZE_T, SIZE_T *)
BOOL WINAPI AddAce(PACL, DWORD, DWORD, PVOID, DWORD)
Definition: security.c:1141
BOOL(CALLBACK * ENUMRESLANGPROCW)(HMODULE, LPCWSTR, LPCWSTR, WORD, LONG_PTR)
Definition: winbase.h:1471
BOOL WINAPI CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR *, BOOL, HANDLE, PGENERIC_MAPPING)
Definition: misc.c:1340
BOOL WINAPI HeapUnlock(HANDLE)
Definition: heapmem.c:134
BOOL WINAPI SetLocalTime(const SYSTEMTIME *)
ENUMRESLANGPROCA ENUMRESLANGPROC
Definition: winbase.h:3751
struct _COMM_CONFIG * LPCOMMCONFIG
Definition: confdlg.c:35
struct _DEBUG_EVENT * LPDEBUG_EVENT
BOOL WINAPI FreeResource(HGLOBAL)
Definition: res.c:559
HANDLE WINAPI RegisterEventSourceA(_In_opt_ LPCSTR, _In_ LPCSTR)
BOOL WINAPI SetProcessAffinityMask(_In_ HANDLE, _In_ DWORD_PTR)
PVOID WINAPI LocalLock(HLOCAL)
Definition: heapmem.c:1616
VOID WINAPI GlobalUnfix(_In_ HGLOBAL)
DWORD WINAPI SetTapePosition(_In_ HANDLE, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ BOOL)
BOOL WINAPI GetVersionExA(LPOSVERSIONINFOA)
BOOL WINAPI DuplicateTokenEx(HANDLE, DWORD, LPSECURITY_ATTRIBUTES, SECURITY_IMPERSONATION_LEVEL, TOKEN_TYPE, PHANDLE)
long WINAPI _hwrite(_In_ HFILE hFile, _In_reads_bytes_(lBytes) LPCCH lpBuffer, _In_ long lBytes)
BOOLEAN WINAPI Wow64EnableWow64FsRedirection(_In_ BOOLEAN)
UINT WINAPI GetWriteWatch(DWORD, PVOID, SIZE_T, PVOID *, PULONG_PTR, PULONG)
BOOL WINAPI ObjectPrivilegeAuditAlarmA(_In_ LPCSTR, _In_ PVOID, _In_ HANDLE, _In_ DWORD, _In_ PPRIVILEGE_SET, _In_ BOOL)
BOOL WINAPI FileEncryptionStatusW(_In_ LPCWSTR, _Out_ LPDWORD)
_In_ LPCSTR _Out_writes_to_opt_ cchDisplayName LPSTR _Inout_ LPDWORD cchDisplayName
Definition: winbase.h:2816
struct _STARTUPINFOW STARTUPINFOW
HANDLE WINAPI BeginUpdateResourceA(_In_ LPCSTR, _In_ BOOL)
BOOL WINAPI IsBadHugeWritePtr(_In_opt_ PVOID, _In_ UINT_PTR)
HANDLE WINAPI CreateIoCompletionPort(HANDLE, HANDLE, ULONG_PTR, DWORD)
BOOL WINAPI EncryptFileA(_In_ LPCSTR)
_Ret_maybenull_ HRSRC WINAPI FindResourceA(_In_opt_ HMODULE, _In_ LPCSTR, _In_ LPCSTR)
_In_ LPCSTR _Out_writes_bytes_to_opt_ cbSid PSID _Inout_ LPDWORD _Out_writes_to_opt_ cchReferencedDomainName LPSTR ReferencedDomainName
Definition: winbase.h:2769
BOOL WINAPI DefineDosDeviceA(_In_ DWORD, _In_ LPCSTR, _In_opt_ LPCSTR)
BOOL WINAPI OpenProcessToken(HANDLE, DWORD, PHANDLE)
Definition: security.c:294
BOOL WINAPI SetCommTimeouts(_In_ HANDLE, _In_ LPCOMMTIMEOUTS)
HANDLE WINAPI OpenSemaphoreW(DWORD, BOOL, LPCWSTR)
BOOL WINAPI InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR, DWORD)
Definition: security.c:929
BOOL WINAPI SystemTimeToFileTime(const SYSTEMTIME *, LPFILETIME)
BOOL WINAPI TlsFree(DWORD)
BOOL WINAPI EnumResourceLanguagesA(_In_opt_ HMODULE, _In_ LPCSTR, _In_ LPCSTR, _In_ ENUMRESLANGPROCA, _In_ LONG_PTR)
BOOL(CALLBACK * ENUMRESTYPEPROCW)(HMODULE, LPWSTR, LONG_PTR)
Definition: winbase.h:1475
BOOL WINAPI ClearEventLogW(_In_ HANDLE, _In_opt_ LPCWSTR)
struct _OVERLAPPED_ENTRY OVERLAPPED_ENTRY
BOOL WINAPI SetFileSecurityW(LPCWSTR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR)
Definition: security.c:1509
DWORD WINAPI GetFileAttributesA(LPCSTR lpFileName)
Definition: fileinfo.c:636
_In_ PSID _Out_writes_to_opt_ cchName LPSTR _Inout_ LPDWORD cchName
Definition: winbase.h:2792
DWORD WINAPI GetProfileStringW(_In_opt_ LPCWSTR lpAppName, _In_opt_ LPCWSTR lpKeyName, _In_opt_ LPCWSTR lpDefault, _Out_writes_to_opt_(nSize, return+1) LPWSTR lpReturnedString, _In_ DWORD nSize)
enum _FINDEX_INFO_LEVELS FINDEX_INFO_LEVELS
VOID WINAPI SetFileApisToANSI(void)
Definition: utils.c:849
struct _DEBUG_EVENT DEBUG_EVENT
BOOL WINAPI Beep(DWORD, DWORD)
struct _EVENTLOG_FULL_INFORMATION * LPEVENTLOG_FULL_INFORMATION
_In_ LPCSTR lpAccountName
Definition: winbase.h:2766
BOOL WINAPI EscapeCommFunction(_In_ HANDLE, _In_ DWORD)
void WINAPI SwitchToFiber(_In_ PVOID)
UINT WINAPI GetSystemDirectoryW(LPWSTR, UINT)
_In_ LPCSTR _In_opt_ LPCSTR _In_ DWORD nBufferLength
Definition: winbase.h:3098
BOOL WINAPI CreatePipe(PHANDLE, PHANDLE, LPSECURITY_ATTRIBUTES, DWORD)
Definition: npipe.c:117
struct tagHW_PROFILE_INFOW * LPHW_PROFILE_INFOW
HFILE WINAPI OpenFile(_In_ LPCSTR, _Inout_ LPOFSTRUCT, _In_ UINT)
BOOL WINAPI FlsFree(DWORD)
Definition: fiber.c:400
LPSTR WINAPI lstrcatA(_Inout_updates_z_(_String_length_(lpString1)+_String_length_(lpString2)+1) LPSTR lpString1, _In_ LPCSTR lpString2)
int WINAPI lstrlenA(LPCSTR)
Definition: lstring.c:145
BOOL WINAPI SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR, PSID, BOOL)
Definition: sec.c:288
BOOL WINAPI FindNextChangeNotification(HANDLE)
DWORD WINAPI QueueUserAPC(PAPCFUNC, HANDLE, ULONG_PTR)
_Ret_maybenull_ HANDLE WINAPI CreateWaitableTimerA(_In_opt_ LPSECURITY_ATTRIBUTES, _In_ BOOL, _In_opt_ LPCSTR)
struct _OFSTRUCT OFSTRUCT
BOOL WINAPI PrivilegedServiceAuditAlarmA(_In_ LPCSTR, _In_ LPCSTR, _In_ HANDLE, _In_ PPRIVILEGE_SET, _In_ BOOL)
void WINAPI GetSystemTimeAsFileTime(LPFILETIME)
BOOL WINAPI FindClose(HANDLE)
Definition: find.c:502
BOOL WINAPI InitAtomTable(_In_ DWORD)
DWORD WINAPI SetCriticalSectionSpinCount(LPCRITICAL_SECTION, DWORD)
struct _WIN32_STREAM_ID * LPWIN32_STREAM_ID
DWORD WINAPI GetLengthSid(PSID)
Definition: security.c:919
BOOL WINAPI VerifyVersionInfoW(_Inout_ LPOSVERSIONINFOEXW, _In_ DWORD, _In_ DWORDLONG)
BOOL WINAPI Wow64DisableWow64FsRedirection(PVOID *)
BOOL WINAPI GetOverlappedResult(HANDLE, LPOVERLAPPED, PDWORD, BOOL)
BOOL WINAPI CreateProcessAsUserA(_In_opt_ HANDLE, _In_opt_ LPCSTR, _Inout_opt_ LPSTR, _In_opt_ LPSECURITY_ATTRIBUTES, _In_opt_ LPSECURITY_ATTRIBUTES, _In_ BOOL, _In_ DWORD, _In_opt_ PVOID, _In_opt_ LPCSTR, _In_ LPSTARTUPINFOA, _Out_ LPPROCESS_INFORMATION)
_FINDEX_INFO_LEVELS
Definition: winbase.h:1152
@ FindExInfoStandard
Definition: winbase.h:1153
@ FindExInfoMaxInfoLevel
Definition: winbase.h:1155
@ FindExInfoBasic
Definition: winbase.h:1154
BOOL WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY, BYTE, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, PSID *)
Definition: security.c:674
BOOL WINAPI GetFileTime(HANDLE, LPFILETIME, LPFILETIME, LPFILETIME)
BOOL WINAPI CopyFileExW(_In_ LPCWSTR, _In_ LPCWSTR, _In_opt_ LPPROGRESS_ROUTINE, _In_opt_ LPVOID, _In_opt_ LPBOOL, _In_ DWORD)
struct _EVENTLOG_FULL_INFORMATION EVENTLOG_FULL_INFORMATION
struct _CREATE_THREAD_DEBUG_INFO * LPCREATE_THREAD_DEBUG_INFO
BOOL WINAPI SetThreadPriority(HANDLE, int)
BOOL WINAPI SetComputerNameW(_In_ LPCWSTR)
struct _BY_HANDLE_FILE_INFORMATION * PBY_HANDLE_FILE_INFORMATION
PSID_IDENTIFIER_AUTHORITY WINAPI GetSidIdentifierAuthority(PSID)
Definition: security.c:885
struct _COMMPROP * LPCOMMPROP
BOOL WINAPI CheckTokenMembership(HANDLE, PSID, PBOOL)
BOOL WINAPI ObjectOpenAuditAlarmW(LPCWSTR, PVOID, LPWSTR, LPWSTR, PSECURITY_DESCRIPTOR, HANDLE, DWORD, DWORD, PPRIVILEGE_SET, BOOL, BOOL, PBOOL)
Definition: audit.c:321
struct tagHW_PROFILE_INFOA HW_PROFILE_INFOA
struct _WIN32_FIND_DATAW * LPWIN32_FIND_DATAW
_In_ DWORD nLength
Definition: wincon.h:473
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
_In_ HCRYPTHASH _In_ BOOL _In_ DWORD _Inout_updates_bytes_to_ pdwDataLen BYTE * pbData
Definition: wincrypt.h:4201
_In_ DWORD _In_ DWORD _In_ DWORD _Out_ LPDWORD lpBytesReturned
Definition: winddi.h:1705
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
BOOL * LPBOOL
Definition: windef.h:162
int * LPINT
Definition: windef.h:178
int HFILE
Definition: windef.h:298
CONST void * LPCVOID
Definition: windef.h:191
BOOL * PBOOL
Definition: windef.h:161
#define WINAPI
Definition: msvc.h:6
enum _ACL_INFORMATION_CLASS ACL_INFORMATION_CLASS
_In_ DWORD _In_ DWORD _Out_ LPDWORD pcbBytesNeeded
Definition: winsvc.h:425
_In_ DWORD _In_ DWORD cbBufSize
Definition: winsvc.h:424
_In_ DWORD dwInfoLevel
Definition: winsvc.h:422
_In_ USHORT _In_ ULONG _In_ PSOCKADDR _In_ PSOCKADDR _Reserved_ ULONG _In_opt_ PVOID _In_opt_ const WSK_CLIENT_CONNECTION_DISPATCH _In_opt_ PEPROCESS _In_opt_ PETHREAD _In_opt_ PSECURITY_DESCRIPTOR SecurityDescriptor
Definition: wsk.h:191
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
_In_ PVOID _Out_opt_ PULONG_PTR _Outptr_opt_ PCUNICODE_STRING * ObjectName
Definition: cmfuncs.h:64
_In_ LARGE_INTEGER _In_ ULONG Period
Definition: kefuncs.h:1313
_In_ __inner_callback PRTL_RUN_ONCE_INIT_FN InitFn
Definition: rtlfuncs.h:2550
#define QueryDepthSList(SListHead)
Definition: rtlfuncs.h:3417
#define InterlockedPushEntrySList(SListHead, SListEntry)
Definition: rtlfuncs.h:3406
#define InterlockedFlushSList(SListHead)
Definition: rtlfuncs.h:3412
#define InterlockedPopEntrySList(SListHead)
Definition: rtlfuncs.h:3409
FORCEINLINE VOID InitializeSListHead(_Out_ PSLIST_HEADER SListHead)
Definition: rtlfuncs.h:3368
#define PSLIST_ENTRY
Definition: rtltypes.h:134
_Inout_opt_ PVOID Parameter
Definition: rtltypes.h:336
RTL_RUN_ONCE
Definition: rtltypes.h:327
* PRTL_RUN_ONCE
Definition: rtltypes.h:327
_In_ PSECURITY_SUBJECT_CONTEXT _In_ BOOLEAN _In_ ACCESS_MASK _In_ ACCESS_MASK _Outptr_opt_ PPRIVILEGE_SET _In_ PGENERIC_MAPPING _In_ KPROCESSOR_MODE _Out_ PACCESS_MASK _Out_ PNTSTATUS AccessStatus
Definition: sefuncs.h:21
_In_ PSECURITY_SUBJECT_CONTEXT _In_ BOOLEAN _In_ ACCESS_MASK _In_ ACCESS_MASK _Outptr_opt_ PPRIVILEGE_SET _In_ PGENERIC_MAPPING _In_ KPROCESSOR_MODE _Out_ PACCESS_MASK GrantedAccess
Definition: sefuncs.h:20
enum _TOKEN_INFORMATION_CLASS TOKEN_INFORMATION_CLASS
* PSID_IDENTIFIER_AUTHORITY
Definition: setypes.h:464
WELL_KNOWN_SID_TYPE
Definition: setypes.h:455
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
unsigned char UCHAR
Definition: xmlstorage.h:181
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
char CHAR
Definition: xmlstorage.h:175
unsigned char BYTE
Definition: xxhash.c:193