IPortableDeviceService interface (portabledeviceapi.h)

The IPortableDeviceService interface provides access to a service.

Inheritance

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

Methods

The IPortableDeviceService interface has these methods.

 
IPortableDeviceService::Advise

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

Cancels a pending operation on this interface.
IPortableDeviceService::Capabilities

Retrieves the service capabilities.
IPortableDeviceService::Close

Releases the connection to the service.
IPortableDeviceService::Content

Retrieves access to the service content.
IPortableDeviceService::GetPnPServiceID

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

Retrieves an object identifier for the service. This object identifier can be used to access the properties of the service, for example.
IPortableDeviceService::Methods

Retrieves the IPortableDeviceServiceMethods interface that is used to invoke custom functionality on the service.
IPortableDeviceService::Open

Opens a connection to the service.
IPortableDeviceService::SendCommand

Sends a standard WPD command and its parameters to the service.
IPortableDeviceService::Unadvise

Unregisters a service event callback object.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header portabledeviceapi.h