Share via


UpnpRemoveDevice

This function terminates an existing UPnP device instance. The device is unpublished if necessary. The callback function is invoked with UPNPCB_SHUTDOWN code.

BOOL WINAPI UpnpRemoveDevice(
  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.