DTWAIN_GetActiveDSMVersionInfo
|
DTWAIN_GetActiveDSMVersionInfo DTWAIN_GetActiveDSMVersionInfoA DTWAIN_GetActiveDSMVersionInfoW |
|
The DTWAIN_GetActiveDSMVersionInfo gets the version information of the TWAIN Data Source Manager that is in use.
LONG DTWAIN_GetActiveDSMVersionInfo (
Parameters szBuffer Specifies the address of the character buffer to store the version information. This parameter can also be NULL.
MaxLen Specifies the maximum number of characters to copy to szBuffer.
Return Values If the function succeeds, the number of characters copied to szBuffer is returned. If the function fails, DTWAIN_FAILURE1 is returned.
Character specific version
Comments The DTWAIN_GetActiveDSMVersionInfo function fills szBuffer with the version information of the active TWAIN Data Source Manager (DSM) that is currently being used.
If szBuffer is NULL, the length of the DSM path, plus 1 for the trailing NULL, is returned. The MaxLen argument is ignored and no characters are copied to szBuffer. You can use this method to determine the total number of characters needed to store the entire name.
TWAIN State Transitions None.
Prerequisite Function Call(s) None. See Also Retrieving General DTWAIN Information
|