Griaule Biometrics

Home » Fingerprint SDK 2009 Developer's Manual » Programming Reference Guide » Fingerprint SDK DLL Reference Guide » Initialization and finalization functions » GrCreateContext

GrCreateContext

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.

Parameters

[out] contextId

The identifier of the newly created context.

Declaration

C++

int __stdcall GrCreateContext (int *contextId);

Delphi

function GrCreateContext( var contextId: Integer): Integer; stdcall;

Sample Code

C++

int contextId=0;
retVal=GrCreateContext(&contextId);

Delphi

Var
	contextId : integer; 
begin
	retVal:=GrCreateContext(var contextId);