Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPortableDeviceServiceMethodCallback interface

The IPortableDeviceServiceMethodCallback interface contains a method that applications use to track the completion of a callback method. Applications that call service methods asynchronously may implement this interface, and supply it as a parameter to IPortableDeviceServiceMethods::InvokeAsync.

Each asynchronous method invocation uses the application-supplied callback object as its context. Therefore, an application that intends to simultaneously invoke multiple methods should avoid reusing the callback object. Instead, the application should provide a unique instance of the callback object for each call to InvokeAsync

Members

The IPortableDeviceServiceMethodCallback interface inherits from the IUnknown interface. IPortableDeviceServiceMethodCallback also has these types of members:

Methods

The IPortableDeviceServiceMethodCallback interface has these methods.

MethodDescription
OnComplete

Indicates that a callback method has completed execution.

 

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

Header

PortableDeviceAPI.h

IDL

PortableDeviceAPI.idl

 

 

Community Additions

Show:
© 2017 Microsoft