|
Copyright © 2005-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
Public Function ExternalEditorGetInfo (
nPlayerIndex as Int16,
nIdDsp as Int32,
pInfo as IntPtr
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes ExternalEditorGetInfo (
Int16 nPlayerIndex,
Int32 nIdDsp,
IntPtr pInfo
);
|
|
[C++]
public: enumErrorCodes ExternalEditorGetInfo (
Int16 nPlayerIndex,
Int32 nIdDsp,
IntPtr pInfo
);
|
|
Parameter
|
Description
|
|
|
|
|
nPlayerIndex
|
Number representing the zero-based index of the involved player
|
|
nIdDsp
|
Unique identifier of the custom DSP
|
|
pInfo
|
Pointer in memory to the data structure containing information about the DSP's editor.
As already mentioned before, you are free to define your own set of information about a certain editor; a typical implementation of this data structure could be the one provided below in C++ language:
typedef struct
{
HWND hWnd; // HWND of the window
bool bIsVisible; // visibility flag
long nLeftPosPx; // left position in pixels
long nTopPosPx; // to position in pixels
long nWidthPx; // width in pixels
long nHeightPx; // height in pixels
} DSP_EDITOR_WINDOW_INFO;
|
|
Value
|
Meaning
|
|
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
|
enumErrorCodes.NOERROR (0)
|
The method call was successful.
|