Planar Dome Md2/PCI Developer's Manual page 32

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

Advertisement

24
Example This example returns the driver version in
lpDriverVersion
#include <mdpcint.h>
{
HDC
UWORD
DWORD
UWORD
dwRetCode = DGetDriverVersionMM
return dwRetCode;
}
Or, for attached or unattached display 2:
DEVMODE dmMode; HDC hdc;
/* Fill in relevant parts of dmMode. */
See also
DGetLibraryVersion and GetFileVersionInfo
function of the Microsoft SDK
.
hdc;
nDisplay = (UWORD) Win2000DisplayNum |
WIN2K_DISPLAY_NUMBER;
dwRetCode;
DriverVersion;
(NULL, nDisplay, &DriverVersion);
hdc = CreateDC ("DISPLAY", "\\\\.\\DISPLAY2",
NULL, &dmMode);
dwRetCode = DGetDriverVersionMM (hdc,
WIN2K_DISPLAY_NUMBER, &DriverVersion);
DGetDriverVersionMM

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dome md4/pciDome md5/pciDome md8/pci

Table of Contents