DceErrorInqText  1AMK691

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

 

   );

 

 

Parameters

StatusToConvert

Specifies the status code to convert to a text string.

ErrorText

Returns the text corresponding to the error code.

Value

Meaning

RPC_S_OK

Operation completed successfully

RPC_S_INVALID_ARG

Unknown error code

 

 

Remarks

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.