FindPackagesByPackageFamily function Null safety kernel32

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

Finds the packages with the specified family name for the current user.

LONG FindPackagesByPackageFamily(
  PCWSTR packageFamilyName,
  UINT32 packageFilters,
  UINT32 *count,
  PWSTR  *packageFullNames,
  UINT32 *bufferLength,
  WCHAR  *buffer,
  UINT32 *packageProperties
);

Implementation

int FindPackagesByPackageFamily(
        Pointer<Utf16> packageFamilyName,
        int packageFilters,
        Pointer<Uint32> count,
        Pointer<Pointer<Utf16>> packageFullNames,
        Pointer<Uint32> bufferLength,
        Pointer<Utf16> buffer,
        Pointer<Uint32> packageProperties) =>
    _FindPackagesByPackageFamily(packageFamilyName, packageFilters, count,
        packageFullNames, bufferLength, buffer, packageProperties);