INtime SDK Help
ntxLoadRtErrorString
INtime SDK v7.1 > About INtime > INtime Kernel > Status > ntxLoadRtErrorString

Copies a short sentence (no punctuation) that describes "Status" into the buffer at lpBuffe. If UNICODE is defined, the lpBuffer is an LPWSTR which contains the sentence in UNICODE.

int ntxLoadRtErrorString(
    NTXSTATUS Status,
    LPSTR lpBuffer,
    int nBufferMax
);

Parameters

Status
The status code from an NTX call.
lpBuffer
A buffer to return the status description in.
nBufferMax
The length of the buffer.

Return Values

The length of the string
Success.
0
Failure - the buffer was too small.

Status

E_NTX_INTERNAL_ERROR 0x1001
The DLL could not contact the RT kernel to complete the request.

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

System & Status