A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/windows/win32/api/rpcasync/nf-rpcasync-rpcerrorgetnextrecord below:

RpcErrorGetNextRecord function (rpcasync.h) - Win32 apps

The RpcErrorGetNextRecord function retrieves the next extended error information record for an enumeration handle.

Syntax
RPC_STATUS RpcErrorGetNextRecord(
  [in]  RPC_ERROR_ENUM_HANDLE   *EnumHandle,
  [in]  BOOL                    CopyStrings,
  [out] RPC_EXTENDED_ERROR_INFO *ErrorInfo
);
Parameters

[in] EnumHandle

Pointer to the enumeration handle, in the form of an RPC_ERROR_ENUM_HANDLE structure. The structure must be allocated by the caller, and cannot be freed until the operation is complete. All members are ignored on input.

[in] CopyStrings

Specifies whether the string fields in ErrorInfo are copied to the default system heap, at which point ownership of those buffers is transferred to the caller.

TRUE indicates the strings are to be copied to the system heap.

FALSE indicates the strings in ErrorInfo point to internal RPC data structures; the caller cannot free or write to them, and they become invalid once the RpcErrorEndEnumeration function is called.

[out] ErrorInfo

Pointer to an RPC_EXTENDED_ERROR_INFO structure. See Remarks.

Return value

If CopyStrings is false the function call cannot fail unless its parameters are invalid. When the last extended error record is retrieved, RpcErrorGetNextRecord returns RPC_S_OK. Any subsequent calls return RPC_S_ENTRY_NOT_FOUND.

Upon any error, the enumeration position is not advanced.

Upon input, the following fields must be set in ErrorInfo:

Other fields of

ErrorInfo

are ignored on input.

Upon output, the fields in ErrorInfo are filled as follows:

Requirements Requirement Value Minimum supported client Windows XP [desktop apps | UWP apps] Minimum supported server Windows Server 2003 [desktop apps | UWP apps] Target Platform Windows Header rpcasync.h (include Rpc.h) Library Rpcrt4.lib DLL Rpcrt4.dll See also

Obtaining Extended RPC Error Information

RPC_EE_INFO_PARAM

RPC_ERROR_ENUM_HANDLE

RPC_EXTENDED_ERROR_INFO

RpcErrorEndEnumeration

RpcErrorStartEnumeration


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4