IWSDEndpointProxy::SendTwoWayRequest method
Applies to: desktop apps only
Sends a two-way request message using a synchronous call pattern.
Syntax
HRESULT SendTwoWayRequest( [in] const void *pBody, [in] const WSD_OPERATION *pOperation, [in, optional] WSD_SYNCHRONOUS_RESPONSE_CONTEXT *pResponseContext );
Parameters
- pBody [in]
-
The body of the message.
- pOperation [in]
-
Reference to a WSD_OPERATION structure that specifies the operation to perform.
- pResponseContext [in, optional]
-
Reference to a WSD_SYNCHRONOUS_RESPONSE_CONTEXT structure or other context structure that specifies the context for handling the response to the request.
Return value
Possible return values include, but are not limited to, the following:
| Return code | Description |
|---|---|
|
Method completed successfully. |
|
pOperation is NULL. |
Remarks
This method is normally only called by generated proxy code.
WSD_SYNCHRONOUS_RESPONSE_CONTEXT is used for the responseContext value when a synchronous call pattern is used.
Requirements
|
Minimum supported client | Windows Vista |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 3/7/2012