Share via


IMidiOutPort 介面

定義

表示單一 MIDI 輸出埠。

public interface class IMidiOutPort : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2468179359, 22434, 19002, 173, 184, 70, 64, 136, 111, 102, 147)]
struct IMidiOutPort : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2468179359, 22434, 19002, 173, 184, 70, 64, 136, 111, 102, 147)]
public interface IMidiOutPort : System.IDisposable
Public Interface IMidiOutPort
Implements IDisposable
衍生
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

DeviceId

取得包含 MIDI 輸出埠之裝置的識別碼。

方法

Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

SendBuffer(IBuffer)

透過 MIDI 輸出埠傳送緩衝區的內容。

SendMessage(IMidiMessage)

將指定 MIDI 訊息中的資料傳送至與此 MidiOutPort相關聯的裝置。

適用於

另請參閱