IPortableDeviceService::Content method

The Content method retrieves access to the service content.

Syntax


HRESULT STDMETHODCALLTYPE Content(
  [out] IPortableDeviceContent2 **ppContent
);

Parameters

ppContent [out]

The IPortableDeviceContent2 interface that accesses the service content.

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 Enumerating Service Content.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

Header

PortableDeviceAPI.h

IDL

PortableDeviceAPI.idl

See also

IPortableDeviceService Interface
Enumerating Service Content
Retrieving Content-Object Properties
Writing Content-Object Properties

 

 

Community Additions

ADD
Show: