FindPackagesByPackageFamily function kernel32

WIN32_ERROR FindPackagesByPackageFamily(
  1. PCWSTR packageFamilyName,
  2. int packageFilters,
  3. Pointer<Uint32> count,
  4. Pointer<Pointer<Utf16>>? packageFullNames,
  5. Pointer<Uint32> bufferLength,
  6. PWSTR? buffer,
  7. Pointer<Uint32>? packageProperties,
)

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,
  ),
);