IPortableDevicePropertiesBulk::Cancel method

The Cancel method cancels a pending properties request.

Syntax


HRESULT Cancel(
  [in] REFGUID pContext
);

Parameters

pContext [in]

Pointer to a context GUID that was retrieved when an asynchronous request was started by calling one of the Queue... methods.

Return value

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

Return codeDescription
S_OK

The method succeeded.

 

Requirements

Header

PortableDeviceApi.h

Library

PortableDeviceGUIDs.lib

See also

IPortableDevicePropertiesBulk Interface

 

 

Community Additions

ADD
Show: