18 | DGetDriverVersion
DGetDriverVersion
(Windows NT, Windows 2000 full Windows NT 4.0 compatible mode)
Purpose Use
DGetDriverVersion
to return the version number of
the DOME Windows driver.
Syntax
DWORD DGetDriverVersion (hdc, lpwDriverVersion)
Return value
DWORD
– zero (0) if function completed successfully;
otherwise, operating system error code.
Example This example returns the driver version in
wDriverVersion
.
#include <mdpcint.h>
{
HDC
hdc;
UWORD
wDriverVersion;
DWORD dwRetCode;
dwRetCode = DGetDriverVersion (hdc,
&wDriverVersion);
return dwRetCode;
}
See also
DGetLibraryVersion
Parameter Type Name
Description
HDC
hdc
Handle to the display-
device context.
UWORD FAR *
wDriverVer-
sion
Pointer to
UWORD
. It is
filled in with a hexadecimal
value. The high byte is the
version number, and the
low byte is the revision
number. For example,
0x108 is returned when
you’re using the version
1.8 driver.
Содержание Dome DX/PCI
Страница 6: ......