The following table shows the UPnP C Device Host functions with a description of the purpose of each.
| Programming element | Description |
|---|---|
| PUPNPCALLBACK | This callback function is an application-defined function. It must be implemented by a device that supplies a pointer to the UpnpAddDevice function. |
| UpnpAddDevice | This function creates a UPnP device instance as described by the UPNPDEVICEINFO structure. |
| UpnpGetSCPDPath | This function sends out UPnP announcements for this device tree. |
| UpnpGetUDN | This function retrieves the UPnP Unique Device Name (UDN) for a device. The |
| UpnpPublishDevice | This function sends out UPnP announcements for this device tree. |
| UpnpRemoveDevice | This function terminates an existing UPnP device instance. |
| UpnpSetControlResponse | This function sends a response to the control point after the hosted device has received a control request. |
| UpnpSetErrorResponse | This function sends an error response to the control point if an error has occurred when fulfilling a control request. |
| UpnpSetRawControlResponse | This function sends a raw control response to the control point after the hosted device has received a control request. |
| UpnpSubmitPropertyEvent | This function sends one or more evented variables to all remote subscribers using the UPnP event notification scheme. |
| UpnpUnpublishDevice | This function announces that the device is leaving the network. |
See Also
Send Feedback on this topic to the authors