Copyright © 2013-2014 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]

MidiDevices.MidiDjConsole.ProfileInfoIdentifiersGet (

ByRef nVendorId as Int32,

ByRef nProductId as Int32

) as enumDjcErrorCodes


 

[C#]

public enumDjcErrorCodes MidiDjConsole.ProfileInfoIdentifiersGet (

ref Int32 nVendorId,

ref Int32 nProductId

);


 

[C++]

public: enumDjcErrorCodes MidiDjConsole.ProfileInfoIdentifiersGet (

Int32 __gc *nVendorId,

Int32 __gc *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

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumDjcErrorCodes.ERR_DJC_NOERROR (0)

The method call was successful.