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

IDirectMusicPort

COM
IID08f2d8c9-37c2-11d2-b9f9-0000f875ac12継承元IUnknown自前メソッド開始 vtbl3

メソッド 17

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

vtblメソッド
3HRESULT PlayBuffer(IDirectMusicBuffer* pBuffer)
4HRESULT SetReadNotificationHandle(HANDLE hEvent)
5HRESULT Read(IDirectMusicBuffer* pBuffer)
6HRESULT DownloadInstrument(IDirectMusicInstrument* pInstrument, IDirectMusicDownloadedInstrument** ppDownloadedInstrument, DMUS_NOTERANGE* pNoteRanges, DWORD dwNumNoteRanges)
7HRESULT UnloadInstrument(IDirectMusicDownloadedInstrument* pDownloadedInstrument)
8HRESULT GetLatencyClock(IReferenceClock** ppClock)
9HRESULT GetRunningStats(DMUS_SYNTHSTATS* pStats)
10HRESULT Compact()
11HRESULT GetCaps(DMUS_PORTCAPS* pPortCaps)
12HRESULT DeviceIoControl(DWORD dwIoControlCode, void* lpInBuffer, DWORD nInBufferSize, void* lpOutBuffer, DWORD nOutBufferSize, DWORD* lpBytesReturned, OVERLAPPED* lpOverlapped)
13HRESULT SetNumChannelGroups(DWORD dwChannelGroups)
14HRESULT GetNumChannelGroups(DWORD* pdwChannelGroups)
15HRESULT Activate(BOOL fActive)
16HRESULT SetChannelPriority(DWORD dwChannelGroup, DWORD dwChannel, DWORD dwPriority)
17HRESULT GetChannelPriority(DWORD dwChannelGroup, DWORD dwChannel, DWORD* pdwPriority)
18HRESULT SetDirectSound(IDirectSound* pDirectSound, IDirectSoundBuffer* pDirectSoundBuffer)
19HRESULT GetFormat(WAVEFORMATEX* pWaveFormatEx, DWORD* pdwWaveFormatExSize, DWORD* pdwBufferSize)