The DceErrorInqText function returns the message text for a status code.
This function is supported by both 32-bit platforms — Windows NT and Windows 95. Note that it is supported in ANSI only on Windows 95.
#include <rpc.h>
RPC_STATUS RPC_ENTRY DceErrorInqText(
unsigned long StatusToConvert,
unsigned char * ErrorText
);
Value | Meaning |
---|---|
RPC_S_OK | Operation completed successfully |
RPC_S_INVALID_ARG | Unknown error code |
The DceErrorInqText routine returns a null-terminated character string message for a particular status code. If the call is not successful, DceErrorInqText returns a message as well as a failure code in Status.
Windows NT: Yes
Windows CE: Unsupported.
Header: Declared in rpcdce.h.
Import Library: Link with rpcrt4.lib.