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::Methods method

The Methods method retrieves the IPortableDeviceServiceMethods interface that is used to invoke custom functionality on the service.

Syntax


HRESULT STDMETHODCALLTYPE Methods(
  [out] IPortableDeviceServiceMethods **ppMethods
);

Parameters

ppMethods [out]

The IPortableDeviceServiceMethods interface used for invoking methods on the given service.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

E_POINTER

A NULL parameter was specified.

 

Examples

For an example of how to use this method, see Invoking Service Methods.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

Header

PortableDeviceAPI.h

IDL

PortableDeviceAPI.idl

See also

Invoking Service Methods
Invoking Service Methods Asynchronously
IPortableDeviceService Interface

 

 

Community Additions

Show:
© 2017 Microsoft