Expand Minimize

RpcErrorGetNumberOfRecords function

The RpcErrorGetNumberOfRecords function returns the number of records in the extended error information.

Syntax


RPC_STATUS  RPC_ENTRY RpcErrorGetNumberOfRecords(
  _In_   RPC_ERROR_ENUM_HANDLE *EnumHandle,
  _Out_  int *Records
);

Parameters

EnumHandle [in]

Pointer to the enumeration handle.

Records [out]

Number of records for the extended error information.

Return value

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

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

Remarks

The RpcErrorGetNumberOfRecords function returns the total number of records in the extended error information, not the number of records from the current cursor location.

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft