IBidiRequestContainer::AddRequest method (bidispl.h)
The AddRequest method adds a request to the request list.
Syntax
HRESULT AddRequest(
[in] IBidiRequest *pRequest
);
Parameters
[in] 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 COM Error Codes.
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
Requirement | Value |
---|---|
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