ResetControl method |
|
Remarks
Re-initialises the control after a reset of the multimedia engine: the call to this method is mandatory after a call to the ResetEngine method. The purpose of this method is mostly identical to the InitRecordingSystem method.
Syntax
[Visual Basic] control.ResetControl ( hWndParent as OLE_HANDLE, nInputDevice as integer, nInputChannel as integer ) as enumErrorCodes |
[C++] short control.ResetControl ( OLE_HANDLE hWndParent, short nInputDevice, short nInputChannel ); |
Parameter |
Description |
|
|
hWndParent |
Handle of the container (parent) window: for Visual Basic is represented by the hWnd property of the container form, while for Visual C++ is represented by the call to the container dialog box GetSafeHwnd member function: the return value of this call represents a HWND so it must be cast to OLE_HANDLE to avoid compiler errors |
nInputDevice |
Ignored, set it to 0 |
nInputChannel |
Ignored, set it to 0 |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to see the error code meaning |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful. |