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.
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 |
|
|
Library |
|
|
DLL |
|
See also
- Obtaining Extended RPC Error Information
- RPC_ERROR_ENUM_HANDLE
- RpcErrorStartEnumeration
- RpcErrorGetNextRecord