|
Copyright © 2001-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
control.CustomDSP.ExternalEditorGetInfo (
nPlayer as Integer,
nIdDsp as Long,
pInfo as Long
) as enumErrorCodes
|
|
[C++]
short control.CustomDSP.ExternalEditorGetInfo (
short nPlayer,
long nIdDsp,
long pInfo
);
|
|
Parameter
|
Description
|
|
|
|
|
nPlayer
|
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.
|