GxPdoGetDriverSummary

Purpose

Returns the driver description string and version number.

Syntax

GxPdoGetDriverSummary (pszSummary, nSummaryMaxLen, pdwVersion, pnStatus)

Parameters

Name
Type
Description
pszSummary
PSTR
Buffer to receive the summary string.
nSummaryMaxLen
SHORT
Buffer size passed by pszSummary.
pdwVersion
LPDWORD
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];

 

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

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

"GXPDO Driver for GX3348, Version 1.00, Copyright(c) 2012 Marvin Test Solutions - MTS inc.".

 

See Also

GxPdoGetErrorString