FindPackagesByPackageFamily function kernel32
Finds the packages with the specified family name for the current user.
To learn more, see learn.microsoft.com/windows/win32/api/appmodel/nf-appmodel-findpackagesbypackagefamily.
Implementation
@pragma('vm:prefer-inline')
WIN32_ERROR FindPackagesByPackageFamily(
PCWSTR packageFamilyName,
int packageFilters,
Pointer<Uint32> count,
Pointer<Pointer<Utf16>>? packageFullNames,
Pointer<Uint32> bufferLength,
PWSTR? buffer,
Pointer<Uint32>? packageProperties,
) => WIN32_ERROR(
_FindPackagesByPackageFamily(
packageFamilyName,
packageFilters,
count,
packageFullNames ?? nullptr,
bufferLength,
buffer ?? nullptr,
packageProperties ?? nullptr,
),
);