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
197 PowerStatus
->ACLineStatus
= 1;
198 PowerStatus
->BatteryFlag
= 128;
199 PowerStatus
->BatteryLifePercent
= 255;
200 PowerStatus
->Reserved1
= 0;
201 PowerStatus
->BatteryLifeTime
= -1;
202 PowerStatus
->BatteryFullLifeTime
= -1;
212 GetVDMCurrentDirectories (
251 RegisterWowBaseHandlers (
278 SetSystemPowerState (
293 SetVDMCurrentDirectories (
322 VDMConsoleOperation (
337 VDMOperationStarted (
350 VirtualBufferExceptionHandler (
391 AllocateUserPhysicalPages(
393 PULONG_PTR NumberOfPages
,
394 PULONG_PTR UserPfnArray
406 BindIoCompletionCallback (
408 LPOVERLAPPED_COMPLETION_ROUTINE Function
,
421 CancelDeviceWakeupRequest(
439 return INVALID_HANDLE_VALUE
;
449 PJOB_SET_ARRAY UserJobSet
,
475 FindActCtxSectionGuid(
477 const GUID
*lpExtensionGuid
,
479 const GUID
*lpGuidToFind
,
480 PACTCTX_SECTION_KEYED_DATA ReturnedData
505 FindVolumeMountPointClose(
506 HANDLE hFindVolumeMountPoint
518 FreeUserPhysicalPages(
520 PULONG_PTR NumberOfPages
,
560 GetNumaHighestNodeNumber(
561 PULONG HighestNodeNumber
573 GetNumaNodeProcessorMask(
575 PULONGLONG ProcessorMask
587 GetNumaProcessorNode(
606 PULONG_PTR lpdwCount
,
607 PULONG lpdwGranularity
619 HeapQueryInformation (
621 HEAP_INFORMATION_CLASS HeapInformationClass
,
622 PVOID HeapInformation OPTIONAL
,
623 SIZE_T HeapInformationLength OPTIONAL
,
624 PSIZE_T ReturnLength OPTIONAL
638 HEAP_INFORMATION_CLASS HeapInformationClass
,
639 PVOID HeapInformation OPTIONAL
,
640 SIZE_T HeapInformationLength OPTIONAL
652 IsSystemResumeAutomatic(
671 *Wow64Process
= FALSE
;
680 MapUserPhysicalPages(
681 PVOID VirtualAddress
,
682 ULONG_PTR NumberOfPages
,
683 PULONG_PTR PageArray OPTIONAL
695 MapUserPhysicalPagesScatter(
696 PVOID
*VirtualAddresses
,
697 ULONG_PTR NumberOfPages
,
698 PULONG_PTR PageArray OPTIONAL
716 SIZE_T cbBuffer OPTIONAL
,
717 SIZE_T
*pcbWrittenOrRequired OPTIONAL
730 LPTHREAD_START_ROUTINE Function
,
749 FILE_SEGMENT_ELEMENT aSegmentArray
[],
750 DWORD nNumberOfBytesToRead
,
752 LPOVERLAPPED lpOverlapped
764 RegisterWaitForSingleObject(
765 PHANDLE phNewWaitObject
,
767 WAITORTIMERCALLBACK Callback
,
769 ULONG dwMilliseconds
,
782 RegisterWaitForSingleObjectEx(
784 WAITORTIMERCALLBACK Callback
,
786 ULONG dwMilliseconds
,
811 RemoveVectoredExceptionHandler(
812 PVOID VectoredHandlerHandle
837 RequestWakeupLatency(
851 LPVOID lpBaseAddress
,
876 SetMessageWaitingIndicator(
877 HANDLE hMsgIndicator
,
890 SetThreadExecutionState(
891 EXECUTION_STATE esFlags
903 TzSpecificLocalTimeToSystemTime(
904 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
905 LPSYSTEMTIME lpLocalTime
,
906 LPSYSTEMTIME lpUniversalTime
933 HANDLE CompletionEvent
947 FILE_SEGMENT_ELEMENT aSegmentArray
[],
948 DWORD nNumberOfBytesToWrite
,
950 LPOVERLAPPED lpOverlapped
975 DeleteVolumeMountPointW(
976 LPCWSTR lpszVolumeMountPoint
988 DnsHostnameToComputerNameW (
1003 FindActCtxSectionStringW(
1005 const GUID
*lpExtensionGuid
,
1007 LPCWSTR lpStringToFind
,
1008 PACTCTX_SECTION_KEYED_DATA ReturnedData
1021 LPCWSTR lpszVolumeName
,
1022 DWORD cchBufferLength
1034 FindFirstVolumeMountPointW(
1035 LPWSTR lpszRootPathName
,
1036 LPWSTR lpszVolumeMountPoint
,
1037 DWORD cchBufferLength
1051 LPWSTR lpszVolumeName
,
1052 DWORD cchBufferLength
1064 FindNextVolumeMountPointW(
1065 HANDLE hFindVolumeMountPoint
,
1066 LPWSTR lpszVolumeMountPoint
,
1067 DWORD cchBufferLength
1079 GetFirmwareEnvironmentVariableW(
1096 LPCWSTR lpszFileName
,
1097 LPWSTR lpszVolumePathName
,
1098 DWORD cchBufferLength
1110 GetVolumePathNamesForVolumeNameW(
1111 LPCWSTR lpszVolumeName
,
1112 LPWSTR lpszVolumePathNames
,
1113 DWORD cchBufferLength
,
1114 PDWORD lpcchReturnLength
1127 LPCWSTR lpReplacedFileName
,
1128 LPCWSTR lpReplacementFileName
,
1129 LPCWSTR lpBackupFileName
,
1130 DWORD dwReplaceFlags
,
1144 SetFirmwareEnvironmentVariableW(
1160 SetVolumeMountPointW(
1161 LPCWSTR lpszVolumeMountPoint
,
1162 LPCWSTR lpszVolumeName
1174 DeleteVolumeMountPointA(
1175 LPCSTR lpszVolumeMountPoint
1187 DnsHostnameToComputerNameA (
1203 LPCSTR lpszVolumeName
,
1204 DWORD cchBufferLength
1216 FindFirstVolumeMountPointA(
1217 LPSTR lpszRootPathName
,
1218 LPSTR lpszVolumeMountPoint
,
1219 DWORD cchBufferLength
1233 LPCSTR lpszVolumeName
,
1234 DWORD cchBufferLength
1246 FindNextVolumeMountPointA(
1247 HANDLE hFindVolumeMountPoint
,
1248 LPSTR lpszVolumeMountPoint
,
1249 DWORD cchBufferLength
1261 GetFirmwareEnvironmentVariableA(
1277 GetVolumeNameForVolumeMountPointA(
1278 LPCSTR lpszVolumeMountPoint
,
1279 LPSTR lpszVolumeName
,
1280 DWORD cchBufferLength
1293 LPCSTR lpszFileName
,
1294 LPSTR lpszVolumePathName
,
1295 DWORD cchBufferLength
1307 GetVolumePathNamesForVolumeNameA(
1308 LPCSTR lpszVolumeName
,
1309 LPSTR lpszVolumePathNames
,
1310 DWORD cchBufferLength
,
1311 PDWORD lpcchReturnLength
1324 LPCSTR lpReplacedFileName
,
1325 LPCSTR lpReplacementFileName
,
1326 LPCSTR lpBackupFileName
,
1327 DWORD dwReplaceFlags
,
1341 SetFirmwareEnvironmentVariableA(
1357 SetVolumeMountPointA(
1358 LPCSTR lpszVolumeMountPoint
,
1359 LPCSTR lpszVolumeName
1369 BOOL STDCALL
GetConsoleKeyboardLayoutNameA(LPSTR name
)
1378 BOOL STDCALL
GetConsoleKeyboardLayoutNameW(LPWSTR name
)
1387 DWORD STDCALL
GetHandleContext(HANDLE hnd
)
1396 HANDLE STDCALL
CreateSocketHandle(VOID
)
1405 BOOL STDCALL
SetHandleContext(HANDLE hnd
,DWORD context
)
1414 BOOL STDCALL
UTRegister( HMODULE hModule
, LPSTR lpsz16BITDLL
,
1415 LPSTR lpszInitName
, LPSTR lpszProcName
,
1416 FARPROC
*ppfn32Thunk
, FARPROC pfnUT32CallBack
,
1426 VOID STDCALL
UTUnRegister( HMODULE hModule
)
1435 FARPROC STDCALL
DelayLoadFailureHook(unsigned int dliNotify
, PDelayLoadInfo pdli
)
1437 FARPROC STDCALL
DelayLoadFailureHook(unsigned int dliNotify
, PVOID pdli
)
1447 NTSTATUS STDCALL
CreateNlsSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor
,ULONG Size
,ULONG AccessMask
)
1456 BOOL STDCALL
IsValidUILanguage(LANGID langid
)
1465 VOID STDCALL
NlsConvertIntegerToString(ULONG Value
,ULONG Base
,ULONG strsize
, LPWSTR str
, ULONG strsize2
)
1473 UINT STDCALL
SetCPGlobal(UINT CodePage
)
1484 SetClientTimeZoneInformation(
1485 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
1494 NlsGetCacheUpdateCount(VOID
)
1502 Wow64DisableWow64FsRedirection (VOID
** pv
)
1510 Wow64RevertWow64FsRedirection (VOID
* pv
)