IPortableDeviceService::GetServiceObjectID method

The GetServiceObjectID method retrieves an object identifier for the service. This object identifier can be used to access the properties of the service, for example.

Syntax


HRESULT STDMETHODCALLTYPE GetServiceObjectID(
  [out] LPWSTR *ppszServiceObjectID
);

Parameters

ppszServiceObjectID [out]

The retrieved service object identifier.

Return value

If the method succeeds, it returns S_OK. Any other HRESULT value indicates that the call failed.

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

 

 

Community Additions

ADD
Show: