Copyright © 2013-2015 MultiMedia Soft

MidiDjConsole.ProfileInfoIdentifiersGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Once a profile has been loaded from a XML file through the MidiDjConsole.ProfileLoad method, obtains the product's and vendor's identifiers of the DJ Console for which the profile was originally written: this information is useful when there is the need to check if the loaded profile is the correct one for the physical connected DJ Console; product and vendor identifiers of the physically connected DJ Console can be retrieved through the MidiDevices.InfoGet method.

 

For further details about interfacing with MIDI DJ Consoles see the MidiDjConsole object section and the How to manage MIDI DJ consoles tutorial.

 

 

Syntax

 

[Visual Basic]

control.MidiDjConsole.ProfileInfoIdentifiersGet (

nVendorId as Long,

nProductId as Long

) as enumDjcErrorCodes


 

[C++]

short control.MidiDjConsole.ProfileInfoIdentifiersGet (

long *nVendorId,

long *nProductId

);


 

Parameter

Description

 

 

nVendorId

Reference that, on return from the method call, will contain the number representing the vendor's (manufacturer) identifier (also known as VID or MID) for the MIDI DJ Console. The list of known identifiers can be found inside the MSDN website

nProductId

Reference that, on return from the method call, will contain the number representing the product's identifier (also known as PID) for the MIDI DJ Console. The list of known identifiers can be found inside the MSDN website

 

 

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.