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] Public Function DirectShowAutoLoadEnable ( nPlayerIndex as Int16, bEnable as Boolean ) as enumErrorCodes |
[C#] public enumErrorCodes DirectShowAutoLoadEnable ( Int16 nPlayerIndex, bool bEnable ); |
[C++] public: enumErrorCodes DirectShowAutoLoadEnable ( Int16 nPlayerIndex, bool bEnable ); |
Parameter |
Description |
|||||||||
|
|
|||||||||
nPlayerIndex |
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, check the LastError property value in order to get the error code |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful |