IPortableDevicePropertiesBulk::Cancel method (portabledeviceapi.h)
The Cancel method cancels a pending properties request.
Syntax
HRESULT Cancel(
[in] REFGUID pContext
);
Parameters
[in] pContext
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 code | Description |
---|---|
|
The method succeeded. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | portabledeviceapi.h |
Library | PortableDeviceGUIDs.lib |