Microsoft DirectX 8.1 (C++) |
The GetCurrentMode method retrieves the video mode currently in effect.
Syntax
HRESULT GetCurrentMode(
long *pMode
);
Parameters
pMode
[out] Pointer to the retrieved full-screen video mode.
Return Value
Returns an HRESULT value.
Remarks
When the full-screen video renderer is connected, it chooses a display mode to use for video playback. The selected mode can be retrieved through this method. The details for that mode can then be retrieved by using IFullScreenVideo::GetModeInfo.
For a list of available modes for the DirectShow full-screen video renderer, see IFullScreenVideo::SetEnabled.
See Also