UpnpUnpublishDevice

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(
  PCWSTR pszDeviceName
);

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

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.