Copyright © 2005-2019 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 class section.

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

 

 

Syntax

 

[Visual Basic]

Public Function EnableDsErrorMessages (

bEnable as Boolean

) as enumErrorCodes


 

[C#]

public enumErrorCodes EnableDsErrorMessages (

bool bEnable

);


 

[C++]

public: enumErrorCodes EnableDsErrorMessages (

bool bEnable

);


 

Parameter

Description

 

 

bEnable

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

Supported values are the following:

Mnemonic constant

Meaning

false

Disables message boxes reporting DirectShow internal errors.

true (default)

Enables message boxes reporting DirectShow internal errors.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.