Microsoft DirectX 8.1 (C++) |
The CountModes method retrieves the number of modes available on the Full Screen Renderer.
Syntax
HRESULT CountModes(
long *pModes
);
Parameters
pModes
[out] Pointer to the returned mode count.
Return Value
Returns an HRESULT value.
Remarks
The DirectShow Full Screen Renderer supports eight modes (320 × 200 × 8/16 bit, 320 × 240 × 8/16, 640 × 400 × 8/16, and 640 × 480 × 8/16). The lower-resolution modes are always chosen over the higher modes. An application can enable and disable specific modes to more accurately specify which ones are available for use. A slightly less fine-grained mechanism to affect the selected mode is available through the clip loss factor.
See Also