![]() |
Standalone SDK API Doc
V1.0.4
|
Functions | |
VARIANT_BOOL | UploadUserPhoto (LONG dwMachineNumber, BSTR FileName) |
VARIANT_BOOL | DownloadUserPhoto (LONG dwMachineNumber, BSTR FileName, BSTR FilePath) |
VARIANT_BOOL | DeleteUserPhoto (LONG dwMachineNumber, BSTR FileName) |
VARIANT_BOOL | GetAllUserPhoto (LONG dwMachineNumber, BSTR dlDir) |
VARIANT_BOOL | GetPhotoNamesByTime (LONG dwMachineNumber, LONG iFlag, BSTR sTime, BSTR eTime, BSTR *AllPhotoName) |
VARIANT_BOOL | GetPhotoByName (LONG dwMachineNumber, BSTR PhotoName, BYTE *PhotoData, LONG *PhotoLength) |
VARIANT_BOOL | GetPhotoCount (LONG dwMachineNumber, LONG *Count, LONG iFlag) |
VARIANT_BOOL | ClearPhotoByTime (LONG dwMachineNumber, LONG iFlag, BSTR sTime, BSTR eTime) |
VARIANT_BOOL UploadUserPhoto | ( | LONG | dwMachineNumber, |
BSTR | FileName | ||
) |
To upload a user picture to the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL DownloadUserPhoto | ( | LONG | dwMachineNumber, |
BSTR | FileName, | ||
BSTR | FilePath | ||
) |
To download a user picture from the machine to the software.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL DeleteUserPhoto | ( | LONG | dwMachineNumber, |
BSTR | FileName | ||
) |
To delete a single user picture or all user pictures on the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetAllUserPhoto | ( | LONG | dwMachineNumber, |
BSTR | dlDir | ||
) |
To download all user pictures from the machine to the software.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetPhotoNamesByTime | ( | LONG | dwMachineNumber, |
LONG | iFlag, | ||
BSTR | sTime, | ||
BSTR | eTime, | ||
BSTR * | AllPhotoName | ||
) |
To download attendance pictures from the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetPhotoByName | ( | LONG | dwMachineNumber, |
BSTR | PhotoName, | ||
BYTE * | PhotoData, | ||
LONG * | PhotoLength | ||
) |
To download an attendance picture from the machine based on the picture name.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL GetPhotoCount | ( | LONG | dwMachineNumber, |
LONG * | Count, | ||
LONG | iFlag | ||
) |
To query the number of attendance pictures on the machine.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |
VARIANT_BOOL ClearPhotoByTime | ( | LONG | dwMachineNumber, |
LONG | iFlag, | ||
BSTR | sTime, | ||
BSTR | eTime | ||
) |
To clear attendance pictures on the machine according to specified conditions.
Parameter description:
|
name | type | description of value |
---|---|---|
True | BOOL | Function execution success |
False | BOOL | Function execution failure |