Export (0) Print
Expand All
Expand Minimize

RpcErrorLoadErrorInfo function

The RpcErrorLoadErrorInfo function converts a BLOB obtained by a call to RpcErrorSaveErrorInfo into extended error information.

Syntax


RPC_STATUS  RPC_ENTRY RpcErrorLoadErrorInfo(
  _In_   PVOID ErrorBlob,
  _In_   size_t BlobSize,
  _Out_  RPC_ERROR_ENUM_HANDLE *EnumHandle
);

Parameters

ErrorBlob [in]

Pointer to the BLOB containing the error information.

BlobSize [in]

Size of ErrorBlob, in bytes.

EnumHandle [out]

Pointer to the enumeration handle associated with the extended error information.

Return value

Successful completion returns RPC_S_OK. The RpcErrorLoadInfo function call can fail if not enough memory is available.

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

Remarks

The BLOB pointed to in ErrorBlob remains the responsibility of the caller. The resulting enumeration is ready for enumeration. EnumHandle is subject to the same requirements of the EnumHandle parameter for RpcErrorStartEnumeration. Once enumeration is completed, resources allocated by the enumeration should be freed using the RpcErrorEndEnumeration function.

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
RpcErrorSaveErrorInfo
RPC_ERROR_ENUM_HANDLE
RpcErrorStartEnumeration
RpcErrorEndEnumeration

 

 

Community Additions

ADD
Show:
© 2014 Microsoft