RoIsApiContractMajorVersionPresent function winrt

int RoIsApiContractMajorVersionPresent(
  1. Pointer<Utf16> name,
  2. int majorVersion,
  3. Pointer<BOOL> present
)

Returns true or false to indicate whether the API contract with the specified name and major version number is present.

HRESULT RoIsApiContractMajorVersionPresent(
  PCWSTR name,
  UINT16 majorVersion,
  BOOL   *present
);

Implementation

int RoIsApiContractMajorVersionPresent(
        Pointer<Utf16> name, int majorVersion, Pointer<BOOL> present) =>
    _RoIsApiContractMajorVersionPresent(name, majorVersion, present);