UpnpSetRawControlResponse (Compact 7)

3/12/2014

This function sends a raw control response to the control point after the hosted device has received a control request.

Syntax

UpnpSetRawControlResponse(
  UPNPSERVICECONTROL* pUPnPAction,
  DWORD dwHttpStatus,
  PCWSTR pszRespXML
);

Parameters

  • pUPnPAction
    Pointer to the UPnP control action.
  • dwHttpStatus
    HTTP status.
  • pszRespXML
    Control response in raw XML format.

Remarks

This function should only be called inside the UPNPCALLBACK function when the UPNPCB_ID is UPNPCB_CONTROL.

Requirements

Header

upnpdevapi.h

Library

Upnpcapi.lib

See Also

Reference

UPnP C Device Host Functions