General information function
Returns the driver version and information.
GtDioGet6xDriverSummary (pszSummary, nMaxLength, pdwVersion)
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. |
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);