ReactOS 0.4.15-dev-5666-gc548b97
kernel32.h
Go to the documentation of this file.
1#pragma once
2
3//
4// Kernel32 Filter IDs
5//
6#define kernel32file 200
7#define kernel32ver 201
8#define actctx 202
9#define resource 203
10#define kernel32session 204
11#define comm 205
12#define profile 206
13#define nls 207
14
15
16#if DBG
17#define DEBUG_CHANNEL(ch) static ULONG gDebugChannel = ch;
18#else
19#define DEBUG_CHANNEL(ch)
20#endif
21
22#define TRACE(fmt, ...) TRACE__(gDebugChannel, fmt, ##__VA_ARGS__)
23#define WARN(fmt, ...) WARN__(gDebugChannel, fmt, ##__VA_ARGS__)
24#define FIXME(fmt, ...) WARN__(gDebugChannel, fmt,## __VA_ARGS__)
25#define ERR(fmt, ...) ERR__(gDebugChannel, fmt, ##__VA_ARGS__)
26
27#define STUB \
28 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); \
29 DPRINT1("%s() is UNIMPLEMENTED!\n", __FUNCTION__)
30
31#define debugstr_a
32#define debugstr_w
33#define debugstr_wn
34#define wine_dbgstr_w
35#define debugstr_guid
36
37#include "wine/unicode.h"
38#include "baseheap.h"
39
40#define MAGIC(c1,c2,c3,c4) ((c1) + ((c2)<<8) + ((c3)<<16) + ((c4)<<24))
41
42#define MAGIC_HEAP MAGIC( 'H','E','A','P' )
43
44#define ROUNDUP(a,b) ((((a)+(b)-1)/(b))*(b))
45#define ROUNDDOWN(a,b) (((a)/(b))*(b))
46
47#define ROUND_DOWN(n, align) \
48 (((ULONG)n) & ~((align) - 1l))
49
50#define ROUND_UP(n, align) \
51 ROUND_DOWN(((ULONG)n) + (align) - 1, (align))
52
53#define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0]))
54
55#define __TRY _SEH2_TRY
56#define __EXCEPT_PAGE_FAULT _SEH2_EXCEPT(_SEH2_GetExceptionCode() == STATUS_ACCESS_VIOLATION)
57#define __ENDTRY _SEH2_END
58
59/* Undocumented CreateProcess flag */
60#define STARTF_SHELLPRIVATE 0x400
61
62typedef struct _CODEPAGE_ENTRY
63{
70
71typedef struct tagLOADPARMS32
72{
79
81{
90
92{
98
99typedef struct _BASEP_ACTCTX_BLOCK
100{
106
107#define BASEP_GET_MODULE_HANDLE_EX_PARAMETER_VALIDATION_ERROR 1
108#define BASEP_GET_MODULE_HANDLE_EX_PARAMETER_VALIDATION_SUCCESS 2
109#define BASEP_GET_MODULE_HANDLE_EX_PARAMETER_VALIDATION_CONTINUE 3
110
112
113typedef
117 DWORD dwMilliseconds);
118
120
121/* Flags for PrivCopyFileExW && BasepCopyFileExW */
122#define BASEP_COPY_METADATA 0x10
123#define BASEP_COPY_SACL 0x20
124#define BASEP_COPY_OWNER_AND_GROUP 0x40
125#define BASEP_COPY_DIRECTORY 0x80
126#define BASEP_COPY_BACKUP_SEMANTICS 0x100
127#define BASEP_COPY_REPLACE 0x200
128#define BASEP_COPY_SKIP_DACL 0x400
129#define BASEP_COPY_PUBLIC_MASK 0xF
130#define BASEP_COPY_BASEP_MASK 0xFFFFFFF0
131
132/* Flags for PrivMoveFileIdentityW */
133#define PRIV_DELETE_ON_SUCCESS 0x1
134#define PRIV_ALLOW_NON_TRACKABLE 0x2
135
136/* GLOBAL VARIABLES **********************************************************/
137
138extern BOOL bIsFileApiAnsi;
140
142
147
149
151
153
154/* FUNCTION PROTOTYPES *******************************************************/
155
156VOID
157NTAPI
159
161
164
165DWORD FilenameW2A_FitOrFail(LPSTR DestA, INT destLen, LPCWSTR SourceW, INT sourceLen);
166DWORD FilenameU2A_FitOrFail(LPSTR DestA, INT destLen, PUNICODE_STRING SourceU);
167
168#define HeapAlloc RtlAllocateHeap
169#define HeapReAlloc RtlReAllocateHeap
170#define HeapFree RtlFreeHeap
171#define _lread(a, b, c) (long)(_hread(a, b, (long)c))
172
174WINAPI
176 IN DWORD dwMilliseconds);
177
179WINAPI
181 IN PSECURITY_ATTRIBUTES SecurityAttributes OPTIONAL,
183
185WINAPI
188 _In_opt_ SIZE_T StackCommit,
189 _In_opt_ SIZE_T StackReserve,
190 _Out_ PINITIAL_TEB InitialTeb);
191
192VOID
193WINAPI
196 _In_ PINITIAL_TEB InitialTeb);
197
198VOID
199WINAPI
202 IN PVOID StartAddress,
203 IN PVOID StackAddress,
205
206VOID
207WINAPI
209
210VOID
211WINAPI
213
214VOID
215NTAPI
217 IN PBASEP_ACTCTX_BLOCK ActivationBlock
218);
219
221NTAPI
223 IN DWORD Flags,
226 OUT PBASEP_ACTCTX_BLOCK *ActivationBlock
227);
228
230NTAPI
232 IN PVOID DllHandle,
235);
236
238VOID
239WINAPI
241 _In_ LPTHREAD_START_ROUTINE lpStartAddress,
242 _In_ LPVOID lpParameter);
243
245VOID
246WINAPI
248
250
252VOID
253WINAPI
255 _In_ PPROCESS_START_ROUTINE lpStartAddress);
256
257PVOID
258WINAPI
260
261VOID
262WINAPI
265
267WINAPI
269
271WINAPI
274
278
280
284
286
287ULONG
288NTAPI
290
291ULONG
292NTAPI
294
299
302
303HANDLE
304WINAPI
306
308WINAPI
309BasepMapFile(IN LPCWSTR lpApplicationName,
312
314IntGetCodePageEntry(UINT CodePage);
315
316LPWSTR
317WINAPI
319 IN LPWSTR FullPath,
321);
322
323LPWSTR
324WINAPI
326 IN LPWSTR FullPath
327);
328
329ULONG
330WINAPI
332 IN PUNICODE_STRING PathName,
334);
335
337WINAPI
348);
349
351WINAPI
353 VOID
354);
355
356VOID
357WINAPI
359
360DWORD
361WINAPI
363
364VOID
365NTAPI
368 OUT BOOLEAN *StopEnumeration);
369
370typedef NTSTATUS
373 IN ULONG CertFlag
374);
375
376typedef NTSTATUS
379);
380
381typedef NTSTATUS
386);
387
389{
394
396{
402
404{
408
410{
415
417NTAPI
425);
426
429
430VOID
431WINAPI
435);
436
437BOOL
439 IN LPCWSTR lpExistingFileName,
440 IN LPCWSTR lpNewFileName,
441 IN LPPROGRESS_ROUTINE lpProgressRoutine OPTIONAL,
442 IN LPVOID lpData OPTIONAL,
443 IN LPBOOL pbCancel OPTIONAL,
444 IN DWORD dwCopyFlags,
445 IN DWORD dwBasepFlags,
446 OUT LPHANDLE lpExistingHandle,
447 OUT LPHANDLE lpNewHandle
448);
449
450BOOL
452 IN LPCWSTR lpszMountPoint,
453 OUT LPWSTR lpszVolumeName,
454 IN DWORD cchBufferLength,
455 OUT LPBOOL IsAMountPoint
456);
457
458BOOL
460 IN LPCWSTR lpszMountPoint,
461 OUT LPWSTR lpszVolumeName,
462 IN DWORD cchBufferLength,
463 OUT LPBOOL IsAMountPoint
464);
465
466BOOL
469 IN PUNICODE_STRING NtPathName
470);
471
472/* FIXME: This is EXPORTED! It should go in an external kernel32.h header */
473VOID
474WINAPI
476 IN PVOID AppCompatData,
477 IN PVOID AppCompatSxsData
478);
479
481WINAPI
483 IN HANDLE UserToken,
486 OUT PBOOLEAN InJob,
487 OUT PHANDLE NewToken,
488 OUT PHANDLE JobHandle
489);
unsigned char BOOLEAN
#define VOID
Definition: acefi.h:82
LONG NTSTATUS
Definition: precomp.h:26
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
Definition: conport.c:36
#define NTSTATUS
Definition: precomp.h:20
@ AnsiString
Definition: dnslib.h:19
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
_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_opt_ PFLT_INSTANCE _Out_ PHANDLE FileHandle
Definition: fltkernel.h:1231
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
Definition: fltkernel.h:2653
_Must_inspect_result_ _Out_ PHANDLE VolumeHandle
Definition: fltkernel.h:2283
_Must_inspect_result_ _In_ FLT_CONTEXT_TYPE ContextType
Definition: fltkernel.h:1443
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
Definition: fsrtlfuncs.h:223
Status
Definition: gdiplustypes.h:25
GLenum src
Definition: glext.h:6340
_In_ GUID _In_ PVOID ValueData
Definition: hubbusif.h:312
PWCHAR FilenameA2W(LPCSTR NameA, BOOL alloc)
Definition: fileutils.c:18
struct _BASEP_APPCERT_ENTRY BASEP_APPCERT_ENTRY
PLARGE_INTEGER WINAPI BaseFormatTimeOut(OUT PLARGE_INTEGER Timeout, IN DWORD dwMilliseconds)
Definition: utils.c:288
UNICODE_STRING BaseWindowsDirectory
Definition: path.c:20
NTSTATUS NTAPI BasepConfigureAppCertDlls(IN PWSTR ValueName, IN ULONG ValueType, IN PVOID ValueData, IN ULONG ValueLength, IN PVOID Context, IN PVOID EntryContext)
Definition: proc.c:189
VOID NTAPI BaseDllInitializeMemoryManager(VOID)
Definition: heapmem.c:26
enum _BASE_SEARCH_PATH_TYPE BASE_SEARCH_PATH_TYPE
enum _BASE_SEARCH_PATH_TYPE * PBASE_SEARCH_PATH_TYPE
PRTL_CONVERT_STRINGA BasepUnicodeStringTo8BitString
Definition: utils.c:27
struct _SXS_WIN32_NT_PATH_PAIR * PSXS_WIN32_NT_PATH_PAIR
NTSTATUS(NTAPI * PSAFER_REPLACE_PROCESS_THREAD_TOKENS)(IN HANDLE Token, IN HANDLE Process, IN HANDLE Thread)
Definition: kernel32.h:382
struct _BASEP_APPCERT_ENTRY * PBASEP_APPCERT_ENTRY
struct _BASE_MSG_SXS_HANDLES * PBASE_MSG_SXS_HANDLES
NTSTATUS WINAPI BaseCreateStack(_In_ HANDLE hProcess, _In_opt_ SIZE_T StackCommit, _In_opt_ SIZE_T StackReserve, _Out_ PINITIAL_TEB InitialTeb)
Definition: utils.c:354
struct _CODEPAGE_ENTRY * PCODEPAGE_ENTRY
ULONG(NTAPI * PRTL_COUNT_STRINGA)(IN PANSI_STRING UnicodeString)
Definition: kernel32.h:285
BOOLEAN WINAPI Basep8BitStringToDynamicUnicodeString(OUT PUNICODE_STRING UnicodeString, IN LPCSTR String)
Definition: utils.c:225
_BASE_CURRENT_DIR_PLACEMENT
Definition: kernel32.h:92
@ BaseCurrentDirPlacementSafe
Definition: kernel32.h:95
@ BaseCurrentDirPlacementMax
Definition: kernel32.h:96
@ BaseCurrentDirPlacementInvalid
Definition: kernel32.h:93
@ BaseCurrentDirPlacementDefault
Definition: kernel32.h:94
RTL_CRITICAL_SECTION gcsAppCert
Definition: proc.c:29
DWORD FilenameW2A_FitOrFail(LPSTR DestA, INT destLen, LPCWSTR SourceW, INT sourceLen)
Definition: fileutils.c:98
PCODEPAGE_ENTRY FASTCALL IntGetCodePageEntry(UINT CodePage)
Definition: nls.c:293
VOID WINAPI BaseThreadStartupThunk(VOID)
ULONG WINAPI BaseIsDosApplication(IN PUNICODE_STRING PathName, IN NTSTATUS Status)
Definition: vdm.c:66
HANDLE WINAPI BaseGetNamedObjectDirectory(VOID)
Definition: utils.c:63
VOID WINAPI BaseMarkFileForDelete(IN HANDLE FileHandle, IN ULONG FileAttributes)
Definition: utils.c:876
LIST_ENTRY BasepAppCertDllsList
Definition: proc.c:28
VOID NTAPI BasepLocateExeLdrEntry(IN PLDR_DATA_TABLE_ENTRY Entry, IN PVOID Context, OUT BOOLEAN *StopEnumeration)
Definition: utils.c:156
VOID WINAPI BaseInitializeContext(IN PCONTEXT Context, IN PVOID Parameter, IN PVOID StartAddress, IN PVOID StackAddress, IN ULONG ContextType)
Definition: utils.c:513
ULONG(NTAPI * PRTL_COUNT_STRING)(IN PUNICODE_STRING UnicodeString)
Definition: kernel32.h:279
DECLSPEC_NORETURN VOID WINAPI BaseThreadStartup(_In_ LPTHREAD_START_ROUTINE lpStartAddress, _In_ LPVOID lpParameter)
Definition: thread.c:56
UNICODE_STRING BaseDefaultPathAppend
Definition: path.c:21
LPWSTR WINAPI BaseComputeProcessDllPath(IN LPWSTR FullPath, IN PVOID Environment)
Definition: path.c:420
PRTL_COUNT_STRINGA Basep8BitStringToUnicodeSize
Definition: utils.c:29
WaitForInputIdleType UserWaitForInputIdleRoutine
Definition: proc.c:20
struct _BASEP_ACTCTX_BLOCK * PBASEP_ACTCTX_BLOCK
PRTL_CONVERT_STRING Basep8BitStringToUnicodeString
Definition: utils.c:26
NTSTATUS WINAPI BasepMapFile(IN LPCWSTR lpApplicationName, OUT PHANDLE hSection, IN PUNICODE_STRING ApplicationName)
Definition: utils.c:688
LPTOP_LEVEL_EXCEPTION_FILTER GlobalTopLevelExceptionFilter
Definition: except.c:165
PUNICODE_STRING WINAPI Basep8BitStringToStaticUnicodeString(IN LPCSTR AnsiString)
Definition: utils.c:188
POBJECT_ATTRIBUTES WINAPI BaseFormatObjectAttributes(OUT POBJECT_ATTRIBUTES ObjectAttributes, IN PSECURITY_ATTRIBUTES SecurityAttributes OPTIONAL, IN PUNICODE_STRING ObjectName)
Definition: utils.c:304
NTSTATUS(NTAPI * PBASEP_APPCERT_PLUGIN_FUNC)(IN LPWSTR ApplicationName, IN ULONG CertFlag)
Definition: kernel32.h:371
NTSTATUS WINAPI BasepCheckBadapp(IN HANDLE FileHandle, IN PWCHAR ApplicationName, IN PWCHAR Environment, IN USHORT ExeType, IN PVOID *SdbQueryAppCompatData, IN PULONG SdbQueryAppCompatDataSize, IN PVOID *SxsData, IN PULONG SxsDataSize, OUT PULONG FusionFlags)
Definition: appcache.c:272
BOOL BasepGetVolumeNameForVolumeMountPoint(IN LPCWSTR lpszMountPoint, OUT LPWSTR lpszVolumeName, IN DWORD cchBufferLength, OUT LPBOOL IsAMountPoint)
Definition: mntpoint.c:398
PRTL_COUNT_STRING BasepUnicodeStringTo8BitSize
Definition: utils.c:28
BOOL IsThisARootDirectory(IN HANDLE VolumeHandle, IN PUNICODE_STRING NtPathName)
Definition: volume.c:154
LPWSTR WINAPI BaseComputeProcessExePath(IN LPWSTR FullPath)
Definition: path.c:405
BOOLEAN WINAPI IsShimInfrastructureDisabled(VOID)
Definition: appcache.c:37
DWORD(* WaitForInputIdleType)(HANDLE hProcess, DWORD dwMilliseconds)
Definition: kernel32.h:115
VOID WINAPI BasepFreeAppCompatData(IN PVOID AppCompatData, IN PVOID AppCompatSxsData)
Definition: appcache.c:342
PLDR_DATA_TABLE_ENTRY BasepExeLdrEntry
Definition: proc.c:25
UNICODE_STRING BaseWindowsSystemDirectory
Definition: kernel32.h:300
BOOL BasepGetVolumeNameFromReparsePoint(IN LPCWSTR lpszMountPoint, OUT LPWSTR lpszVolumeName, IN DWORD cchBufferLength, OUT LPBOOL IsAMountPoint)
Definition: mntpoint.c:257
DECLSPEC_NORETURN VOID WINAPI BaseFiberStartup(VOID)
struct _SXS_WIN32_NT_PATH_PAIR SXS_WIN32_NT_PATH_PAIR
VOID WINAPI BaseFreeThreadStack(_In_ HANDLE hProcess, _In_ PINITIAL_TEB InitialTeb)
Definition: utils.c:495
UNICODE_STRING BaseDefaultPath
Definition: path.c:21
BOOL BasepCopyFileExW(IN LPCWSTR lpExistingFileName, IN LPCWSTR lpNewFileName, IN LPPROGRESS_ROUTINE lpProgressRoutine OPTIONAL, IN LPVOID lpData OPTIONAL, IN LPBOOL pbCancel OPTIONAL, IN DWORD dwCopyFlags, IN DWORD dwBasepFlags, OUT LPHANDLE lpExistingHandle, OUT LPHANDLE lpNewHandle)
Definition: copy.c:202
PTEB GetTeb(VOID)
Definition: thread.c:438
NTSTATUS NTAPI BasepAllocateActivationContextActivationBlock(IN DWORD Flags, IN PVOID CompletionRoutine, IN PVOID CompletionContext, OUT PBASEP_ACTCTX_BLOCK *ActivationBlock)
Definition: actctx.c:45
VOID WINAPI BasepAnsiStringToHeapUnicodeString(IN LPCSTR AnsiString, OUT LPWSTR *UnicodeString)
Definition: utils.c:263
NTSTATUS(NTAPI * PRTL_CONVERT_STRING)(IN PUNICODE_STRING UnicodeString, IN PANSI_STRING AnsiString, IN BOOLEAN AllocateMemory)
Definition: kernel32.h:275
DECLSPEC_NORETURN VOID WINAPI BaseProcessStartup(_In_ PPROCESS_START_ROUTINE lpStartAddress)
Definition: proc.c:451
struct _SXS_OVERRIDE_MANIFEST * PSXS_OVERRIDE_MANIFEST
struct _BASEP_ACTCTX_BLOCK BASEP_ACTCTX_BLOCK
DWORD FilenameW2A_N(LPSTR dest, INT destlen, LPCWSTR src, INT srclen)
Definition: fileutils.c:146
NTSTATUS WINAPI BasepCheckWinSaferRestrictions(IN HANDLE UserToken, IN LPWSTR ApplicationName, IN HANDLE FileHandle, OUT PBOOLEAN InJob, OUT PHANDLE NewToken, OUT PHANDLE JobHandle)
Definition: utils.c:921
PBASE_STATIC_SERVER_DATA BaseStaticServerData
Definition: dllmain.c:19
struct _BASE_MSG_SXS_HANDLES BASE_MSG_SXS_HANDLES
NTSTATUS NTAPI BasepProbeForDllManifest(IN PVOID DllHandle, IN PCWSTR FullDllName, OUT PVOID *ActCtx)
Definition: actctx.c:136
VOID WINAPI InitCommandLines(VOID)
Definition: proc.c:842
HANDLE BaseNamedObjectDirectory
Definition: dllmain.c:24
RTL_CRITICAL_SECTION BaseDllDirectoryLock
Definition: dllmain.c:32
_BASE_SEARCH_PATH_TYPE
Definition: kernel32.h:81
@ BaseSearchPathMax
Definition: kernel32.h:88
@ BaseSearchPathDll
Definition: kernel32.h:83
@ BaseSearchPathInvalid
Definition: kernel32.h:82
@ BaseSearchPathApp
Definition: kernel32.h:84
@ BaseSearchPathDefault
Definition: kernel32.h:85
@ BaseSearchPathCurrent
Definition: kernel32.h:87
@ BaseSearchPathEnv
Definition: kernel32.h:86
DWORD FilenameU2A_FitOrFail(LPSTR DestA, INT destLen, PUNICODE_STRING SourceU)
Definition: fileutils.c:56
struct _CODEPAGE_ENTRY CODEPAGE_ENTRY
NTSTATUS(NTAPI * PBASEP_APPCERT_EMBEDDED_FUNC)(IN LPWSTR ApplicationName)
Definition: kernel32.h:377
VOID WINAPI BaseProcessStartThunk(VOID)
ULONG NTAPI BasepAnsiStringToUnicodeSize(IN PANSI_STRING String)
Definition: utils.c:56
HMODULE hCurrentModule
Definition: dllmain.c:25
SYSTEM_BASIC_INFORMATION BaseCachedSysInfo
ULONG NTAPI BasepUnicodeStringToAnsiSize(IN PUNICODE_STRING String)
Definition: utils.c:49
enum _BASE_CURRENT_DIR_PLACEMENT BASE_CURRENT_DIR_PLACEMENT
struct tagLOADPARMS32 LOADPARMS32
BOOLEAN BaseRunningInServerProcess
Definition: dllmain.c:20
DWORD WINAPI BaseSetLastNTError(IN NTSTATUS Status)
Definition: reactos.cpp:166
UNICODE_STRING BaseDllDirectory
Definition: path.c:21
struct _SXS_OVERRIDE_MANIFEST SXS_OVERRIDE_MANIFEST
PVOID WINAPI BasepIsRealtimeAllowed(IN BOOLEAN Keep)
Definition: utils.c:665
VOID NTAPI BasepFreeActivationContextActivationBlock(IN PBASEP_ACTCTX_BLOCK ActivationBlock)
Definition: actctx.c:26
NTSTATUS(NTAPI * PRTL_CONVERT_STRINGA)(IN PANSI_STRING AnsiString, IN PCUNICODE_STRING UnicodeString, IN BOOLEAN AllocateMemory)
Definition: kernel32.h:281
BOOL bIsFileApiAnsi
Definition: utils.c:25
DWORD(WINAPI * PPROCESS_START_ROUTINE)(VOID)
Definition: kernel32.h:249
_In_ PVOID Parameter
Definition: ldrtypes.h:241
_In_ PCWSTR _Out_ PVOID * ActCtx
Definition: ldrtypes.h:247
_In_ PCWSTR FullDllName
Definition: ldrtypes.h:247
unsigned int * PULONG
Definition: retypes.h:1
char * PBOOLEAN
Definition: retypes.h:11
unsigned int ULONG
Definition: retypes.h:1
_In_ BOOL _In_ HANDLE hProcess
Definition: mapping.h:71
PVOID AllocateMemory(IN UINT Size)
Definition: utility.c:20
PVOID PVOID PWCHAR PVOID USHORT ExeType
Definition: env.c:47
PVOID PVOID PWCHAR PVOID USHORT PULONG PVOID * SdbQueryAppCompatData
Definition: env.c:48
PVOID PVOID PWCHAR PVOID USHORT PULONG PVOID PULONG PVOID PULONG SxsDataSize
Definition: env.c:48
PVOID PVOID PWCHAR PVOID USHORT PULONG PVOID PULONG PVOID * SxsData
Definition: env.c:48
PVOID PVOID PWCHAR PVOID USHORT PULONG PVOID PULONG PVOID PULONG PULONG FusionFlags
Definition: env.c:49
PVOID PVOID PWCHAR PVOID Environment
Definition: env.c:47
PVOID PVOID PWCHAR PVOID USHORT PULONG PVOID PULONG SdbQueryAppCompatDataSize
Definition: env.c:48
PVOID PVOID PWCHAR ApplicationName
Definition: env.c:47
static DWORD LPDWORD LPCSTR DWORD srclen
Definition: directory.c:52
static char * dest
Definition: rtl.c:135
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
unsigned int UINT
Definition: ndis.h:50
_In_ PCWSTR _Inout_ _At_ QueryTable EntryContext
Definition: rtlfuncs.h:4196
#define FASTCALL
Definition: nt_native.h:50
#define DWORD
Definition: nt_native.h:44
CONST WCHAR * PCWCH
Definition: ntbasedef.h:411
#define DECLSPEC_NORETURN
Definition: ntbasedef.h:176
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
BYTE * PBYTE
Definition: pedump.c:66
unsigned short USHORT
Definition: pedump.c:61
static ULONG Timeout
Definition: ping.c:61
#define alloc
Definition: rosglue.h:13
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
base of all file and directory entries
Definition: entries.h:83
PVOID ActivationContext
Definition: kernel32.h:102
LPOVERLAPPED_COMPLETION_ROUTINE CompletionRoutine
Definition: kernel32.h:104
PVOID CompletionContext
Definition: kernel32.h:103
Definition: kernel32.h:389
LIST_ENTRY Entry
Definition: kernel32.h:390
PBASEP_APPCERT_PLUGIN_FUNC fPluginCertFunc
Definition: kernel32.h:392
UNICODE_STRING Name
Definition: kernel32.h:391
LARGE_INTEGER ViewBase
Definition: kernel32.h:400
Definition: kernel32.h:63
UINT CodePage
Definition: kernel32.h:65
LIST_ENTRY Entry
Definition: kernel32.h:64
HANDLE SectionHandle
Definition: kernel32.h:66
CPTABLEINFO CodePageTable
Definition: kernel32.h:68
PBYTE SectionMapping
Definition: kernel32.h:67
Definition: btrfs_drv.h:1876
Definition: typedefs.h:120
PUNICODE_STRING Win32
Definition: kernel32.h:405
PUNICODE_STRING Nt
Definition: kernel32.h:406
Definition: compat.h:836
LPSTR lpEnvAddress
Definition: kernel32.h:73
DWORD dwReserved
Definition: kernel32.h:77
WORD wCmdShow
Definition: kernel32.h:76
LPSTR lpCmdLine
Definition: kernel32.h:74
WORD wMagicValue
Definition: kernel32.h:75
uint16_t * PWSTR
Definition: typedefs.h:56
const uint16_t * PCWSTR
Definition: typedefs.h:57
#define NTAPI
Definition: typedefs.h:36
ULONG_PTR SIZE_T
Definition: typedefs.h:80
int32_t INT
Definition: typedefs.h:58
#define IN
Definition: typedefs.h:39
uint16_t * PWCHAR
Definition: typedefs.h:56
#define OUT
Definition: typedefs.h:40
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2433
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ ULONG _Out_opt_ PULONG _Out_opt_ PULONG ValueType
Definition: wdfregistry.h:282
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING ValueName
Definition: wdfregistry.h:243
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ ULONG ValueLength
Definition: wdfregistry.h:275
_In_ WDFREQUEST _In_opt_ PFN_WDF_REQUEST_COMPLETION_ROUTINE _In_opt_ __drv_aliasesMem WDFCONTEXT CompletionContext
Definition: wdfrequest.h:898
_In_ WDFREQUEST _In_opt_ PFN_WDF_REQUEST_COMPLETION_ROUTINE CompletionRoutine
Definition: wdfrequest.h:895
PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER
Definition: winbase.h:1441
void(CALLBACK * LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD, DWORD, LPOVERLAPPED)
Definition: winbase.h:1439
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:1427
DWORD(WINAPI * LPTHREAD_START_ROUTINE)(LPVOID)
Definition: winbase.h:729
BOOL * LPBOOL
Definition: windef.h:162
#define WINAPI
Definition: msvc.h:6
_In_ const BITMAPINFO _In_ UINT _In_opt_ HANDLE hSection
Definition: wingdi.h:3239
_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
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185