Copyright © 2001-2016 MultiMedia Soft

VideoPlayer.EnableDsErrorMessages method

Previous pageReturn to chapter overviewNext page

Remarks

 

Enables/disables the visualization of message boxes containing errors detected by DirectShow during playback of a video stream.

 

For further details about the use of the embedded video player see the VideoPlayer object section.

For details about video clips rendering refer to the How to play video files through DirectShow tutorial.

 

 

Syntax

 

[Visual Basic]

control.VideoPlayer.EnableDsErrorMessages (

bEnable as enumBoolean

) as enumErrorCodes


 

[C++]

short control.VideoPlayer.EnableDsErrorMessages (

short bEnable

);


 

 

 

Parameter

Description

 

 

bEnable

Boolean value that determines if error message boxes should be displayed.

Supported values are the following:

Mnemonic constant

Value

Meaning

BOOL_FALSE

0

Disables message boxes reporting DirectShow internal errors.

BOOL_TRUE (default)

1

Enables message boxes reporting DirectShow internal errors.

 

 

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