INtime SDK Help
ntxGetRtErrorName
INtime SDK v6 > About INtime > INtime Kernel > Status > ntxGetRtErrorName

Returns a pointer to a constant string. This string contains the name of the status code passed (for example, "E_TIME") or "undefined status code" if the status code passed is not defined in NTX.H.

CONST char* ntxGetRtErrorName(
    NTXSTATUS Status
);

CONST wchar_t* ntxGetRtErrorNameW(
    NTXSTATUS status
);

Parameters

Status
A status code from an NTX call.

Return Values

A pointer to the error name.
Success.
NTX_BAD_NTXSTATUS
Failure.

Remarks

There is limited UNICODE support for some NTX calls. By defining the macro _UNICODE_NTX_MINI_ the standard calls are mapped to their wide-character equivalents.

Status

NTX_BAD_NTXSTATUS
An undefined status code or, if status is either not recognized or has a value of -1, a pointer to the string, undefined status code.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/nt/include/ntx.h ntx.h ntx.lib
INtime 4.01 (for 64-bit Windows) intime/nt/include/ntx.h ntx.h ntx64.lib
   
See Also