Microsoft DirectX 8.1 (C++) |
The IsModeEnabled method determines if a specified mode is enabled.
Syntax
HRESULT IsModeEnabled(
long Mode
);
Parameters
Mode
[in] Full-screen video mode to check.
Return Value
Returns S_OK if the video mode is enabled or S_FALSE if it isn't.
Remarks
You can use this method to enable and disable specific display modes supported by the renderer. Even if a mode is enabled, it will not necessarily be used for video playback; the mode must also be compatible with the filters in the filter graph.
For a list of available modes for the DirectShow full-screen video renderer, see IFullScreenVideo::SetEnabled.
See Also