|
Copyright © 2001-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
control.Spectrum.Create (
nPlayer as Integer,
hWndTarget as OLE_HANDLE
) as enumErrorCodes
|
|
[C++]
short control.Spectrum.Create (
short nPlayer,
OLE_HANDLE hWndTarget
);
|
|
Parameter
|
Description
|
|
|
|
|
nPlayer
|
Number representing the zero-based index of the player that will use the Spectrum
|
|
hWndTarget
|
Handle of the window whose surface will be used in order to render the Spectrum graphics.
If this parameter is set to NULL or 0, no graphical representation will be performed but you will have the opportunity to be notified about spectrum values change through the SpectrumValueChange event, allowing to render your custom spectrum graphics after calling the Spectrum.GetTable method.
|
|
Value
|
Meaning
|
|
|
|
|
Negative value
|
An error occurred, check the LastError property value in order to get the error code
|
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful
|