DirectShowAutoLoadEnable method |
|
Remarks
Enables/disables, for the given player, the automatic loading through installed DirectShow codecs of audio and video tracks not supported natively by the LoadSound method.
Syntax
[Visual Basic] control.DirectShowAutoLoadEnable ( nPlayer as Integer bEnable as enumBoolean ) as enumErrorCodes |
[C++] short control.DirectShowAutoLoadEnable ( short nPlayer short bEnable ); |
Parameter |
Description |
|||||||||
|
|
|||||||||
nPlayer |
Number representing the zero-based index of the involved player |
|||||||||
bEnable |
Boolean value that instructs the player to enable/disable the use DirectShow when the LoadSound method is invoked for audio/video format not supported natively. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.ERR_NOERROR (0) |
The call was successful. |