This topic has not yet been rated - Rate this topic

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 codeDescription
S_OK

Method completed successfully.

E_POINTER

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

WsdClient.h (include Wsdapi.h)

IDL

WsdClient.idl

DLL

Wsdapi.dll

See also

IWSDEndpointProxy

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ