RoIsApiContractPresent function winrt

int RoIsApiContractPresent(
  1. Pointer<Utf16> name,
  2. int majorVersion,
  3. int minorVersion,
  4. Pointer<Int32> present,
)

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

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

Implementation

int RoIsApiContractPresent(Pointer<Utf16> name, int majorVersion,
        int minorVersion, Pointer<Int32> present) =>
    _RoIsApiContractPresent(name, majorVersion, minorVersion, present);