DioGetDriverSummary

Applies To

General information function.

Purpose

Returns the driver version and information.

Syntax

DioGetDriverSummary (pszSummary, nCount, pdwVersion)

Parameters

Name

Type

Comments

pszSummary

LPSTR

Returns manufacturer’s name and model separated by a comma.

nCount

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;

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

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

 

See Also

DioGetErrorString