IPMPlatform::DeleteDevice

This method deletes the remote device object corresponding to a specified bstrDeviceIdOrName element.

HRESULT DeleteDevice(
  BSTR bstrDeviceIdOrName 
);

Parameters

  • bstrDeviceIdOrName
    [in] GUID or name of the remote device object to be deleted.

Return Values

Returns S_OK if the call was successfully completed. If a failure occurs, the appropriate HRESULT value is returned.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Platform.h, Cemgr.idl.

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.