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++ .NET
int CreateContext(ref int contextId);
C#
int CreateContext(ref int contextId);
VB6
Function CreateContext(ByRef contextId As Long) As Long
VB .NET
Function CreateContext(ByRef contextId As integer) As integer
Delphi
function CreateContext(var contextId: integer): integer;
C++ .NET
int myContextId=0;
int retVal=_grfingerx->CreateContext(myContextId);
C#
int myContextId=0;
int retVal=_grfingerx.CreateContext(myContextId);
VB6
Dim myContextId As Long
retVal=GrFingerXCtrl1.CreateContext(myContextId)
VB .NET
Dim myContextId As integer
retVal=_GrFingerX.CreateContext(myContextId)
Delphi
retVal:=GrFingerXCtrl1.CreateContext(contextId);