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 [desktop apps | Windows Store apps]

Header

PortableDeviceAPI.h

IDL

PortableDeviceAPI.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.