ホーム › Devices.Sensors › ISensor
ISensor
COMメソッド 15
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 3 | HRESULT GetID(GUID* pID) |
| 4 | HRESULT GetCategory(GUID* pSensorCategory) |
| 5 | HRESULT GetType(GUID* pSensorType) |
| 6 | HRESULT GetFriendlyName(LPWSTR* pFriendlyName) |
| 7 | HRESULT GetProperty(PROPERTYKEY* key, PROPVARIANT* pProperty) |
| 8 | HRESULT GetProperties(IPortableDeviceKeyCollection* pKeys, IPortableDeviceValues** ppProperties) |
| 9 | HRESULT GetSupportedDataFields(IPortableDeviceKeyCollection** ppDataFields) |
| 10 | HRESULT SetProperties(IPortableDeviceValues* pProperties, IPortableDeviceValues** ppResults) |
| 11 | HRESULT SupportsDataField(PROPERTYKEY* key, VARIANT_BOOL* pIsSupported) |
| 12 | HRESULT GetState(SensorState* pState) |
| 13 | HRESULT GetData(ISensorDataReport** ppDataReport) |
| 14 | HRESULT SupportsEvent(GUID* eventGuid, VARIANT_BOOL* pIsSupported) |
| 15 | HRESULT GetEventInterest(GUID** ppValues, DWORD* pCount) |
| 16 | HRESULT SetEventInterest(GUID* pValues, DWORD count) |
| 17 | HRESULT SetEventSink(ISensorEvents* pEvents) |