Export (0) Print
Expand All
Expand Minimize

DceErrorInqText function

The DceErrorInqText function returns the message text for a status code.

Syntax


RPC_STATUS RPC_ENTRY DceErrorInqText(
  unsigned long StatusToConvert,
  unsigned char *ErrorText
);

Parameters

StatusToConvert

Status code to convert to a text string.

ErrorText

Returns the text corresponding to the error code.

ValueMeaning
RPC_S_OK

The call succeeded.

RPC_S_INVALID_ARG

Unknown error code.

 

Return value

This function returns RPC_S_OK if it is successful, or an error code if not.

Note  For a list of valid error codes, see RPC Return Values.

Remarks

The DceErrorInqText routine fills the string pointed to by the ErrorText parameter with a null-terminated character string message for a particular status code.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Rpcdce.h (include Rpc.h)

Library

Rpcrt4.lib

DLL

Rpcrt4.dll

Unicode and ANSI names

DceErrorInqTextW (Unicode) and DceErrorInqTextA (ANSI)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft