Copyright © 2005-2008 MultiMedia Soft 
Return to Table of contents  
 
VST.EditorGetInfo method 
 
Remarks 
 
If available, obtains information about the editor (user interface) of the given VST effect. You are free to define your own set of information about a certain editor. 
The editor can be show, hidden or moved using the VST.EditorShow method. 
 
For further details about methods related to the use of VST effects refer to the VSTs class. 
For further details about managing a VST effect refer to the How to manage VST effects tutorial. 
 
 
Syntax 
 
[Visual Basic] 
Public Function EditorGetInfo
nPlayerIndex as Int16, 
nIdVST as Int32, 
pInfo as IntPtr 
 
[C#] 
public enumErrorCodes EditorGetInfo
Int16 nPlayerIndex, 
Int32 nIdVST, 
IntPtr pInfo 
);
 
[C++] 
public: enumErrorCodes EditorGetInfo
Int16 nPlayerIndex, 
Int32 nIdVST, 
IntPtr pInfo 
);
 
Parameter
Description
 
 
nPlayerIndex
Number representing the zero-based index of the involved player
nIdVST
Unique identifier of the VST effect as returned by the VST.Load method.
pParamData
Pointer in memory to an object of class VstEditorInfo containing information about the VST editor. 
The VST_EDITOR_INFO data structure is defined in C++ as follows: 
 
public class VstEditorInfo 
   bool    bIsEditorAvailable
   bool    bIsEditorVisible
   Int16   nEditorLeft
   Int16   nEditorTop
   Int16   nEditorWidth
   Int16   nEditorHeight
 
Member name
Description
 
 
bIsEditorAvailable
Boolean flag that tells if the VST editor is available
bIsEditorVisible
Boolean flag that tells if the VST editor is actually visible or hidden
nEditorLeft
Editor left position, within the container client area, expressed in pixels
nEditorTop
Editor top position, within the container client area, expressed in pixels
nEditorWidth
Editor width expressed in pixels
nEditorHeight
Editor height expressed in pixels
 
 
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.
 
 
 
 
 
 
 
 
 
Copyright © 2005-2008 MultiMedia Soft 
Return to Table of contents