Sets the identification parameters in the supplied context.
| Prerequisites | The Fingerprint SDK library must have been previously initialized. |
| Return | On success, GR_OK is returned. If any supplied parameter is invalid or out of range, its default value will be used and GR_DEFAULT_USED is returned. On failure, the appropriate error code is returned. |
| [in] identifyThreshold |
The identification score threshold. |
| [in] identifyRotationTolerance |
The rotation tolerance for the identification process. |
| [in] context |
Context in which the identification parameters will be set. |
C++
int __stdcall GrSetIdentifyParameters (int identifyThreshold, int identifyRotationTolerance, int context);
Delphi
function GrSetIdentifyParameters(identifyThreshold: Integer; identifyRotationTolerance: Integer; context: Integer): Integer; stdcall;
C++
ret = GrSetIdentifyParameters(thresholdId, rotationMaxId, GR_DEFAULT_CONTEXT);
// error?
if (ret == GR_DEFAULT_USED) {
MessageBox::Show("Invalid identify parameters values. Default values will be used.");
}
Delphi
ret := GrSetIdentifyParameters(thresholdId, rotationMaxId, GR_DEFAULT_CONTEXT);
// error?
if ret = GR_DEFAULT_USED then begin
showmessage('Invalid identify parameters values. Default values will be used.');
end;