34
Chapter 4: SG-Lock API
4.5.4 Function: SglReadConfig
Description
Reads configuration information about SG-Lock.
Types
U2:
U3:
U4:
Declaration
ULONG S g l R e a d C o n f i g (
ULONG P r o d u c t I d ,
ULONG C a t e g o r y ,
ULONG * Data ) ;
Parameters
ProductId
Indicates the ProductId of the SG-Lock
Category
Type of requested information
0: Information about SG-Lock modul
Data
Pointer to Data array of 8 integers of 32-bit The
meaning of the single values are:
Index 0: Type
Index 1: Interface
Index 2: Software Version
Index 3: Hardware Version
Index 4: Serial number
Index 5: Memory size in Dwords
Index 6: Number of counters
Index 7: Number of 128-Bit Keys
Return values
SGL_SUCCESS
Information successfully read
SGL_DGL_NOT_FOUND
SG-Lock not found
The full list of return codes is listed in chapter 4.6.
Summary of Contents for SG-Lock
Page 2: ......
Page 22: ......
Page 60: ......
Page 62: ...56 Chapter 7 Technical Data Notes ...
Page 63: ...Chapter 7 Technical Data 57 ...