Share via


IMidiOutPort Interface

Definition

Represents a single MIDI out port.

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
Derived
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

DeviceId

Gets the ID of the device that contains the MIDI out port.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

SendBuffer(IBuffer)

Sends the contents of the buffer through the MIDI out port.

SendMessage(IMidiMessage)

Send the data in the specified MIDI message to the device associated with this MidiOutPort.

Applies to

See also