Commit 0c90da7f authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32: Move some stub functions to kernelbase.

parent a10f1e9d
...@@ -456,29 +456,6 @@ BOOL WINAPI ReplaceFileA(LPCSTR lpReplacedFileName,LPCSTR lpReplacementFileName, ...@@ -456,29 +456,6 @@ BOOL WINAPI ReplaceFileA(LPCSTR lpReplacedFileName,LPCSTR lpReplacementFileName,
} }
/**************************************************************************
* FindFirstStreamW (KERNEL32.@)
*/
HANDLE WINAPI FindFirstStreamW(LPCWSTR filename, STREAM_INFO_LEVELS infolevel, void *data, DWORD flags)
{
FIXME("(%s, %d, %p, %x): stub!\n", debugstr_w(filename), infolevel, data, flags);
SetLastError(ERROR_HANDLE_EOF);
return INVALID_HANDLE_VALUE;
}
/**************************************************************************
* FindNextStreamW (KERNEL32.@)
*/
BOOL WINAPI FindNextStreamW(HANDLE handle, void *data)
{
FIXME("(%p, %p): stub!\n", handle, data);
SetLastError(ERROR_HANDLE_EOF);
return FALSE;
}
/*********************************************************************** /***********************************************************************
* OpenVxDHandle (KERNEL32.@) * OpenVxDHandle (KERNEL32.@)
* *
......
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
@ stub BaseCleanupAppcompatCacheSupport @ stub BaseCleanupAppcompatCacheSupport
# @ stub BaseDllReadWriteIniFile # @ stub BaseDllReadWriteIniFile
@ stub BaseDumpAppcompatCache @ stub BaseDumpAppcompatCache
@ stdcall BaseFlushAppcompatCache() @ stdcall -import BaseFlushAppcompatCache()
# @ stub BaseFormatObjectAttributes # @ stub BaseFormatObjectAttributes
# @ stub BaseFormatTimeOut # @ stub BaseFormatTimeOut
# @ stub BaseGenerateAppCompatData # @ stub BaseGenerateAppCompatData
...@@ -488,7 +488,7 @@ ...@@ -488,7 +488,7 @@
# @ stub FindFirstFileTransactedW # @ stub FindFirstFileTransactedW
@ stdcall -import FindFirstFileW(wstr ptr) @ stdcall -import FindFirstFileW(wstr ptr)
# @ stub FindFirstStreamTransactedW # @ stub FindFirstStreamTransactedW
@ stdcall FindFirstStreamW(wstr long ptr long) @ stdcall -import FindFirstStreamW(wstr long ptr long)
@ stdcall FindFirstVolumeA(ptr long) @ stdcall FindFirstVolumeA(ptr long)
@ stdcall FindFirstVolumeMountPointA(str ptr long) @ stdcall FindFirstVolumeMountPointA(str ptr long)
@ stdcall FindFirstVolumeMountPointW(wstr ptr long) @ stdcall FindFirstVolumeMountPointW(wstr ptr long)
...@@ -497,7 +497,7 @@ ...@@ -497,7 +497,7 @@
@ stdcall -import FindNextFileA(long ptr) @ stdcall -import FindNextFileA(long ptr)
# @ stub FindNextFileNameW # @ stub FindNextFileNameW
@ stdcall -import FindNextFileW(long ptr) @ stdcall -import FindNextFileW(long ptr)
@ stdcall FindNextStreamW(long ptr) @ stdcall -import FindNextStreamW(long ptr)
@ stdcall FindNextVolumeA(long ptr long) @ stdcall FindNextVolumeA(long ptr long)
@ stub FindNextVolumeMountPointA @ stub FindNextVolumeMountPointA
@ stub FindNextVolumeMountPointW @ stub FindNextVolumeMountPointW
...@@ -541,7 +541,7 @@ ...@@ -541,7 +541,7 @@
@ stdcall GetActiveProcessorCount(long) @ stdcall GetActiveProcessorCount(long)
@ stdcall GetActiveProcessorGroupCount() @ stdcall GetActiveProcessorGroupCount()
# @ stub GetApplicationRecoveryCallback # @ stub GetApplicationRecoveryCallback
@ stdcall GetApplicationRestartSettings(long ptr ptr ptr) @ stdcall -import GetApplicationRestartSettings(long ptr ptr ptr)
@ stdcall GetAtomNameA(long ptr long) @ stdcall GetAtomNameA(long ptr long)
@ stdcall GetAtomNameW(long ptr long) @ stdcall GetAtomNameW(long ptr long)
@ stdcall GetBinaryType(str ptr) GetBinaryTypeA @ stdcall GetBinaryType(str ptr) GetBinaryTypeA
...@@ -626,9 +626,9 @@ ...@@ -626,9 +626,9 @@
@ stdcall GetCurrentConsoleFontEx(long long ptr) @ stdcall GetCurrentConsoleFontEx(long long ptr)
@ stdcall -import GetCurrentDirectoryA(long ptr) @ stdcall -import GetCurrentDirectoryA(long ptr)
@ stdcall -import GetCurrentDirectoryW(long ptr) @ stdcall -import GetCurrentDirectoryW(long ptr)
@ stdcall GetCurrentPackageFamilyName(ptr ptr) @ stdcall GetCurrentPackageFamilyName(ptr ptr) kernelbase.GetCurrentPackageFamilyName
@ stdcall GetCurrentPackageFullName(ptr ptr) @ stdcall GetCurrentPackageFullName(ptr ptr) kernelbase.GetCurrentPackageFullName
@ stdcall GetCurrentPackageId(ptr ptr) @ stdcall GetCurrentPackageId(ptr ptr) kernelbase.GetCurrentPackageId
@ stdcall -norelay GetCurrentProcess() KERNEL32_GetCurrentProcess @ stdcall -norelay GetCurrentProcess() KERNEL32_GetCurrentProcess
@ stdcall -norelay GetCurrentProcessId() KERNEL32_GetCurrentProcessId @ stdcall -norelay GetCurrentProcessId() KERNEL32_GetCurrentProcessId
@ stdcall GetCurrentProcessorNumber() ntdll.NtGetCurrentProcessorNumber @ stdcall GetCurrentProcessorNumber() ntdll.NtGetCurrentProcessorNumber
...@@ -678,8 +678,8 @@ ...@@ -678,8 +678,8 @@
# @ stub GetFileBandwidthReservation # @ stub GetFileBandwidthReservation
@ stdcall -import GetFileInformationByHandle(long ptr) @ stdcall -import GetFileInformationByHandle(long ptr)
@ stdcall -import GetFileInformationByHandleEx(long long ptr long) @ stdcall -import GetFileInformationByHandleEx(long long ptr long)
@ stdcall GetFileMUIInfo(long wstr ptr ptr) @ stdcall -import GetFileMUIInfo(long wstr ptr ptr)
@ stdcall GetFileMUIPath(long wstr wstr ptr ptr ptr ptr) @ stdcall -import GetFileMUIPath(long wstr wstr ptr ptr ptr ptr)
@ stdcall -import GetFileSize(long ptr) @ stdcall -import GetFileSize(long ptr)
@ stdcall -import GetFileSizeEx(long ptr) @ stdcall -import GetFileSizeEx(long ptr)
@ stdcall -import GetFileTime(long ptr ptr ptr) @ stdcall -import GetFileTime(long ptr ptr ptr)
...@@ -762,7 +762,7 @@ ...@@ -762,7 +762,7 @@
@ stdcall -import GetOverlappedResult(long ptr ptr long) @ stdcall -import GetOverlappedResult(long ptr ptr long)
@ stdcall -import GetOverlappedResultEx(long ptr ptr long long) @ stdcall -import GetOverlappedResultEx(long ptr ptr long long)
@ stdcall GetUserPreferredUILanguages(long ptr ptr ptr) @ stdcall GetUserPreferredUILanguages(long ptr ptr ptr)
@ stdcall GetPackageFullName(long ptr ptr) @ stdcall GetPackageFullName(long ptr ptr) kernelbase.GetPackageFullName
@ stdcall -import GetPhysicallyInstalledSystemMemory(ptr) @ stdcall -import GetPhysicallyInstalledSystemMemory(ptr)
@ stdcall -import GetPriorityClass(long) @ stdcall -import GetPriorityClass(long)
@ stdcall GetPrivateProfileIntA(str str long str) @ stdcall GetPrivateProfileIntA(str str long str)
...@@ -1156,7 +1156,7 @@ ...@@ -1156,7 +1156,7 @@
@ stdcall Process32FirstW (ptr ptr) @ stdcall Process32FirstW (ptr ptr)
@ stdcall Process32Next (ptr ptr) @ stdcall Process32Next (ptr ptr)
@ stdcall Process32NextW (ptr ptr) @ stdcall Process32NextW (ptr ptr)
@ stdcall ProcessIdToSessionId(long ptr) @ stdcall -import ProcessIdToSessionId(long ptr)
@ stdcall -import PulseEvent(long) @ stdcall -import PulseEvent(long)
@ stdcall -import PurgeComm(long long) @ stdcall -import PurgeComm(long long)
@ stdcall -i386 -private -norelay QT_Thunk() krnl386.exe16.QT_Thunk @ stdcall -i386 -private -norelay QT_Thunk() krnl386.exe16.QT_Thunk
...@@ -1176,8 +1176,8 @@ ...@@ -1176,8 +1176,8 @@
@ stdcall -import QueryPerformanceCounter(ptr) @ stdcall -import QueryPerformanceCounter(ptr)
@ stdcall -import QueryPerformanceFrequency(ptr) @ stdcall -import QueryPerformanceFrequency(ptr)
# @ stub QueryProcessAffinityUpdateMode # @ stub QueryProcessAffinityUpdateMode
@ stdcall QueryProcessCycleTime(long ptr) @ stdcall -import QueryProcessCycleTime(long ptr)
@ stdcall QueryThreadCycleTime(long ptr) @ stdcall -import QueryThreadCycleTime(long ptr)
# @ stub QueryThreadProfiling # @ stub QueryThreadProfiling
@ stdcall -import QueryThreadpoolStackInformation(ptr ptr) @ stdcall -import QueryThreadpoolStackInformation(ptr ptr)
@ stdcall -arch=x86_64 QueryUmsThreadInformation(ptr long ptr long ptr) @ stdcall -arch=x86_64 QueryUmsThreadInformation(ptr long ptr long ptr)
......
...@@ -534,31 +534,3 @@ INT WINAPI GetGeoInfoA(GEOID geoid, GEOTYPE geotype, LPSTR data, int data_len, L ...@@ -534,31 +534,3 @@ INT WINAPI GetGeoInfoA(GEOID geoid, GEOTYPE geotype, LPSTR data, int data_len, L
SetLastError(ERROR_INSUFFICIENT_BUFFER); SetLastError(ERROR_INSUFFICIENT_BUFFER);
return data_len < len ? 0 : len; return data_len < len ? 0 : len;
} }
/******************************************************************************
* GetFileMUIPath (KERNEL32.@)
*/
BOOL WINAPI GetFileMUIPath(DWORD flags, PCWSTR filepath, PWSTR language, PULONG languagelen,
PWSTR muipath, PULONG muipathlen, PULONGLONG enumerator)
{
FIXME("stub: 0x%x, %s, %s, %p, %p, %p, %p\n", flags, debugstr_w(filepath),
debugstr_w(language), languagelen, muipath, muipathlen, enumerator);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/******************************************************************************
* GetFileMUIInfo (KERNEL32.@)
*/
BOOL WINAPI GetFileMUIInfo(DWORD flags, PCWSTR path, FILEMUIINFO *info, DWORD *size)
{
FIXME("stub: %u, %s, %p, %p\n", flags, debugstr_w(path), info, size);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
...@@ -760,20 +760,6 @@ BOOL WINAPI K32GetProcessMemoryInfo(HANDLE process, ...@@ -760,20 +760,6 @@ BOOL WINAPI K32GetProcessMemoryInfo(HANDLE process,
} }
/*********************************************************************** /***********************************************************************
* ProcessIdToSessionId (KERNEL32.@)
* This function is available on Terminal Server 4SP4 and Windows 2000
*/
BOOL WINAPI ProcessIdToSessionId( DWORD procid, DWORD *sessionid_ptr )
{
if (procid != GetCurrentProcessId())
FIXME("Unsupported for other processes.\n");
*sessionid_ptr = NtCurrentTeb()->Peb->SessionId;
return TRUE;
}
/***********************************************************************
* RegisterServiceProcess (KERNEL32.@) * RegisterServiceProcess (KERNEL32.@)
* *
* A service process calls this function to ensure that it continues to run * A service process calls this function to ensure that it continues to run
...@@ -888,15 +874,6 @@ HRESULT WINAPI RegisterApplicationRecoveryCallback(APPLICATION_RECOVERY_CALLBACK ...@@ -888,15 +874,6 @@ HRESULT WINAPI RegisterApplicationRecoveryCallback(APPLICATION_RECOVERY_CALLBACK
return S_OK; return S_OK;
} }
/***********************************************************************
* GetApplicationRestartSettings (KERNEL32.@)
*/
HRESULT WINAPI GetApplicationRestartSettings(HANDLE process, WCHAR *cmdline, DWORD *size, DWORD *flags)
{
FIXME("%p, %p, %p, %p)\n", process, cmdline, size, flags);
return E_NOTIMPL;
}
/********************************************************************** /**********************************************************************
* GetNumaNodeProcessorMask (KERNEL32.@) * GetNumaNodeProcessorMask (KERNEL32.@)
*/ */
...@@ -1133,13 +1110,3 @@ BOOL WINAPI UmsThreadYield(void *param) ...@@ -1133,13 +1110,3 @@ BOOL WINAPI UmsThreadYield(void *param)
SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE; return FALSE;
} }
/**********************************************************************
* BaseFlushAppcompatCache (KERNEL32.@)
*/
BOOL WINAPI BaseFlushAppcompatCache(void)
{
FIXME(": stub\n");
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
...@@ -389,30 +389,6 @@ BOOL WINAPI GetSystemTimes(LPFILETIME lpIdleTime, LPFILETIME lpKernelTime, LPFIL ...@@ -389,30 +389,6 @@ BOOL WINAPI GetSystemTimes(LPFILETIME lpIdleTime, LPFILETIME lpKernelTime, LPFIL
return TRUE; return TRUE;
} }
/***********************************************************************
* QueryProcessCycleTime (KERNEL32.@)
*/
BOOL WINAPI QueryProcessCycleTime(HANDLE process, PULONG64 cycle)
{
static int once;
if (!once++)
FIXME("(%p,%p): stub!\n", process, cycle);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* QueryThreadCycleTime (KERNEL32.@)
*/
BOOL WINAPI QueryThreadCycleTime(HANDLE thread, PULONG64 cycle)
{
static int once;
if (!once++)
FIXME("(%p,%p): stub!\n", thread, cycle);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/****************************************************************************** /******************************************************************************
* GetTickCount64 (KERNEL32.@) * GetTickCount64 (KERNEL32.@)
*/ */
......
...@@ -238,39 +238,3 @@ DWORD WINAPI SetTermsrvAppInstallMode(BOOL bInstallMode) ...@@ -238,39 +238,3 @@ DWORD WINAPI SetTermsrvAppInstallMode(BOOL bInstallMode)
FIXME("(%d): stub\n", bInstallMode); FIXME("(%d): stub\n", bInstallMode);
return 0; return 0;
} }
/***********************************************************************
* GetCurrentPackageId (KERNEL32.@)
*/
LONG WINAPI GetCurrentPackageId(UINT32 *len, BYTE *buffer)
{
FIXME("(%p %p): stub\n", len, buffer);
return APPMODEL_ERROR_NO_PACKAGE;
}
/***********************************************************************
* GetCurrentPackageFamilyName (KERNEL32.@)
*/
LONG WINAPI GetCurrentPackageFamilyName(UINT32 *length, PWSTR name)
{
FIXME("(%p %p): stub\n", length, name);
return APPMODEL_ERROR_NO_PACKAGE;
}
/***********************************************************************
* GetCurrentPackageFullName (KERNEL32.@)
*/
LONG WINAPI GetCurrentPackageFullName(UINT32 *length, PWSTR name)
{
FIXME("(%p %p): stub\n", length, name);
return APPMODEL_ERROR_NO_PACKAGE;
}
/***********************************************************************
* GetPackageFullName (KERNEL32.@)
*/
LONG WINAPI GetPackageFullName(HANDLE process, UINT32 *length, PWSTR name)
{
FIXME("(%p %p %p): stub\n", process, length, name);
return APPMODEL_ERROR_NO_PACKAGE;
}
...@@ -1302,6 +1302,17 @@ HANDLE WINAPI DECLSPEC_HOTPATCH FindFirstFileW( const WCHAR *filename, WIN32_FIN ...@@ -1302,6 +1302,17 @@ HANDLE WINAPI DECLSPEC_HOTPATCH FindFirstFileW( const WCHAR *filename, WIN32_FIN
} }
/**************************************************************************
* FindFirstStreamW (kernelbase.@)
*/
HANDLE WINAPI FindFirstStreamW( const WCHAR *filename, STREAM_INFO_LEVELS level, void *data, DWORD flags )
{
FIXME("(%s, %d, %p, %x): stub!\n", debugstr_w(filename), level, data, flags);
SetLastError( ERROR_HANDLE_EOF );
return INVALID_HANDLE_VALUE;
}
/****************************************************************************** /******************************************************************************
* FindNextFileA (kernelbase.@) * FindNextFileA (kernelbase.@)
*/ */
...@@ -1414,6 +1425,17 @@ BOOL WINAPI DECLSPEC_HOTPATCH FindNextFileW( HANDLE handle, WIN32_FIND_DATAW *da ...@@ -1414,6 +1425,17 @@ BOOL WINAPI DECLSPEC_HOTPATCH FindNextFileW( HANDLE handle, WIN32_FIND_DATAW *da
} }
/**************************************************************************
* FindNextStreamW (kernelbase.@)
*/
BOOL WINAPI FindNextStreamW( HANDLE handle, void *data )
{
FIXME( "(%p, %p): stub!\n", handle, data );
SetLastError( ERROR_HANDLE_EOF );
return FALSE;
}
/****************************************************************************** /******************************************************************************
* FindClose (kernelbase.@) * FindClose (kernelbase.@)
*/ */
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
@ stub BaseDllFreeResourceId @ stub BaseDllFreeResourceId
@ stub BaseDllMapResourceIdW @ stub BaseDllMapResourceIdW
@ stub BaseDumpAppcompatCache @ stub BaseDumpAppcompatCache
@ stdcall BaseFlushAppcompatCache() kernel32.BaseFlushAppcompatCache @ stdcall BaseFlushAppcompatCache()
# @ stub BaseFormatObjectAttributes # @ stub BaseFormatObjectAttributes
# @ stub BaseFreeAppCompatDataForProcess # @ stub BaseFreeAppCompatDataForProcess
@ stdcall BaseGetNamedObjectDirectory(ptr) @ stdcall BaseGetNamedObjectDirectory(ptr)
...@@ -360,7 +360,7 @@ ...@@ -360,7 +360,7 @@
# @ stub FindFirstFileNameW # @ stub FindFirstFileNameW
@ stdcall FindFirstFileW(wstr ptr) @ stdcall FindFirstFileW(wstr ptr)
@ stdcall FindFirstFreeAce(ptr ptr) @ stdcall FindFirstFreeAce(ptr ptr)
@ stdcall FindFirstStreamW(wstr long ptr long) kernel32.FindFirstStreamW @ stdcall FindFirstStreamW(wstr long ptr long)
@ stdcall FindFirstVolumeW(ptr long) @ stdcall FindFirstVolumeW(ptr long)
@ stdcall FindNLSString(long long wstr long wstr long ptr) @ stdcall FindNLSString(long long wstr long wstr long ptr)
@ stdcall FindNLSStringEx(wstr long wstr long wstr long ptr ptr ptr long) @ stdcall FindNLSStringEx(wstr long wstr long wstr long ptr ptr ptr long)
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
@ stdcall FindNextFileA(long ptr) @ stdcall FindNextFileA(long ptr)
# @ stub FindNextFileNameW # @ stub FindNextFileNameW
@ stdcall FindNextFileW(long ptr) @ stdcall FindNextFileW(long ptr)
@ stdcall FindNextStreamW(long ptr) kernel32.FindNextStreamW @ stdcall FindNextStreamW(long ptr)
@ stdcall FindNextVolumeW(long ptr long) @ stdcall FindNextVolumeW(long ptr long)
# @ stub FindPackagesByPackageFamily # @ stub FindPackagesByPackageFamily
@ stdcall FindResourceExW(long wstr wstr long) @ stdcall FindResourceExW(long wstr wstr long)
...@@ -414,7 +414,7 @@ ...@@ -414,7 +414,7 @@
# @ stub GetAppDataFolder # @ stub GetAppDataFolder
# @ stub GetAppModelVersion # @ stub GetAppModelVersion
# @ stub GetApplicationRecoveryCallback # @ stub GetApplicationRecoveryCallback
@ stdcall GetApplicationRestartSettings(long ptr ptr ptr) kernel32.GetApplicationRestartSettings @ stdcall GetApplicationRestartSettings(long ptr ptr ptr)
# @ stub GetApplicationUserModelId # @ stub GetApplicationUserModelId
# @ stub GetApplicationUserModelIdFromToken # @ stub GetApplicationUserModelIdFromToken
# @ stub GetAppliedGPOListInternalA # @ stub GetAppliedGPOListInternalA
...@@ -457,9 +457,9 @@ ...@@ -457,9 +457,9 @@
# @ stub GetCurrentPackageApplicationContext # @ stub GetCurrentPackageApplicationContext
# @ stub GetCurrentPackageApplicationResourcesContext # @ stub GetCurrentPackageApplicationResourcesContext
# @ stub GetCurrentPackageContext # @ stub GetCurrentPackageContext
@ stdcall GetCurrentPackageFamilyName(ptr ptr) kernel32.GetCurrentPackageFamilyName @ stdcall GetCurrentPackageFamilyName(ptr ptr)
@ stdcall GetCurrentPackageFullName(ptr ptr) kernel32.GetCurrentPackageFullName @ stdcall GetCurrentPackageFullName(ptr ptr)
@ stdcall GetCurrentPackageId(ptr ptr) kernel32.GetCurrentPackageId @ stdcall GetCurrentPackageId(ptr ptr)
# @ stub GetCurrentPackageInfo # @ stub GetCurrentPackageInfo
# @ stub GetCurrentPackagePath # @ stub GetCurrentPackagePath
# @ stub GetCurrentPackageResourcesContext # @ stub GetCurrentPackageResourcesContext
...@@ -508,8 +508,8 @@ ...@@ -508,8 +508,8 @@
@ stdcall GetFileAttributesW(wstr) @ stdcall GetFileAttributesW(wstr)
@ stdcall GetFileInformationByHandle(long ptr) @ stdcall GetFileInformationByHandle(long ptr)
@ stdcall GetFileInformationByHandleEx(long long ptr long) @ stdcall GetFileInformationByHandleEx(long long ptr long)
@ stdcall GetFileMUIInfo(long wstr ptr ptr) kernel32.GetFileMUIInfo @ stdcall GetFileMUIInfo(long wstr ptr ptr)
@ stdcall GetFileMUIPath(long wstr wstr ptr ptr ptr ptr) kernel32.GetFileMUIPath @ stdcall GetFileMUIPath(long wstr wstr ptr ptr ptr ptr)
@ stdcall GetFileSecurityW(wstr long ptr long ptr) @ stdcall GetFileSecurityW(wstr long ptr long ptr)
@ stdcall GetFileSize(long ptr) @ stdcall GetFileSize(long ptr)
@ stdcall GetFileSizeEx(long ptr) @ stdcall GetFileSizeEx(long ptr)
...@@ -593,7 +593,7 @@ ...@@ -593,7 +593,7 @@
# @ stub GetPackageContext # @ stub GetPackageContext
# @ stub GetPackageFamilyName # @ stub GetPackageFamilyName
# @ stub GetPackageFamilyNameFromToken # @ stub GetPackageFamilyNameFromToken
@ stdcall GetPackageFullName(long ptr ptr) kernel32.GetPackageFullName @ stdcall GetPackageFullName(long ptr ptr)
# @ stub GetPackageFullNameFromToken # @ stub GetPackageFullNameFromToken
# @ stub GetPackageId # @ stub GetPackageId
# @ stub GetPackageInfo # @ stub GetPackageInfo
...@@ -1164,7 +1164,7 @@ ...@@ -1164,7 +1164,7 @@
@ stub PrivCopyFileExW @ stub PrivCopyFileExW
@ stdcall PrivilegeCheck(ptr ptr ptr) @ stdcall PrivilegeCheck(ptr ptr ptr)
@ stdcall PrivilegedServiceAuditAlarmW(wstr wstr long ptr long) @ stdcall PrivilegedServiceAuditAlarmW(wstr wstr long ptr long)
@ stdcall ProcessIdToSessionId(long ptr) kernel32.ProcessIdToSessionId @ stdcall ProcessIdToSessionId(long ptr)
# @ stub ProductIdFromPackageFamilyName # @ stub ProductIdFromPackageFamilyName
# @ stub PsmCreateKey # @ stub PsmCreateKey
# @ stub PsmCreateKeyWithDynamicId # @ stub PsmCreateKeyWithDynamicId
...@@ -1206,13 +1206,13 @@ ...@@ -1206,13 +1206,13 @@
@ stdcall QueryPerformanceCounter(ptr) ntdll.RtlQueryPerformanceCounter @ stdcall QueryPerformanceCounter(ptr) ntdll.RtlQueryPerformanceCounter
@ stdcall QueryPerformanceFrequency(ptr) ntdll.RtlQueryPerformanceFrequency @ stdcall QueryPerformanceFrequency(ptr) ntdll.RtlQueryPerformanceFrequency
@ stub QueryProcessAffinityUpdateMode @ stub QueryProcessAffinityUpdateMode
@ stdcall QueryProcessCycleTime(long ptr) kernel32.QueryProcessCycleTime @ stdcall QueryProcessCycleTime(long ptr)
# @ stub QueryProtectedPolicy # @ stub QueryProtectedPolicy
@ stub QuerySecurityAccessMask @ stub QuerySecurityAccessMask
# @ stub QueryStateAtomValueInfo # @ stub QueryStateAtomValueInfo
# @ stub QueryStateContainerCreatedNew # @ stub QueryStateContainerCreatedNew
# @ stub QueryStateContainerItemInfo # @ stub QueryStateContainerItemInfo
@ stdcall QueryThreadCycleTime(long ptr) kernel32.QueryThreadCycleTime @ stdcall QueryThreadCycleTime(long ptr)
@ stdcall QueryThreadpoolStackInformation(ptr ptr) @ stdcall QueryThreadpoolStackInformation(ptr ptr)
@ stdcall QueryUnbiasedInterruptTime(ptr) ntdll.RtlQueryUnbiasedInterruptTime @ stdcall QueryUnbiasedInterruptTime(ptr) ntdll.RtlQueryUnbiasedInterruptTime
# @ stub QueryUnbiasedInterruptTimePrecise # @ stub QueryUnbiasedInterruptTimePrecise
......
...@@ -3986,6 +3986,33 @@ done: ...@@ -3986,6 +3986,33 @@ done:
/****************************************************************************** /******************************************************************************
* GetFileMUIInfo (kernelbase.@)
*/
BOOL WINAPI /* DECLSPEC_HOTPATCH */ GetFileMUIInfo( DWORD flags, const WCHAR *path,
FILEMUIINFO *info, DWORD *size )
{
FIXME( "stub: %u, %s, %p, %p\n", flags, debugstr_w(path), info, size );
SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE;
}
/******************************************************************************
* GetFileMUIPath (kernelbase.@)
*/
BOOL WINAPI /* DECLSPEC_HOTPATCH */ GetFileMUIPath( DWORD flags, const WCHAR *filepath,
WCHAR *language, ULONG *languagelen,
WCHAR *muipath, ULONG *muipathlen,
ULONGLONG *enumerator )
{
FIXME( "stub: 0x%x, %s, %s, %p, %p, %p, %p\n", flags, debugstr_w(filepath),
debugstr_w(language), languagelen, muipath, muipathlen, enumerator );
SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE;
}
/******************************************************************************
* GetGeoInfoW (kernelbase.@) * GetGeoInfoW (kernelbase.@)
*/ */
INT WINAPI DECLSPEC_HOTPATCH GetGeoInfoW( GEOID id, GEOTYPE type, WCHAR *data, int count, LANGID lang ) INT WINAPI DECLSPEC_HOTPATCH GetGeoInfoW( GEOID id, GEOTYPE type, WCHAR *data, int count, LANGID lang )
......
...@@ -626,6 +626,17 @@ BOOL WINAPI DECLSPEC_HOTPATCH FlushInstructionCache( HANDLE process, LPCVOID add ...@@ -626,6 +626,17 @@ BOOL WINAPI DECLSPEC_HOTPATCH FlushInstructionCache( HANDLE process, LPCVOID add
/*********************************************************************** /***********************************************************************
* GetApplicationRestartSettings (kernelbase.@)
*/
HRESULT WINAPI /* DECLSPEC_HOTPATCH */ GetApplicationRestartSettings( HANDLE process, WCHAR *cmdline,
DWORD *size, DWORD *flags )
{
FIXME( "%p, %p, %p, %p)\n", process, cmdline, size, flags );
return E_NOTIMPL;
}
/***********************************************************************
* GetCurrentProcess (kernelbase.@) * GetCurrentProcess (kernelbase.@)
*/ */
HANDLE WINAPI kernelbase_GetCurrentProcess(void) HANDLE WINAPI kernelbase_GetCurrentProcess(void)
...@@ -866,6 +877,29 @@ HANDLE WINAPI DECLSPEC_HOTPATCH OpenProcess( DWORD access, BOOL inherit, DWORD i ...@@ -866,6 +877,29 @@ HANDLE WINAPI DECLSPEC_HOTPATCH OpenProcess( DWORD access, BOOL inherit, DWORD i
/*********************************************************************** /***********************************************************************
* ProcessIdToSessionId (kernelbase.@)
*/
BOOL WINAPI DECLSPEC_HOTPATCH ProcessIdToSessionId( DWORD procid, DWORD *sessionid )
{
if (procid != GetCurrentProcessId()) FIXME( "Unsupported for other process %x\n", procid );
*sessionid = NtCurrentTeb()->Peb->SessionId;
return TRUE;
}
/***********************************************************************
* QueryProcessCycleTime (kernelbase.@)
*/
BOOL WINAPI DECLSPEC_HOTPATCH QueryProcessCycleTime( HANDLE process, ULONG64 *cycle )
{
static int once;
if (!once++) FIXME( "(%p,%p): stub!\n", process, cycle );
SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE;
}
/***********************************************************************
* SetErrorMode (kernelbase.@) * SetErrorMode (kernelbase.@)
*/ */
UINT WINAPI DECLSPEC_HOTPATCH SetErrorMode( UINT mode ) UINT WINAPI DECLSPEC_HOTPATCH SetErrorMode( UINT mode )
...@@ -1042,6 +1076,17 @@ void init_startup_info( RTL_USER_PROCESS_PARAMETERS *params ) ...@@ -1042,6 +1076,17 @@ void init_startup_info( RTL_USER_PROCESS_PARAMETERS *params )
} }
/**********************************************************************
* BaseFlushAppcompatCache (kernelbase.@)
*/
BOOL WINAPI BaseFlushAppcompatCache(void)
{
FIXME( "stub\n" );
SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE;
}
/*********************************************************************** /***********************************************************************
* GetCommandLineA (kernelbase.@) * GetCommandLineA (kernelbase.@)
*/ */
......
...@@ -379,6 +379,18 @@ DWORD WINAPI DECLSPEC_HOTPATCH QueueUserAPC( PAPCFUNC func, HANDLE thread, ULONG ...@@ -379,6 +379,18 @@ DWORD WINAPI DECLSPEC_HOTPATCH QueueUserAPC( PAPCFUNC func, HANDLE thread, ULONG
} }
/***********************************************************************
* QueryThreadCycleTime (kernelbase.@)
*/
BOOL WINAPI DECLSPEC_HOTPATCH QueryThreadCycleTime( HANDLE thread, ULONG64 *cycle )
{
static int once;
if (!once++) FIXME( "(%p,%p): stub!\n", thread, cycle );
SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE;
}
/********************************************************************** /**********************************************************************
* ResumeThread (kernelbase.@) * ResumeThread (kernelbase.@)
*/ */
......
...@@ -1504,3 +1504,43 @@ BOOL WINAPI GetVersionExW( OSVERSIONINFOW *info ) ...@@ -1504,3 +1504,43 @@ BOOL WINAPI GetVersionExW( OSVERSIONINFOW *info )
} }
return TRUE; return TRUE;
} }
/***********************************************************************
* GetCurrentPackageFamilyName (kernelbase.@)
*/
LONG WINAPI /* DECLSPEC_HOTPATCH */ GetCurrentPackageFamilyName( UINT32 *length, WCHAR *name )
{
FIXME( "(%p %p): stub\n", length, name );
return APPMODEL_ERROR_NO_PACKAGE;
}
/***********************************************************************
* GetCurrentPackageFullName (kernelbase.@)
*/
LONG WINAPI /* DECLSPEC_HOTPATCH */ GetCurrentPackageFullName( UINT32 *length, WCHAR *name )
{
FIXME( "(%p %p): stub\n", length, name );
return APPMODEL_ERROR_NO_PACKAGE;
}
/***********************************************************************
* GetCurrentPackageId (kernelbase.@)
*/
LONG WINAPI /* DECLSPEC_HOTPATCH */ GetCurrentPackageId( UINT32 *len, BYTE *buffer )
{
FIXME( "(%p %p): stub\n", len, buffer );
return APPMODEL_ERROR_NO_PACKAGE;
}
/***********************************************************************
* GetPackageFullName (kernelbase.@)
*/
LONG WINAPI /* DECLSPEC_HOTPATCH */ GetPackageFullName( HANDLE process, UINT32 *length, WCHAR *name )
{
FIXME( "(%p %p %p): stub\n", process, length, name );
return APPMODEL_ERROR_NO_PACKAGE;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment