Creates a context in which extraction, verification and identification may be performed.
| Prerequisites | The Fingerprint SDK library must have been previously initialized. |
| Return | On success, GR_OK is returned. On failure, the appropriate error code is returned. |
| [out] contextId |
The identifier of the newly created context. |
C++
int __stdcall GrCreateContext (int *contextId);
Delphi
function GrCreateContext( var contextId: Integer): Integer; stdcall;
C++
int contextId=0;
retVal=GrCreateContext(&contextId);
Delphi
Var
contextId : integer;
begin
retVal:=GrCreateContext(var contextId);