2 * KERNEL32.DLL stubs (STUB functions)
3 * Remove from this file, if you implement them.
9 #include "../include/debug.h"
13 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); \
14 DPRINT1("%s() is UNIMPLEMENTED!\n", __FUNCTION__)
21 BaseAttachCompleteThunk (VOID
)
31 BaseDumpAppcompatCache(VOID
)
40 BaseFlushAppcompatCache(VOID
)
49 BaseCheckAppcompatCache(ULONG Unknown1
, ULONG Unknown2
, ULONG Unknown3
, ULONG Unknown4
)
58 BaseUpdateAppcompatCache(ULONG Unknown1
, ULONG Unknown2
, ULONG Unknown3
)
113 ExtendVirtualBuffer (
165 HANDLE hVirtualBuffer
192 GetSystemPowerStatus (
193 LPSYSTEM_POWER_STATUS PowerStatus
206 GetVDMCurrentDirectories (
245 RegisterWowBaseHandlers (
272 SetSystemPowerState (
287 SetVDMCurrentDirectories (
316 VDMConsoleOperation (
331 VDMOperationStarted (
377 VirtualBufferExceptionHandler (
418 AllocateUserPhysicalPages(
420 PULONG_PTR NumberOfPages
,
421 PULONG_PTR UserPfnArray
433 BindIoCompletionCallback (
435 LPOVERLAPPED_COMPLETION_ROUTINE Function
,
448 CancelDeviceWakeupRequest(
490 PJOB_SET_ARRAY UserJobSet
,
516 FindActCtxSectionGuid(
518 const GUID
*lpExtensionGuid
,
520 const GUID
*lpGuidToFind
,
521 PACTCTX_SECTION_KEYED_DATA ReturnedData
546 FindVolumeMountPointClose(
547 HANDLE hFindVolumeMountPoint
559 FreeUserPhysicalPages(
561 PULONG_PTR NumberOfPages
,
601 GetNumaHighestNodeNumber(
602 PULONG HighestNodeNumber
614 GetNumaNodeProcessorMask(
616 PULONGLONG ProcessorMask
628 GetNumaProcessorNode(
647 PULONG_PTR lpdwCount
,
648 PULONG lpdwGranularity
660 HeapQueryInformation (
662 HEAP_INFORMATION_CLASS HeapInformationClass
,
663 PVOID HeapInformation OPTIONAL
,
664 SIZE_T HeapInformationLength OPTIONAL
,
665 PSIZE_T ReturnLength OPTIONAL
679 HEAP_INFORMATION_CLASS HeapInformationClass
,
680 PVOID HeapInformation OPTIONAL
,
681 SIZE_T HeapInformationLength OPTIONAL
693 IsSystemResumeAutomatic(
712 *Wow64Process
= FALSE
;
721 MapUserPhysicalPages(
722 PVOID VirtualAddress
,
723 ULONG_PTR NumberOfPages
,
724 PULONG_PTR PageArray OPTIONAL
736 MapUserPhysicalPagesScatter(
737 PVOID
*VirtualAddresses
,
738 ULONG_PTR NumberOfPages
,
739 PULONG_PTR PageArray OPTIONAL
757 SIZE_T cbBuffer OPTIONAL
,
758 SIZE_T
*pcbWrittenOrRequired OPTIONAL
771 LPTHREAD_START_ROUTINE Function
,
790 FILE_SEGMENT_ELEMENT aSegmentArray
[],
791 DWORD nNumberOfBytesToRead
,
793 LPOVERLAPPED lpOverlapped
805 RegisterWaitForSingleObject(
806 PHANDLE phNewWaitObject
,
808 WAITORTIMERCALLBACK Callback
,
810 ULONG dwMilliseconds
,
823 RegisterWaitForSingleObjectEx(
825 WAITORTIMERCALLBACK Callback
,
827 ULONG dwMilliseconds
,
852 RemoveVectoredExceptionHandler(
853 PVOID VectoredHandlerHandle
878 RequestWakeupLatency(
892 LPVOID lpBaseAddress
,
917 SetMessageWaitingIndicator(
918 HANDLE hMsgIndicator
,
931 SetThreadExecutionState(
932 EXECUTION_STATE esFlags
944 TzSpecificLocalTimeToSystemTime(
945 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
946 LPSYSTEMTIME lpLocalTime
,
947 LPSYSTEMTIME lpUniversalTime
974 HANDLE CompletionEvent
988 FILE_SEGMENT_ELEMENT aSegmentArray
[],
989 DWORD nNumberOfBytesToWrite
,
991 LPOVERLAPPED lpOverlapped
1016 DeleteVolumeMountPointW(
1017 LPCWSTR lpszVolumeMountPoint
1029 DnsHostnameToComputerNameW (
1031 LPWSTR ComputerName
,
1044 FindActCtxSectionStringW(
1046 const GUID
*lpExtensionGuid
,
1048 LPCWSTR lpStringToFind
,
1049 PACTCTX_SECTION_KEYED_DATA ReturnedData
1062 LPCWSTR lpszVolumeName
,
1063 DWORD cchBufferLength
1075 FindFirstVolumeMountPointW(
1076 LPWSTR lpszRootPathName
,
1077 LPWSTR lpszVolumeMountPoint
,
1078 DWORD cchBufferLength
1092 LPWSTR lpszVolumeName
,
1093 DWORD cchBufferLength
1105 FindNextVolumeMountPointW(
1106 HANDLE hFindVolumeMountPoint
,
1107 LPWSTR lpszVolumeMountPoint
,
1108 DWORD cchBufferLength
1120 GetFirmwareEnvironmentVariableW(
1140 LPCWSTR lpModuleName
,
1153 GetVolumeNameForVolumeMountPointW(
1154 LPCWSTR lpszVolumeMountPoint
,
1155 LPWSTR lpszVolumeName
,
1156 DWORD cchBufferLength
1169 LPCWSTR lpszFileName
,
1170 LPWSTR lpszVolumePathName
,
1171 DWORD cchBufferLength
1183 GetVolumePathNamesForVolumeNameW(
1184 LPCWSTR lpszVolumeName
,
1185 LPWSTR lpszVolumePathNames
,
1186 DWORD cchBufferLength
,
1187 PDWORD lpcchReturnLength
1200 LPCWSTR lpReplacedFileName
,
1201 LPCWSTR lpReplacementFileName
,
1202 LPCWSTR lpBackupFileName
,
1203 DWORD dwReplaceFlags
,
1217 SetFirmwareEnvironmentVariableW(
1233 SetVolumeMountPointW(
1234 LPCWSTR lpszVolumeMountPoint
,
1235 LPCWSTR lpszVolumeName
1247 DeleteVolumeMountPointA(
1248 LPCSTR lpszVolumeMountPoint
1260 DnsHostnameToComputerNameA (
1275 FindActCtxSectionStringA(
1277 const GUID
*lpExtensionGuid
,
1279 LPCSTR lpStringToFind
,
1280 PACTCTX_SECTION_KEYED_DATA ReturnedData
1293 LPCSTR lpszVolumeName
,
1294 DWORD cchBufferLength
1306 FindFirstVolumeMountPointA(
1307 LPSTR lpszRootPathName
,
1308 LPSTR lpszVolumeMountPoint
,
1309 DWORD cchBufferLength
1323 LPCSTR lpszVolumeName
,
1324 DWORD cchBufferLength
1336 FindNextVolumeMountPointA(
1337 HANDLE hFindVolumeMountPoint
,
1338 LPSTR lpszVolumeMountPoint
,
1339 DWORD cchBufferLength
1351 GetFirmwareEnvironmentVariableA(
1371 LPCSTR lpModuleName
,
1384 GetVolumeNameForVolumeMountPointA(
1385 LPCSTR lpszVolumeMountPoint
,
1386 LPSTR lpszVolumeName
,
1387 DWORD cchBufferLength
1400 LPCSTR lpszFileName
,
1401 LPSTR lpszVolumePathName
,
1402 DWORD cchBufferLength
1414 GetVolumePathNamesForVolumeNameA(
1415 LPCSTR lpszVolumeName
,
1416 LPSTR lpszVolumePathNames
,
1417 DWORD cchBufferLength
,
1418 PDWORD lpcchReturnLength
1431 LPCSTR lpReplacedFileName
,
1432 LPCSTR lpReplacementFileName
,
1433 LPCSTR lpBackupFileName
,
1434 DWORD dwReplaceFlags
,
1448 SetFirmwareEnvironmentVariableA(
1464 SetVolumeMountPointA(
1465 LPCSTR lpszVolumeMountPoint
,
1466 LPCSTR lpszVolumeName
1476 BOOL STDCALL
GetConsoleKeyboardLayoutNameA(LPSTR name
)
1485 BOOL STDCALL
GetConsoleKeyboardLayoutNameW(LPWSTR name
)
1494 DWORD STDCALL
GetHandleContext(HANDLE hnd
)
1503 HANDLE STDCALL
CreateSocketHandle(VOID
)
1512 BOOL STDCALL
SetHandleContext(HANDLE hnd
,DWORD context
)
1521 BOOL STDCALL
UTRegister( HMODULE hModule
, LPSTR lpsz16BITDLL
,
1522 LPSTR lpszInitName
, LPSTR lpszProcName
,
1523 FARPROC
*ppfn32Thunk
, FARPROC pfnUT32CallBack
,
1533 VOID STDCALL
UTUnRegister( HMODULE hModule
)
1542 FARPROC STDCALL
DelayLoadFailureHook(unsigned int dliNotify
, PDelayLoadInfo pdli
)
1544 FARPROC STDCALL
DelayLoadFailureHook(unsigned int dliNotify
, PVOID pdli
)
1554 NTSTATUS STDCALL
CreateNlsSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor
,ULONG Size
,ULONG AccessMask
)
1563 BOOL STDCALL
IsValidUILanguage(LANGID langid
)
1572 VOID STDCALL
NlsConvertIntegerToString(ULONG Value
,ULONG Base
,ULONG strsize
, LPWSTR str
, ULONG strsize2
)
1580 UINT STDCALL
SetCPGlobal(UINT CodePage
)
1591 SetClientTimeZoneInformation(
1592 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
1601 NlsGetCacheUpdateCount(VOID
)
1609 Wow64DisableWow64FsRedirection (VOID
** pv
)
1617 Wow64RevertWow64FsRedirection (VOID
* pv
)