![]() |
Standalone SDK API Doc
V1.0.4
|
Functions | |
VARIANT_BOOL | GetStrCardNumber (BSTR *ACardNumber) |
VARIANT_BOOL | SetStrCardNumber (BSTR ACardNumber) |
VARIANT_BOOL | IsNewFirmwareMachine (LONG dwMachineNumber) |
VARIANT_BOOL | GetDeviceFirmwareVersion (LONG dwMachineNumber, BSTR *strVersion) |
Variables | |
LONG | AccGroup |
LONG | AccTimeZones |
LONG | BASE64 |
LONG | CardNumber |
LONG | CommPort |
LONG | ConvertBIG5 |
LONG | PINWidth |
VARIANT_BOOL GetStrCardNumber | ( | BSTR * | ACardNumber | ) |
To query the value of the SDK attribute cardnumber. You can invoke this function to query the card number of a user after obtaining the information about this user.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SetStrCardNumber | ( | BSTR | ACardNumber | ) |
To set the value of the SDK attribute cardnumber. Before setting user information, you are advised to invoke this function to set the card number of the user.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL IsNewFirmwareMachine | ( | LONG | dwMachineNumber | ) |
To identify whether the current device firmware are new architecture firmware.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetDeviceFirmwareVersion | ( | LONG | dwMachineNumber, |
BSTR * | strVersion | ||
) |
To query the firmware version.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
LONG AccGroup |
To set or query the group to which a specified user belongs.
LONG AccTimeZones |
To set the usage period of a user.
LONG BASE64 |
To set the code type.
LONG CardNumber |
To set or read the card number of a user.
LONG CommPort |
To set a serial port number, or a port number used for RS485 connection.
LONG ConvertBIG5 |
To convert simplified Chinese characters into traditional Chinese characters.
LONG PINWidth |
To label the maximum length of the user code, which is an Arabic numeral.