IDeviceController::RemoveDevice method

Removes the specified device from the list of devices that is returned by the CachedDevices method.

Syntax

HRESULT RemoveDevice(
  [in] IBasicDevice *device
);

Parameters

  • device [in]
    A reference to an IBasicDevice that represents the device to remove from the list.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK

The method succeeded.

 

See also

IDeviceController