IWSDServiceMessaging::SendResponse (Windows Embedded CE 6.0)

1/6/2010

This method sends a response message matching a given request context. This method should be called only from generated code. For information on generated code, see this Microsoft Web site.

Syntax

HRESULT SendResponse(
  void* pBody,
  WSD_OPERATION* pOperation,
  IWSDMessageParameters* pMessageParameters
);

Parameters

  • pBody
    [in] Pointer to the message body to send in the response message.
  • pOperation
    [in] Pointer to a WSD_OPERATION structure that contains the type of response to send.
  • pMessageParameters
    [in] Pointer to an IWSDMessageParameters object that contains the message parameters from the original request message.

Return Value

The following table shows the possible error code return values.

Error code Description

S_OK

This method completed successfully.

E_POINTER

pOperation or pMessageParameters is NULL.

E_ABORT

The method could not be completed.

E_OUTOFMEMORY

Insufficient memory to complete the operation.

E_FAIL

The method failed.

Requirements

Header wsdapi.h
Library wsdapi.lib
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

IWSDServiceMessaging
Web Services on Devices Interfaces