Share via


IEnumPortableDeviceObjectIDs::Cancel

banner art

Previous Next

IEnumPortableDeviceObjectIDs::Cancel

The Cancel method cancels a pending operation on the interface.

Syntax

  HRESULT Cancel();

Parameters

This method takes no parameters.

Return Values

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

Return code Description
S_OK The operation was canceled successfully.
E_WPD_DEVICE_NOT_OPEN The device is not opened.

Requirements

Header: Defined in PortableDeviceApi.h

Library: PortableDeviceGUIDs.lib

See Also

Previous Next