-/* $Id: stubs.c,v 1.95 2004/12/04 13:59:41 ekohl Exp $
- *
+/*
* KERNEL32.DLL stubs (STUB functions)
* Remove from this file, if you implement them.
*/
AllocateUserPhysicalPages(
HANDLE hProcess,
PULONG_PTR NumberOfPages,
- PULONG_PTR PageArray
+ PULONG_PTR UserPfnArray
)
{
STUB;
return 0;
}
-
-/*
- * @unimplemented
- */
-HANDLE
-STDCALL
-CreateActCtxA(
- PCACTCTXA pActCtx
- )
-{
- STUB;
- return 0;
-}
-
/*
* @unimplemented
*/
)
{
STUB;
- return 0;
+ return INVALID_HANDLE_VALUE;
}
/*
return 0;
}
-/*
- * @unimplemented
- */
-VOID
-STDCALL
-GetNativeSystemInfo(
- LPSYSTEM_INFO lpSystemInfo
- )
-{
- STUB;
-}
/*
* @unimplemented
return 0;
}
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-GetThreadIOPendingFlag(
- HANDLE hThread,
- PBOOL lpIOIsPending
- )
-{
- STUB;
- return 0;
-}
-
/*
* @unimplemented
*/
BOOL
STDCALL
HeapQueryInformation (
- HANDLE HeapHandle,
+ HANDLE HeapHandle,
HEAP_INFORMATION_CLASS HeapInformationClass,
PVOID HeapInformation OPTIONAL,
SIZE_T HeapInformationLength OPTIONAL,
BOOL
STDCALL
HeapSetInformation (
- HANDLE HeapHandle,
+ HANDLE HeapHandle,
HEAP_INFORMATION_CLASS HeapInformationClass,
PVOID HeapInformation OPTIONAL,
SIZE_T HeapInformationLength OPTIONAL
)
{
STUB;
- return 0;
+ *Wow64Process = FALSE;
+ return TRUE;
}
/*
MapUserPhysicalPages(
PVOID VirtualAddress,
ULONG_PTR NumberOfPages,
- PULONG_PTR PageArray OPTIONAL
+ PULONG_PTR PageArray OPTIONAL
)
{
STUB;
MapUserPhysicalPagesScatter(
PVOID *VirtualAddresses,
ULONG_PTR NumberOfPages,
- PULONG_PTR PageArray OPTIONAL
+ PULONG_PTR PageArray OPTIONAL
)
{
STUB;
return 0;
}
-/*
- * @unimplemented
- */
-DWORD
-STDCALL
-QueueUserAPC(
- PAPCFUNC pfnAPC,
- HANDLE hThread,
- ULONG_PTR dwData
- )
-{
- STUB;
- return 0;
-}
-
/*
* @unimplemented
*/
return 0;
}
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-ReadDirectoryChangesW(
- HANDLE hDirectory,
- LPVOID lpBuffer,
- DWORD nBufferLength,
- BOOL bWatchSubtree,
- DWORD dwNotifyFilter,
- LPDWORD lpBytesReturned,
- LPOVERLAPPED lpOverlapped,
- LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
- )
-{
- STUB;
- return 0;
-}
+
+
/*
* @unimplemented
)
{
STUB;
- return 0;
+ return FALSE;
}
/*
return 0;
}
-/*
- * @unimplemented
- */
-DWORD
-STDCALL
-GetDllDirectoryW(
- DWORD nBufferLength,
- LPWSTR lpBuffer
- )
-{
- STUB;
- return 0;
-}
-
/*
* @unimplemented
*/
return 0;
}
-/*
- * @unimplemented
- */
-DWORD
-STDCALL
-GetLongPathNameW(
- LPCWSTR lpszShortPath,
- LPWSTR lpszLongPath,
- DWORD cchBuffer
- )
-{
- STUB;
- return 0;
-}
+
/*
* @unimplemented
return 0;
}
-/*
- * @unimplemented
- */
-UINT
-STDCALL
-GetSystemWow64DirectoryW(
- LPWSTR lpBuffer,
- UINT uSize
- )
-{
- STUB;
- return 0;
-}
-
/*
* @unimplemented
*/
return 0;
}
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-SetComputerNameExW (
- COMPUTER_NAME_FORMAT NameType,
- LPCWSTR lpBuffer
- )
-{
- STUB;
- return 0;
-}
-
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-SetDllDirectoryW(
- LPCWSTR lpPathName
- )
-{
- STUB;
- return 0;
-}
-
/*
* @unimplemented
*/
return 0;
}
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-VerifyVersionInfoW(
- LPOSVERSIONINFOEXW lpVersionInformation,
- DWORD dwTypeMask,
- DWORDLONG dwlConditionMask
- )
-{
- STUB;
- return 0;
-}
-
/*
* @unimplemented
*/
return 0;
}
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-FindActCtxSectionStringA(
- DWORD dwFlags,
- const GUID *lpExtensionGuid,
- ULONG ulSectionId,
- LPCSTR lpStringToFind,
- PACTCTX_SECTION_KEYED_DATA ReturnedData
- )
-{
- STUB;
- return 0;
-}
-
/*
* @unimplemented
*/
return 0;
}
-/*
- * @unimplemented
- */
-DWORD
-STDCALL
-GetDllDirectoryA(
- DWORD nBufferLength,
- LPSTR lpBuffer
- )
-{
- STUB;
- return 0;
-}
-
/*
* @unimplemented
*/
return 0;
}
-/*
- * @unimplemented
- */
-DWORD
-STDCALL
-GetLongPathNameA(
- LPCSTR lpszShortPath,
- LPSTR lpszLongPath,
- DWORD cchBuffer
- )
-{
- STUB;
- return 0;
-}
+
/*
* @unimplemented
return 0;
}
-/*
- * @unimplemented
- */
-UINT
-STDCALL
-GetSystemWow64DirectoryA(
- LPSTR lpBuffer,
- UINT uSize
- )
-{
- STUB;
- return 0;
-}
-
/*
* @unimplemented
*/
return 0;
}
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-SetComputerNameExA (
- COMPUTER_NAME_FORMAT NameType,
- LPCSTR lpBuffer
- )
-{
- STUB;
- return 0;
-}
-
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-SetDllDirectoryA(
- LPCSTR lpPathName
- )
-{
- STUB;
- return 0;
-}
-
/*
* @unimplemented
*/
return 0;
}
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-VerifyVersionInfoA(
- LPOSVERSIONINFOEXA lpVersionInformation,
- DWORD dwTypeMask,
- DWORDLONG dwlConditionMask
- )
-{
- STUB;
- return 0;
-}
-
-/*
- * @unimplemented
- */
-ULONGLONG
-STDCALL
-VerSetConditionMask(
- ULONGLONG ConditionMask,
- DWORD TypeMask,
- BYTE Condition
- )
-{
- STUB;
- return 0;
-}
-
/*
* @unimplemented
*/
return 0;
}
-/*
- * @unimplemented
- */
-BOOL STDCALL SetConsoleInputExeNameA(LPCSTR name)
-{
- STUB;
- return 0;
-}
-
-/*
- * @unimplemented
- */
-BOOL STDCALL SetConsoleInputExeNameW(LPCWSTR name)
-{
- STUB;
- return 0;
-}
-
/*
* @unimplemented
*/
/*
* @unimplemented
*/
-BOOL STDCALL GetConsoleInputExeNameA(ULONG length,LPCSTR name)
+BOOL STDCALL IsValidUILanguage(LANGID langid)
{
STUB;
return 0;
/*
* @unimplemented
*/
-BOOL STDCALL GetConsoleInputExeNameW(ULONG length,LPCWSTR name)
+VOID STDCALL NlsConvertIntegerToString(ULONG Value,ULONG Base,ULONG strsize, LPWSTR str, ULONG strsize2)
{
STUB;
- return 0;
}
/*
* @unimplemented
*/
-BOOL STDCALL IsValidUILanguage(LANGID langid)
+UINT STDCALL SetCPGlobal(UINT CodePage)
{
STUB;
return 0;
/*
* @unimplemented
*/
-VOID STDCALL NlsConvertIntegerToString(ULONG Value,ULONG Base,ULONG strsize, LPWSTR str, ULONG strsize2)
+BOOL
+STDCALL
+SetClientTimeZoneInformation(
+ CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation
+ )
{
STUB;
+ return 0;
}
-/*
- * @unimplemented
- */
-UINT STDCALL SetCPGlobal(UINT CodePage)
+ULONG
+WINAPI
+NlsGetCacheUpdateCount(VOID)
{
STUB;
return 0;
}
-/*
- * @unimplemented
- */
BOOL
STDCALL
-SetClientTimeZoneInformation(
- CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation
- )
+Wow64DisableWow64FsRedirection (VOID ** pv)
{
STUB;
- return 0;
+ return FALSE;
+}
+
+BOOL
+STDCALL
+Wow64RevertWow64FsRedirection (VOID * pv)
+{
+ STUB;
+ return FALSE;
}