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.

IPortableDeviceService interface

The IPortableDeviceService interface provides access to a service.

Members

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

Methods

The IPortableDeviceService interface has these methods.

MethodDescription
Advise

Registers an application-defined callback object that receives service events.

Cancel

Cancels a pending service operation.

Capabilities

Retrieves the service capabilities.

Close

Releases the connection to the service.

Content

Retrieves access to the service content.

GetPnPServiceId

Retrieves a Plug and Play (PnP) identifier for the service.

GetServiceObjectId

Retrieves an object identifier for the service.

Methods

Retrieves methods that can be called on the service.

Open

Opens a connection to the service.

SendCommand

Sends a command and its parameters to the service.

Unadvise

Unregisters a service callback method.

 

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