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 code | Description |
|---|---|
|
The method succeeded. |
|
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 |
|
|
IDL |
|
See also