GxCalGetDriverSummary

Purpose

Returns the driver description string and version number.

Syntax

GxCalGetDriverSummary (pszSummary, nSummaryMaxLen, pdwVersion, pnStatus)

Parameters

Name
Type
Description
pszSummary
PSTR
Buffer to receive the summary string.
nSummaryMaxLen
SHORT
Buffer size passed by pszSummary.
pdwVersion
PDWORD
Driver version
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Example

The following example returns the driver summary.

 

SHORT nHandle, nStatus;

DWORD dwVersion;

CHAR szSummary[128];

GxCalGetDriverSummary(szSummary, 128, &dwVersion, &nStatus);

After the function call the parameter SzSummary will be set to:

"GXCAL Driver for GX1034, Version 1.00, Copyright(c) 2008 Marvin Test Solutions - MTS inc.".

 

See Also

GxCalGetErrorString