Microsoft DirectX 9.0

Render Method

The Render method initializes the DVD filter graph.

Syntax

MSWebDVD.Render(iRender = 0);

Parameters

iRender

Specifies an integer value indicating whether the filter graph will be destroyed and rebuilt.

Value Description
0 The filter graph will not be destroyed and rebuilt if it already exists. This is the default value.
1 The filter graph will be destroyed and rebuilt if it already exists.

Return Values

No return value.

Remarks

The Render method enables the MSWebDVD object to fully initialize the underlying DirectShow filter graph on startup. This eliminates the slight delay that otherwise occurs when the user issues the first command to play a disc or show a menu. There is no case in which Render needs to be called before calling any other method. For example, if the application calls PlayTitle before the filter graph has been initialized, the MSWebDVD object calls Render automatically before attempting to play the disc.