Copyright © 2005-2018 MultiMedia Soft

MIDI.InputDevicesCountGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Reports the number of MIDI input devices installed inside the system and enumerated through a previous call to the MIDI.InputDevicesEnum 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 InputDevicesCountGet (

ByRef nCount as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes InputDevicesCountGet (

ref Int16 nCount

);


 

[C++]

public: enumErrorCodes InputDevicesCountGet (

Int16 __gc *nCount

);


 

 

 

Parameter

Description

 

 

nCount

Reference that, on return from the method call, will contain the number of detected MIDI input devices.

 

 

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.