GtDio6xGetDriverSummary

Applies To

General information function

Purpose

Returns the driver version and information.

Syntax

GtDioGet6xDriverSummary (pszSummary, nMaxLength, pdwVersion)

Parameters

Name
Type
Comments
pszSummary
LPSTR
Returns manufacturer’s name and model separated by a comma.
nMaxLength
SHORT
Maximum length of pszSummary.
pdwVersion
PDWORD
Returned board’s version; major in high-order word, minor in low-order word.

Example

The following example returns the driver summary:

 

CHAR   szVer[128];

DWORD  dwVer;

GtDio6xGetDriverSummary (szVer, sizeof (szVer), &dwVer);

printf(%s, major=%ld, minor=%ld”, szVer, dwVer >> 16, dwVer & 0xFFFFul);

See Also

GtDio6xGetErrorString