kernelbase: Add GetPackagesByPackageFamily stub.

This commit is contained in:
Etaash Mathamsetty 2023-04-26 15:46:57 -04:00 committed by Alexandre Julliard
parent b2600c8338
commit bd89ab3040
3 changed files with 17 additions and 1 deletions

View file

@ -774,6 +774,7 @@
@ stdcall -import GetUserPreferredUILanguages(long ptr ptr ptr)
@ stdcall GetPackageFamilyName(long ptr ptr) kernelbase.GetPackageFamilyName
@ stdcall GetPackageFullName(long ptr ptr) kernelbase.GetPackageFullName
@ stdcall GetPackagesByPackageFamily(wstr ptr ptr ptr ptr) kernelbase.GetPackagesByPackageFamily
@ stdcall -import GetPhysicallyInstalledSystemMemory(ptr)
@ stdcall -import GetPriorityClass(long)
@ stdcall GetPrivateProfileIntA(str str long str)

View file

@ -643,7 +643,7 @@
# @ stub GetPackageStatusForUser
# @ stub GetPackageTargetPlatformProperty
# @ stub GetPackageVolumeSisPath
# @ stub GetPackagesByPackageFamily
@ stdcall GetPackagesByPackageFamily(wstr ptr ptr ptr ptr)
@ stdcall GetPerformanceInfo(ptr long)
@ stdcall GetPhysicallyInstalledSystemMemory(ptr)
# @ stub GetPreviousFgPolicyRefreshInfoInternal

View file

@ -1604,6 +1604,21 @@ LONG WINAPI /* DECLSPEC_HOTPATCH */ GetPackageFamilyName( HANDLE process, UINT32
return APPMODEL_ERROR_NO_PACKAGE;
}
/***********************************************************************
* GetPackagesByPackageFamily (kernelbase.@)
*/
LONG WINAPI DECLSPEC_HOTPATCH GetPackagesByPackageFamily(const WCHAR *family_name, UINT32 *count,
WCHAR *full_names, UINT32 *buffer_len, WCHAR *buffer)
{
FIXME( "(%s %p %p %p %p): stub\n", debugstr_w(family_name), count, full_names, buffer_len, buffer );
if (!count || !buffer_len)
return ERROR_INVALID_PARAMETER;
*count = 0;
*buffer_len = 0;
return ERROR_SUCCESS;
}
static const struct
{