Win32 API 日本語リファレンス
ホームMedia.Audio › IMMDeviceEnumerator

IMMDeviceEnumerator

COM
IIDa95664d2-9614-4f35-a746-de8db63617e6継承元IUnknown自前メソッド開始 vtbl3

メソッド 5

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

vtblメソッド
3HRESULT EnumAudioEndpoints(EDataFlow dataFlow, DEVICE_STATE dwStateMask, IMMDeviceCollection** ppDevices)
4HRESULT GetDefaultAudioEndpoint(EDataFlow dataFlow, ERole role, IMMDevice** ppEndpoint)
5HRESULT GetDevice(LPWSTR pwstrId, IMMDevice** ppDevice)
6HRESULT RegisterEndpointNotificationCallback(IMMNotificationClient* pClient)
7HRESULT UnregisterEndpointNotificationCallback(IMMNotificationClient* pClient)