Win32 API 日本語リファレンス
ホームDevices.PortableDevices › IPortableDeviceService

IPortableDeviceService

COM
IIDd3bd3a44-d7b5-40a9-98b7-2fa4d01dec08継承元IUnknown自前メソッド開始 vtbl3

メソッド 11

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtblメソッド
3HRESULT Open(LPWSTR pszPnPServiceID, IPortableDeviceValues* pClientInfo)
4HRESULT Capabilities(IPortableDeviceServiceCapabilities** ppCapabilities)
5HRESULT Content(IPortableDeviceContent2** ppContent)
6HRESULT Methods(IPortableDeviceServiceMethods** ppMethods)
7HRESULT Cancel()
8HRESULT Close()
9HRESULT GetServiceObjectID(LPWSTR* ppszServiceObjectID)
10HRESULT GetPnPServiceID(LPWSTR* ppszPnPServiceID)
11HRESULT Advise(DWORD dwFlags, IPortableDeviceEventCallback* pCallback, IPortableDeviceValues* pParameters, LPWSTR* ppszCookie)
12HRESULT Unadvise(LPWSTR pszCookie)
13HRESULT SendCommand(DWORD dwFlags, IPortableDeviceValues* pParameters, IPortableDeviceValues** ppResults)