MIDI.KeyboardDestroy method |
|
Remarks
Destroys an existing virtual piano keyboard.
For further details about the use of MIDI protocol see the MIDIMan class section and the How to deal with MIDI protocol tutorial.
Syntax
[Visual Basic] Public Function KeyboardDestroy ( hWndKeyboard as IntPtr ) as enumErrorCodes |
[C#] public enumErrorCodes KeyboardDestroy ( IntPtr hWndKeyboard ); |
[C++] public: enumErrorCodes KeyboardDestroy ( IntPtr hWndKeyboard ); |
Parameter |
Description |
|
|
hWndKeyboard |
Handle of the virtual keyboard as returned by the call to the MIDI.KeyboardCreate method |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |