DTWAIN_GetVersionInfo
The DTWAIN_GetVersionInfo gets the full version resource information of DTWAIN that is running as a text string.
LONG DTWAIN_GetVersionInfo (
Parameters lpszBuffer Pointer to string buffer that will be filled with the DTWAIN version resource information, or NULL.
lBufSize Maximum size, in characters, of the buffer pointed to by lpszBuffer.
Return Values The number of characters copied to lpszBuffer, or if lpszBuffer is NULL, the number of characters needed to store the entire string (including NULL terminator).
Character specific version
Comments This function returns the full DTWAIN DLL version resource in the form of a text string. The lpszBuffer is the address of the buffer that will be filled in. If lpszBuffer is NULL or 0, DTWAIN_GetVersionInfo returns the number of characters needed to store the entire string information plus 1 ( for the NULL terminator character).
The lBufSize is the maximum size, in characters, of the buffer pointed to by lpszBuffer. This argument is ignored if lpszBuffer is NULL.
This function differs from DTWAIN_GetVersionString in that the entire version resource information is included when using DTWAIN_GetVersionInfo, instead of just the version number when you call DTWAIN_GetVersionString.
TWAIN State Transitions None.
Prerequisite Function Call(s) None |