RtkGetRuntimeVersionEx
RtkGetRuntimeVersionEx retrieves the Runtime version of the installed wRTOS product.
Syntax
NTSTATUS RtkGetRuntimeVersionEx(
[out] PRT_VERSION_INFO versionInfo
);
Parameters
[out] versionInfo
A pointer to the PRT_VERSION_INFO structure that the API fills in. The caller must allocate this, or the API returns STATUS_INVALID_PARAMETER.
Return Value
If the function succeeds, it returns STATUS_SUCCESS. If the function fails, it returns a different error code.
Possible error codes:
| Error code | Description |
|---|---|
|
STATUS_SUCCESS |
The call has succeeded. |
|
STATUS_INVALID_PARAMETER |
Parameter versionInfo is invalid |
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtkApi.h |
RtkApi_W64.lib |