UID | title | tech.root | ms.date | targetos | description | helpviewer_keywords | req.assembly | req.construct-type | req.ddi-compliance | req.header | req.idl | req.include-header | req.irql | req.kmdf-ver | req.lib | req.dll | req.max-support | req.namespace | req.redist | req.target-min-winverclnt | req.target-min-winversvr | req.target-type | req.type-library | req.umdf-ver | req.unicode-ansi | topic_type | api_type | api_location | api_name | f1_keywords | dev_langs | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:rometadataresolution.RoIsApiContractMajorVersionPresent |
RoIsApiContractMajorVersionPresent (rometadataresolution.h) |
WinRT |
02/13/2020 |
Windows |
Returns true or false to indicate whether the API contract with the specified name and major version number is present. |
|
function |
rometadataresolution.h |
WindowsApp.lib |
WinTypes.dll |
Windows 10 [desktop apps \| UWP apps] |
Windows Server 2019 [desktop apps \| UWP apps] |
Windows |
|
|
|
|
|
Returns true or false to indicate whether the API contract with the specified name and major version number is present.
Type: PCWSTR
The name of the API contract.
Type: UINT16
The major version number of the API contract.
Type: BOOL*
True if the specified API contract is present; otherwise, false.
Type: HRESULT
This function can return one of these values.
Return code | Description |
---|---|
|
The specified API contract is valid and is present. |
|
The input string is not an API contract defined in any examined .winmd file. |
|
The input string is an existing namespace rather than an API contract name. |
This function was introduced in Windows 10, version 1809 (build 17763).