Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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 UpnpAddDevicefunction.

UpnpAddDevice

This function creates a UPnP device instance as described by the UPNPDEVICEINFOstructure.

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