Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function announces that the device is leaving the network. After being unpublished, the device will no longer respond to further remote requests.
BOOL WINAPI UpnpUnpublishDevice(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