| Microsoft DirectX 9.0 |
The CountModes method retrieves the number of display modes that the Full Screen Renderer supports.
Syntax
HRESULT CountModes(
long *pModes
);
Parameters
pModes
[out] Pointer to the returned mode count.
Return Values
Returns an HRESULT value. Possible values include the following.
| Value | Description |
| E_POINTER | NULL pointer argument. |
| S_OK | Success. |
See Also