UpnpPublishDevice (Windows CE 5.0)
This function sends out UPnP announcements for this device tree. Once published, the device will automatically respond to UPnP search requests. Its services may be invoked by remote control points through the callback function.
BOOL WINAPI UpnpPublishDevice( PCWSTRpszDeviceName);
Parameters
- pszDeviceName
[in] Local device name specified in the UPNPDEVICEINFO structure.
Return Values
Returns TRUE if the function call succeeds, FALSE if an error occurs.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Upnpdevapi.h.
Link Library: Upnpcapi.lib.
See Also
UPNPDEVICEINFO | UPnP C Device Host Functions
Send Feedback on this topic to the authors