ホーム › Media.DeviceManager › IMDSPDevice
IMDSPDevice
COMメソッド 11
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 3 | HRESULT GetName(LPWSTR pwszName, DWORD nMaxChars) |
| 4 | HRESULT GetManufacturer(LPWSTR pwszName, DWORD nMaxChars) |
| 5 | HRESULT GetVersion(DWORD* pdwVersion) |
| 6 | HRESULT GetType(DWORD* pdwType) |
| 7 | HRESULT GetSerialNumber(WMDMID* pSerialNumber, BYTE* abMac) |
| 8 | HRESULT GetPowerSource(DWORD* pdwPowerSource, DWORD* pdwPercentRemaining) |
| 9 | HRESULT GetStatus(DWORD* pdwStatus) |
| 10 | HRESULT GetDeviceIcon(DWORD* hIcon) |
| 11 | HRESULT EnumStorage(IMDSPEnumStorage** ppEnumStorage) |
| 12 | HRESULT GetFormatSupport(WAVEFORMATEX** pFormatEx, DWORD* pnFormatCount, LPWSTR** pppwszMimeType, DWORD* pnMimeTypeCount) |
| 13 | HRESULT SendOpaqueCommand(OPAQUECOMMAND* pCommand) |