IBidiRequestContainer::AddRequest method

The AddRequest method adds a request to the request list.

Syntax

HRESULT AddRequest(
  IBidiRequest *pRequest
);

Parameters

pRequest

A pointer to the IBidiRequest interface.

Return Value

The method returns one of the following values. For more information about COM error codes, see Error Handling.

Value Description
S_OK
The operation was successfully carried out.
E_HANDLE
The interface handle was invalid.
None of the above
The HRESULT contains an error code corresponding to the last error.

Remarks

This is similar to adding an item in a link list. In this case, IBidiRequestContainer will hold a reference to pRequest by calling pRequest->AddRef.

Requirements

   
Minimum supported client Windows XP
Minimum supported server Windows Server 2003
Target Platform Desktop
Header bidispl.h
DLL Bidispl.dll

See Also

Bidirectional Communication Interfaces

Bidirectional Communication Schema

IBidiRequest

IBidiRequestContainer