ホーム › Media.Audio.DirectMusic › IDirectMusicPort
IDirectMusicPort
COMメソッド 17
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 3 | HRESULT PlayBuffer(IDirectMusicBuffer* pBuffer) |
| 4 | HRESULT SetReadNotificationHandle(HANDLE hEvent) |
| 5 | HRESULT Read(IDirectMusicBuffer* pBuffer) |
| 6 | HRESULT DownloadInstrument(IDirectMusicInstrument* pInstrument, IDirectMusicDownloadedInstrument** ppDownloadedInstrument, DMUS_NOTERANGE* pNoteRanges, DWORD dwNumNoteRanges) |
| 7 | HRESULT UnloadInstrument(IDirectMusicDownloadedInstrument* pDownloadedInstrument) |
| 8 | HRESULT GetLatencyClock(IReferenceClock** ppClock) |
| 9 | HRESULT GetRunningStats(DMUS_SYNTHSTATS* pStats) |
| 10 | HRESULT Compact() |
| 11 | HRESULT GetCaps(DMUS_PORTCAPS* pPortCaps) |
| 12 | HRESULT DeviceIoControl(DWORD dwIoControlCode, void* lpInBuffer, DWORD nInBufferSize, void* lpOutBuffer, DWORD nOutBufferSize, DWORD* lpBytesReturned, OVERLAPPED* lpOverlapped) |
| 13 | HRESULT SetNumChannelGroups(DWORD dwChannelGroups) |
| 14 | HRESULT GetNumChannelGroups(DWORD* pdwChannelGroups) |
| 15 | HRESULT Activate(BOOL fActive) |
| 16 | HRESULT SetChannelPriority(DWORD dwChannelGroup, DWORD dwChannel, DWORD dwPriority) |
| 17 | HRESULT GetChannelPriority(DWORD dwChannelGroup, DWORD dwChannel, DWORD* pdwPriority) |
| 18 | HRESULT SetDirectSound(IDirectSound* pDirectSound, IDirectSoundBuffer* pDirectSoundBuffer) |
| 19 | HRESULT GetFormat(WAVEFORMATEX* pWaveFormatEx, DWORD* pdwWaveFormatExSize, DWORD* pdwBufferSize) |