Copyright © 2013-2015 MultiMedia Soft

MidiVirtualKeyboard.MidiInputDisconnect method

Previous pageReturn to chapter overviewNext page

Remarks

 

Disconnects the virtual piano keyboard, previously connected through the MidiVirtualKeyboard.MidiInputConnect method, from the given MIDI input device.

 

For further details about the use of the virtual MIDI keyboard see the MidiVirtualKeyboard object section and the How to manage the virtual MIDI piano keyboard tutorial.

 

 

Syntax

 

[Visual Basic]

control.MidiVirtualKeyboard.MidiInputDisconnect (

hWndKeyboard as OLE_HANDLE

) as enumDjcErrorCodes


 

[C++]

short control.MidiVirtualKeyboard.MidiInputDisconnect (

OLE_HANDLE hWndKeyboard

);


 

 

 

Parameter

Description

 

 

hWndKeyboard

Handle of the virtual keyboard as returned by the call to the MidiVirtualKeyboard.Create method

 

 

Return value

 

Value

Meaning

 

 

enumDjcErrorCodes.ERR_DJC_NOERROR (0)

The call was successful.

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.