8.0
S
CAN
API
F
UNCTION
R
EFERENCE
This section provides complete documentation of the functions present in the ScanAPI DLL. Refer to the RFID
SDK documentation for information about the RFID-specific functions.
8.1
S
CAN
C
HECK
V
ERSION
Prototype
:
SCAN_RESULT ScanCheckVersion(DWORD dwVersionAPP,DWORD* pdwVersionAPI,LPCTSTR
lpszApplicationName);
Purpose
:
Performs a version check between the actual version of ScanAPI installed on the host computer and
the version of ScanAPI the application has been linked to.
Arguments
:
[in] dwVersionAPP is the version the application has been linked with.
[out] *pdwVersionAPI is the actual ScanAPI version installed on the host computer.
[in] lpszApplicationName is the name of the application using ScanAPI.
Notes
:
If the dwVersionAPP is superior to the actual ScanAPI Version an error would be returned. This
error can be ignored if the application developer knows the application can run with this older
version of ScanAPI.
Returns
:
SR_SUCCESS if the Actual ScanAPI version is superior or equal to the version the application has
been linked with.
SR_INVALID_PARAMETERS if pdwVersionAPI is NULL.
SR_INCOMPATIBLE_VERSION if the Actual ScanAPI version is inferior to the version the application
has been linked with. The actual ScanAPI version is returned in the *pdwVersionAPI parameter.
April 8, 2010
Page 21
Document#: 6410-00147 K
Revision 2.28