Share via


UPnP C Device Host Functions (Compact 7)

3/12/2014

The following list describes the functions for the UPnP C Device Host, which adds a device to the network so that it can be discovered by other devices.

  • PUPNPCALLBACK
    An application-defined callback function. It must be implemented by a device that supplies a pointer to the UpnpAddDevice function.
  • UpnpGetSCPDPath
    A helper function to locate the Service Control Protocol Description (SCPD) file for a particular service. This location is specified in the device description template.
  • UpnpGetUDN
    Retrieves the UPnP Unique Device Name (UDN) for a device. The UDN is used to uniquely identify the UPnP device on the network.
  • UpnpSetControlResponse
    Sends a response to the control point after the hosted device has received a control request.
  • UpnpSetErrorResponse
    Sends an error response to the control point if an error has occurred when fulfilling a control request.
  • UpnpSetRawControlResponse
    Sends a raw control response to the control point after the hosted device has received a control request.
  • UpnpSubmitPropertyEvent
    Sends one or more variables to all remote subscribers using the UPnP event notification scheme.

See Also

Reference

UPnP C Device Host Reference