Export (0) Print
Expand All
Expand Minimize

RpcErrorEndEnumeration function

The RpcErrorEndEnumeration function ends enumeration of extended error information and frees all resources allocated by RPC for the enumeration.

Syntax


RPC_STATUS  RPC_ENTRY RpcErrorEndEnumeration(
  IN OUT RPC_ERROR_ENUM_HANDLE *EnumHandle
);

Parameters

EnumHandle

Pointer to the enumeration handle.

Return value

Successful completion returns RPC_S_OK. The RpcErrorEndEnumeration function call cannot fail unless its parameters are invalid.

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

Remarks

The RpcErrorEndEnumeration function zeros out the enumeration handle to prevent further usage. If the CopyStrings option was not used during a previous call to the RpcErrorGetNextRecord function, all non-empty ComputerName fields and AnsiString or UnicodeString values are invalid after this function is called.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Rpcasync.h (include Rpc.h)

Library

Rpcrt4.lib

DLL

Rpcrt4.dll

See also

Obtaining Extended RPC Error Information
RPC_ERROR_ENUM_HANDLE
RpcErrorStartEnumeration
RpcErrorGetNextRecord

 

 

Community Additions

ADD
Show:
© 2014 Microsoft