Share via


MidiOutPort.SendBuffer(IBuffer) Method

Definition

Send the specified data buffer to the device associated with this MidiOutPort.

public:
 virtual void SendBuffer(IBuffer ^ midiData) = SendBuffer;
void SendBuffer(IBuffer const& midiData);
public void SendBuffer(IBuffer midiData);
function sendBuffer(midiData)
Public Sub SendBuffer (midiData As IBuffer)

Parameters

midiData
IBuffer

The data to send to the device.

Implements

Remarks

If this method fails with RO_E_CLOSED, it can be assumed that the MidiOutPort has been disconnected from the device.

See Obtaining pointers to data buffers (C++/CX) for more info.

Applies to