![]() |
Standalone SDK API Doc
V1.0.4
|
Functions | |
VARIANT_BOOL | ClearAdministrators (LONG dwMachineNumber) |
VARIANT_BOOL | EnableDevice (LONG dwMachineNumber, VARIANT_BOOL bFlag) |
VARIANT_BOOL | EnableClock (LONG Enabled) |
VARIANT_BOOL | DisableDeviceWithTimeOut (LONG dwMachineNumber, LONG TimeOutSec) |
VARIANT_BOOL | PowerOffDevice (LONG dwMachineNumber) |
VARIANT_BOOL | RestartDevice (LONG dwMachineNumber) |
VARIANT_BOOL | StartEnroll (LONG UserID, LONG FingerID) |
VARIANT_BOOL | StartEnrollEx (BSTR UserID, LONG FingerID, LONG Flag) |
VARIANT_BOOL | StartVerify (LONG UserID, LONG FingerID) |
VARIANT_BOOL | StartIdentify () |
VARIANT_BOOL | CancelOperation () |
VARIANT_BOOL | WriteLCD (LONG Row, LONG Col, BSTR Text) |
VARIANT_BOOL | ClearLCD () |
VARIANT_BOOL | WriteCard (LONG dwMachineNumber, LONG dwEnrollNumber, LONG dwFingerIndex1, BYTE *TmpData1, LONG dwFingerIndex2, BYTE *TmpData2, LONG dwFingerIndex3, BYTE *TmpData3, LONG dwFingerIndex4, BYTE *TmpData4,) |
VARIANT_BOOL | EmptyCard (LONG dwMachineNumber) |
VARIANT_BOOL | GetHIDEventCardNumAsStr (BSTR *strHIDEventCardNum) |
VARIANT_BOOL | CaptureImage (VARIANT_BOOL FullImage, LONG *Width, LONG *Height, BYTE *Image, BSTR ImageFile) |
VARIANT_BOOL | UpdateFirmware (BSTR FirmwareFile) |
VARIANT_BOOL | BeginBatchUpdate (LONG dwMachineNumber, LONG UpdateFlagl) |
VARIANT_BOOL | BatchUpdate (LONG dwMachineNumber) |
VARIANT_BOOL | CancelBatchUpdate (LONG dwMachineNumber) |
VARIANT_BOOL | PlayVoice (LONG Position, LONG Length) |
VARIANT_BOOL | PlayVoiceByIndex (LONG Index) |
VARIANT_BOOL | ReadAttRule (LONG dwMachineNumber) |
VARIANT_BOOL | SaveTheDataToFile (LONG dwMachineNumber, BSTR TheFilePath, LONG FileFlag) |
VARIANT_BOOL | ReadTurnInfo (LONG dwMachineNumber) |
VARIANT_BOOL | SSR_OutPutHTMLRep (LONG dwMachineNumber, BSTR dwEnrollNumber, BSTR AttFile, BSTR UserFile, BSTR DeptFile, BSTR TimeClassFile, BSTR AttruleFile, LONG BYear, LONG BMonth, LONG BDay, LONG BHour, LONG BMinute, LONG BSecond, LONG EYear, LONG EMonth, LONG EDay, LONG EHour, LONG EMinute, LONG ESecond, BSTR TempPath, BSTR OutFileName, LONG HTMLFlag, LONG resv1, BSTR resv2) |
VARIANT_BOOL | Connect_P4P (BSTR uid) |
LONG | GetDeviceStatusEx (LONG dwMachineNumber) |
VARIANT_BOOL | GetConnectStatus (LONG *dwErrorCode) VARIANT_BOOL GetSysOption(LONG dwMachineNumber |
VARIANT_BOOL | SetSysOption (LONG dwMachineNumber, BSTR Option, BSTR Value) |
VARIANT_BOOL | SearchDevice (BSTR commType, BSTR address, BSTR *DevBuffer, LONG DevBufferSize) |
VARIANT_BOOL | SetCommProType (LONG proType) |
VARIANT_BOOL | SSR_DelUserTmpExt (LONG dwMachineNumber, BSTR dwEnrollNumber, LONG dwFingerIndex) |
VARIANT_BOOL ClearAdministrators | ( | LONG | dwMachineNumber | ) |
To clear the operation rights of all administrators.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL EnableDevice | ( | LONG | dwMachineNumber, |
VARIANT_BOOL | bFlag | ||
) |
To enable or disable the machine. After the machine is disabled, the fingerprint, keyboard, and card modules are unavailable.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL EnableClock | ( | LONG | Enabled | ) |
To enable or disable the display of the colon (:) in the time of the machine. The colon is displayed on the main screen of the machine if enabled, and not displayed if disabled.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL DisableDeviceWithTimeOut | ( | LONG | dwMachineNumber, |
LONG | TimeOutSec | ||
) |
To disable the machine for a period of time.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL PowerOffDevice | ( | LONG | dwMachineNumber | ) |
To shut down the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL RestartDevice | ( | LONG | dwMachineNumber | ) |
To restart the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL StartEnroll | ( | LONG | UserID, |
LONG | FingerID | ||
) |
To register a user. The machine will then enter the user registration state and waits for the user to scan fingerprints.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL StartEnrollEx | ( | BSTR | UserID, |
LONG | FingerID, | ||
LONG | Flag | ||
) |
To register a user. The machine will then enter the user registration state and waits for the user to scan fingerprints.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL StartVerify | ( | LONG | UserID, |
LONG | FingerID | ||
) |
To start 1:1 comparison.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL StartIdentify | ( | ) |
To start 1:N comparison. Then the machine will enter the 1:N verification state.
None |
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL CancelOperation | ( | ) |
To cancel the current fingerprint registration state of the machine.
None |
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL WriteLCD | ( | LONG | Row, |
LONG | Col, | ||
BSTR | Text | ||
) |
To write data. Specifically, this function is used to write a character string to any row of any column on the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ClearLCD | ( | ) |
To clear the screen of the machine. Specifically, this function is used to clear all information displayed on the LCD screen of the machine.
None |
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL WriteCard | ( | LONG | dwMachineNumber, |
LONG | dwEnrollNumber, | ||
LONG | dwFingerIndex1, | ||
BYTE * | TmpData1, | ||
LONG | dwFingerIndex2, | ||
BYTE * | TmpData2, | ||
LONG | dwFingerIndex3, | ||
BYTE * | TmpData3, | ||
LONG | dwFingerIndex4, | ||
BYTE * | TmpData4 | ||
) |
To write a specified user and the fingerprint template of the user to the MF card. After this function is invoked, the user needs to punch the MF card on the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL EmptyCard | ( | LONG | dwMachineNumber | ) |
To clear the MF card.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetHIDEventCardNumAsStr | ( | BSTR * | strHIDEventCardNum | ) |
To query the number of the card that is punched most recently.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL CaptureImage | ( | VARIANT_BOOL | FullImage, |
LONG * | Width, | ||
LONG * | Height, | ||
BYTE * | Image, | ||
BSTR | ImageFile | ||
) |
To capture an image of the finger of which the fingerprint is being scanned.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL UpdateFirmware | ( | BSTR | FirmwareFile | ) |
To upgrade the firmware. To use this function, obtain the firmware from the technical support engineers of our company beforehand.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL BeginBatchUpdate | ( | LONG | dwMachineNumber, |
LONG | UpdateFlagl | ||
) |
To get ready for uploading data in batches. For example, if you invoke this function before uploading data such as fingerprint templates or user information, the SDK will temporarily store the data in the buffer. Then you can invoke BatchUpdate to upload the data to the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL BatchUpdate | ( | LONG | dwMachineNumber | ) |
To upload data in batches. Generally you are advised to invoke BeginBatchUpdate to upload the data to the buffer before invoking this function.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL CancelBatchUpdate | ( | LONG | dwMachineNumber | ) |
To cancel bulk data uploading. You can invoke this function after invoking BeginBatchUpdate but before invoking BatchUpdate. This function aims to release the buffer allocated for bulk data uploading.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL PlayVoice | ( | LONG | Position, |
LONG | Length | ||
) |
To play announcements with specified consecutive indexes. The indexes depend on the machine. You can view the indexes, which range from 0 to 11, in voice testing on the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL PlayVoiceByIndex | ( | LONG | Index | ) |
To play an announcement with the specified index. The index depends on the machine. You can view the index, which ranges from 0 to 11, in voice testing on the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ReadAttRule | ( | LONG | dwMachineNumber | ) |
To read the attendance rule of the machine. This function supports OP1000.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SaveTheDataToFile | ( | LONG | dwMachineNumber, |
BSTR | TheFilePath, | ||
LONG | FileFlag | ||
) |
To save the data in the buffer as a file. This function supports OP1000.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ReadTurnInfo | ( | LONG | dwMachineNumber | ) |
To read the shift information on the machine. This function supports OP1000.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SSR_OutPutHTMLRep | ( | LONG | dwMachineNumber, |
BSTR | dwEnrollNumber, | ||
BSTR | AttFile, | ||
BSTR | UserFile, | ||
BSTR | DeptFile, | ||
BSTR | TimeClassFile, | ||
BSTR | AttruleFile, | ||
LONG | BYear, | ||
LONG | BMonth, | ||
LONG | BDay, | ||
LONG | BHour, | ||
LONG | BMinute, | ||
LONG | BSecond, | ||
LONG | EYear, | ||
LONG | EMonth, | ||
LONG | EDay, | ||
LONG | EHour, | ||
LONG | EMinute, | ||
LONG | ESecond, | ||
BSTR | TempPath, | ||
BSTR | OutFileName, | ||
LONG | HTMLFlag, | ||
LONG | resv1, | ||
BSTR | resv2 | ||
) |
To generate the attendance report of a user within the specified time period in HTML format. This function supports OP1000.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL Connect_P4P | ( | BSTR | uid | ) |
To connect P2P devices.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
LONG GetDeviceStatusEx | ( | LONG | dwMachineNumber | ) |
To get the status of the P2P devices.
Parameter description:
|
name | type | description of value |
---|---|---|
1 | LONG | Machine is reading data |
2 | LONG | Machine is writing data |
3 | LONG | Machine is working |
greater than 3 | LONG | The machine is free and the software can operate the machine |
VARIANT_BOOL GetConnectStatus | ( | LONG * | dwErrorCode | ) |
Get the error code return from the function BatchUpdate()
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SetSysOption | ( | LONG | dwMachineNumber, |
BSTR | Option, | ||
BSTR | Value | ||
) |
To set parameter value.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SearchDevice | ( | BSTR | commType, |
BSTR | address, | ||
BSTR * | DevBuffer, | ||
LONG | DevBufferSize | ||
) |
Use web search devices.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SetCommProType | ( | LONG | proType | ) |
Set the priority to use PULL or Standlone SDK to connect the device.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL SSR_DelUserTmpExt | ( | LONG | dwMachineNumber, |
BSTR | dwEnrollNumber, | ||
LONG | dwFingerIndex | ||
) |
Deletes the specified fingerprint template for the specified user.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |