Copyright © 2001-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 MIDI object section and the How to deal with MIDI protocol tutorial.

 

 

Syntax

 

[Visual Basic]

control.MIDI.KeyboardGraphicalSettingsGet (

hWndKeyboard as OLE_HANDLE,

pParamData as Long

) as enumErrorCodes


 

[C++]

short control.MIDI.KeyboardGraphicalSettingsGet (

OLE_HANDLE hWndKeyboard,

void *pParamData

);


 

 

 

Parameter

Description

 

 

hWndKeyboard

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

pParamData

Address of a structure of type MIDI_KEYBOARD_SETTINGS that receives in output graphical settings of the keyboard.

 

 

Return value

 

Value

Meaning

 

 

enumErrorCodes.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.