Chapter 4: SG-Lock API
19
4.2 Basic functions
4.2.1 Function: SglAuthent
Description
Authentication of SG-Lock library to the protected application and vice versa.
Types
U2:
U3:
U4:
Declaration
ULONG S g l A u t h e n t (
ULONG * AuthentCode ) ;
Parameters
AuthentCode
48 byte sequence, that is unique to every SG-
Lock customer
Return values
SGL_SUCCESS
Authentification successfull
SGL_AUTHENTICATION_FAILED
Authentification failed
The full list of return codes is listed in chapter 4.6.
Comments
This function of the SG-Lock API has to be called once first and successfully to
enable all other API functions. In the case of dynamic linking the authentication
is required after every link procedure (LoadLibrary call).
Every customer get his unique Authentcode when purchasing SG-Lock (non
Demo) the first time. Demo kits have an own authentication code (see exam-
ple source code files).
Содержание SG-Lock
Страница 2: ......
Страница 22: ......
Страница 60: ......
Страница 62: ...56 Chapter 7 Technical Data Notes ...
Страница 63: ...Chapter 7 Technical Data 57 ...