RpcExceptionCode macro
The RpcExceptionCode function retrieves a code that identifies the type of exception that occurred.
Syntax
unsigned long RpcExceptionCode(void);
Parameters
This macro has no parameters.
Return value
Possible return values include the set of error codes returned by the RPC functions with the prefixes "RPC_S_" and "RPC_X" and the set of exceptions returned by the Windows operating system.
Remarks
The RpcExceptionCode function can only be called from within the expression and exception statements of an RpcTryExcept exception handler.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
See also