3 * KERNEL32.DLL stubs (STUB functions)
4 * Remove from this file, if you implement them.
10 #include "../include/debug.h"
14 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); \
15 DPRINT1("%s() is UNIMPLEMENTED!\n", __FUNCTION__)
22 BaseAttachCompleteThunk (VOID
)
32 BaseDumpAppcompatCache(VOID
)
41 BaseFlushAppcompatCache(VOID
)
50 BaseCheckAppcompatCache(ULONG Unknown1
, ULONG Unknown2
, ULONG Unknown3
, ULONG Unknown4
)
59 BaseUpdateAppcompatCache(ULONG Unknown1
, ULONG Unknown2
, ULONG Unknown3
)
114 ExtendVirtualBuffer (
166 HANDLE hVirtualBuffer
193 GetSystemPowerStatus (
194 LPSYSTEM_POWER_STATUS PowerStatus
207 GetVDMCurrentDirectories (
246 RegisterWowBaseHandlers (
273 SetSystemPowerState (
288 SetVDMCurrentDirectories (
317 VDMConsoleOperation (
332 VDMOperationStarted (
378 VirtualBufferExceptionHandler (
419 AllocateUserPhysicalPages(
421 PULONG_PTR NumberOfPages
,
422 PULONG_PTR UserPfnArray
434 BindIoCompletionCallback (
436 LPOVERLAPPED_COMPLETION_ROUTINE Function
,
449 CancelDeviceWakeupRequest(
491 PJOB_SET_ARRAY UserJobSet
,
517 FindActCtxSectionGuid(
519 const GUID
*lpExtensionGuid
,
521 const GUID
*lpGuidToFind
,
522 PACTCTX_SECTION_KEYED_DATA ReturnedData
547 FindVolumeMountPointClose(
548 HANDLE hFindVolumeMountPoint
560 FreeUserPhysicalPages(
562 PULONG_PTR NumberOfPages
,
602 LPSYSTEM_INFO lpSystemInfo
613 GetNumaHighestNodeNumber(
614 PULONG HighestNodeNumber
626 GetNumaNodeProcessorMask(
628 PULONGLONG ProcessorMask
640 GetNumaProcessorNode(
659 PULONG_PTR lpdwCount
,
660 PULONG lpdwGranularity
672 HeapQueryInformation (
674 HEAP_INFORMATION_CLASS HeapInformationClass
,
675 PVOID HeapInformation OPTIONAL
,
676 SIZE_T HeapInformationLength OPTIONAL
,
677 PSIZE_T ReturnLength OPTIONAL
691 HEAP_INFORMATION_CLASS HeapInformationClass
,
692 PVOID HeapInformation OPTIONAL
,
693 SIZE_T HeapInformationLength OPTIONAL
705 IsSystemResumeAutomatic(
732 MapUserPhysicalPages(
733 PVOID VirtualAddress
,
734 ULONG_PTR NumberOfPages
,
735 PULONG_PTR PageArray OPTIONAL
747 MapUserPhysicalPagesScatter(
748 PVOID
*VirtualAddresses
,
749 ULONG_PTR NumberOfPages
,
750 PULONG_PTR PageArray OPTIONAL
768 SIZE_T cbBuffer OPTIONAL
,
769 SIZE_T
*pcbWrittenOrRequired OPTIONAL
782 LPTHREAD_START_ROUTINE Function
,
801 FILE_SEGMENT_ELEMENT aSegmentArray
[],
802 DWORD nNumberOfBytesToRead
,
804 LPOVERLAPPED lpOverlapped
816 RegisterWaitForSingleObject(
817 PHANDLE phNewWaitObject
,
819 WAITORTIMERCALLBACK Callback
,
821 ULONG dwMilliseconds
,
834 RegisterWaitForSingleObjectEx(
836 WAITORTIMERCALLBACK Callback
,
838 ULONG dwMilliseconds
,
863 RemoveVectoredExceptionHandler(
864 PVOID VectoredHandlerHandle
889 RequestWakeupLatency(
903 LPVOID lpBaseAddress
,
928 SetMessageWaitingIndicator(
929 HANDLE hMsgIndicator
,
942 SetThreadExecutionState(
943 EXECUTION_STATE esFlags
955 TzSpecificLocalTimeToSystemTime(
956 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
957 LPSYSTEMTIME lpLocalTime
,
958 LPSYSTEMTIME lpUniversalTime
985 HANDLE CompletionEvent
999 FILE_SEGMENT_ELEMENT aSegmentArray
[],
1000 DWORD nNumberOfBytesToWrite
,
1002 LPOVERLAPPED lpOverlapped
1027 DeleteVolumeMountPointW(
1028 LPCWSTR lpszVolumeMountPoint
1040 DnsHostnameToComputerNameW (
1042 LPWSTR ComputerName
,
1055 FindActCtxSectionStringW(
1057 const GUID
*lpExtensionGuid
,
1059 LPCWSTR lpStringToFind
,
1060 PACTCTX_SECTION_KEYED_DATA ReturnedData
1073 LPCWSTR lpszVolumeName
,
1074 DWORD cchBufferLength
1086 FindFirstVolumeMountPointW(
1087 LPWSTR lpszRootPathName
,
1088 LPWSTR lpszVolumeMountPoint
,
1089 DWORD cchBufferLength
1103 LPWSTR lpszVolumeName
,
1104 DWORD cchBufferLength
1116 FindNextVolumeMountPointW(
1117 HANDLE hFindVolumeMountPoint
,
1118 LPWSTR lpszVolumeMountPoint
,
1119 DWORD cchBufferLength
1131 GetFirmwareEnvironmentVariableW(
1151 LPCWSTR lpModuleName
,
1164 GetSystemWow64DirectoryW(
1178 GetVolumeNameForVolumeMountPointW(
1179 LPCWSTR lpszVolumeMountPoint
,
1180 LPWSTR lpszVolumeName
,
1181 DWORD cchBufferLength
1194 LPCWSTR lpszFileName
,
1195 LPWSTR lpszVolumePathName
,
1196 DWORD cchBufferLength
1208 GetVolumePathNamesForVolumeNameW(
1209 LPCWSTR lpszVolumeName
,
1210 LPWSTR lpszVolumePathNames
,
1211 DWORD cchBufferLength
,
1212 PDWORD lpcchReturnLength
1225 LPCWSTR lpReplacedFileName
,
1226 LPCWSTR lpReplacementFileName
,
1227 LPCWSTR lpBackupFileName
,
1228 DWORD dwReplaceFlags
,
1242 SetComputerNameExW (
1243 COMPUTER_NAME_FORMAT NameType
,
1256 SetFirmwareEnvironmentVariableW(
1272 SetVolumeMountPointW(
1273 LPCWSTR lpszVolumeMountPoint
,
1274 LPCWSTR lpszVolumeName
1286 DeleteVolumeMountPointA(
1287 LPCSTR lpszVolumeMountPoint
1299 DnsHostnameToComputerNameA (
1314 FindActCtxSectionStringA(
1316 const GUID
*lpExtensionGuid
,
1318 LPCSTR lpStringToFind
,
1319 PACTCTX_SECTION_KEYED_DATA ReturnedData
1332 LPCSTR lpszVolumeName
,
1333 DWORD cchBufferLength
1345 FindFirstVolumeMountPointA(
1346 LPSTR lpszRootPathName
,
1347 LPSTR lpszVolumeMountPoint
,
1348 DWORD cchBufferLength
1362 LPCSTR lpszVolumeName
,
1363 DWORD cchBufferLength
1375 FindNextVolumeMountPointA(
1376 HANDLE hFindVolumeMountPoint
,
1377 LPSTR lpszVolumeMountPoint
,
1378 DWORD cchBufferLength
1390 GetFirmwareEnvironmentVariableA(
1410 LPCSTR lpModuleName
,
1423 GetSystemWow64DirectoryA(
1437 GetVolumeNameForVolumeMountPointA(
1438 LPCSTR lpszVolumeMountPoint
,
1439 LPSTR lpszVolumeName
,
1440 DWORD cchBufferLength
1453 LPCSTR lpszFileName
,
1454 LPSTR lpszVolumePathName
,
1455 DWORD cchBufferLength
1467 GetVolumePathNamesForVolumeNameA(
1468 LPCSTR lpszVolumeName
,
1469 LPSTR lpszVolumePathNames
,
1470 DWORD cchBufferLength
,
1471 PDWORD lpcchReturnLength
1484 LPCSTR lpReplacedFileName
,
1485 LPCSTR lpReplacementFileName
,
1486 LPCSTR lpBackupFileName
,
1487 DWORD dwReplaceFlags
,
1501 SetComputerNameExA (
1502 COMPUTER_NAME_FORMAT NameType
,
1515 SetFirmwareEnvironmentVariableA(
1531 SetVolumeMountPointA(
1532 LPCSTR lpszVolumeMountPoint
,
1533 LPCSTR lpszVolumeName
1543 BOOL STDCALL
GetConsoleKeyboardLayoutNameA(LPSTR name
)
1552 BOOL STDCALL
GetConsoleKeyboardLayoutNameW(LPWSTR name
)
1561 DWORD STDCALL
GetHandleContext(HANDLE hnd
)
1570 HANDLE STDCALL
CreateSocketHandle(VOID
)
1579 BOOL STDCALL
SetHandleContext(HANDLE hnd
,DWORD context
)
1588 BOOL STDCALL
UTRegister( HMODULE hModule
, LPSTR lpsz16BITDLL
,
1589 LPSTR lpszInitName
, LPSTR lpszProcName
,
1590 FARPROC
*ppfn32Thunk
, FARPROC pfnUT32CallBack
,
1600 VOID STDCALL
UTUnRegister( HMODULE hModule
)
1609 FARPROC STDCALL
DelayLoadFailureHook(unsigned int dliNotify
, PDelayLoadInfo pdli
)
1611 FARPROC STDCALL
DelayLoadFailureHook(unsigned int dliNotify
, PVOID pdli
)
1621 NTSTATUS STDCALL
CreateNlsSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor
,ULONG Size
,ULONG AccessMask
)
1630 BOOL STDCALL
IsValidUILanguage(LANGID langid
)
1639 VOID STDCALL
NlsConvertIntegerToString(ULONG Value
,ULONG Base
,ULONG strsize
, LPWSTR str
, ULONG strsize2
)
1647 UINT STDCALL
SetCPGlobal(UINT CodePage
)
1658 SetClientTimeZoneInformation(
1659 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation