Copyright © 2005-2019 MultiMedia Soft

MIDI.KeyboardGraphicalSettingsGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the current graphical settings for the given virtual piano keyboard. Settings can be modified through the MIDI.KeyboardGraphicalSettingsSet method.

 

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 KeyboardGraphicalSettingsGet (

hWndKeyboard as IntPtr,

ByRef settings as MIDI_KEYBOARD_SETTINGS

) as enumErrorCodes


 

[C#]

public enumErrorCodes KeyboardGraphicalSettingsGet (

IntPtr hWndKeyboard,

ref MIDI_KEYBOARD_SETTINGS settings

);


 

[C++]

public: enumErrorCodes KeyboardGraphicalSettingsGet (

IntPtr hWndKeyboard,

MIDI_KEYBOARD_SETTINGS __gc *settings

);


 

 

 

Parameter

Description

 

 

hWndKeyboard

Handle of the virtual keyboard as returned by the call to the MIDI.KeyboardCreate method

settings

Reference to the object of class MIDI_KEYBOARD_SETTINGS that receives in output graphical settings of the keyboard.

 

 

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.