Dgetrefreshrate - Planar DX/PCI User Manual

Display controller
Hide thumbs Also See for DX/PCI:
Table of Contents

Advertisement

54 | DGetRefreshRate

DGetRefreshRate

(Obsolete in multi-monitor mode)
Purpose Use
Syntax
DWORD DGetRefreshRate (hdc, lpwRefreshRate)
Return value
DWORD –
otherwise, operating system error code.
Example This example returns the refresh rate of the screen.
#include <mdpcint.h>
{
HDC
UWORD
DWORD
dwRetCode = DGetRefreshRate (hdc, &wRefreshRate);
return dwRetCode;
}
See also
DGetNumScreens, DGetScreenDimensions,
DGetScreenPlacement
DGetRefreshRate
Parameter Type
HDC
UWORD FAR *
zero (0) if function completed successfully;
hdc;
wRefreshRate;
dwRetCode;
to return the screen's refresh rate.
Name
hdc
wRefreshRate
Description
Handle to the display-
device context.
Pointer to
UWORD.
filled in with the refresh
rate in Hertz * 100.
It is

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dome m2/pciRx/pciDome dx/pciDome rx/pci

Table of Contents