IPortableDeviceServiceCapabilities::Cancel method

The Cancel method cancels a pending operation.

Syntax


HRESULT STDMETHODCALLTYPE Cancel();

Parameters

This method has no parameters.

Return value

If the method succeeds, it returns S_OK. Any other HRESULT value indicates that the call failed.

Remarks

This method cancels all pending operations on the current service handle, which corresponds to a session associated with an IPortableDeviceService interface. The Windows Portable Devices (WPD) API does not support targeted cancellation of specific operations.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

Header

PortableDeviceAPI.h

IDL

PortableDeviceAPI.idl

See also

IPortableDeviceServiceCapabilities Interface

 

 

Community Additions

ADD
Show: