Copyright © 2001-2019 MultiMedia Soft

DirectShowAutoLoadEnable method

Previous pageReturn to chapter overviewNext page

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:

Mnemonic constant

Value

Meaning

BOOL_FALSE (default)

0

DirectShow usage is disabled

BOOL_TRUE

1

DirectShow usage is enabled

 

 

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.