Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The get_FramesPerSecond method retrieves the current frame rate.
Syntax
HRESULT get_FramesPerSecond(
long* pVal
);
Parameters
pVal
[out] Pointer to a variable that receives the frame rate, in frames per second.
Return Value
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
See Also