RefreshRate | 77
RefreshRate
Purpose Use
RefreshRate
to get the refresh rate for a display
mode setting.
Syntax
DLong (*RefreshRate) (dev)
Return value An integer equal to 100 times the refresh rate in Hz, if
successful. If the display mode is not set to a supported
mode,
RefreshRate()
returns zero.
Description
RefreshRate()
returns a long integer equal to 100 times
the refresh rate of the display mode setting.
Errors None.
Example This example returns the refresh rate of the display mode.
#include "domeMd.h"
DMdDev
dev;
float
refreshRate;
.
.
.
refreshRate = (*dev->RefreshRate) (dev) / 100.0;
See also
DMdDev Structure
Parameter Type
Name
Description
DMdDev
dev
Device handle for the DOME
device
Summary of Contents for Dome DX/PCI
Page 6: ......