Griaule Biometrics

Home » Fingerprint SDK 2009 Developer's Manual » Programming Reference Guide » Fingerprint SDK DLL Reference Guide » Capture functions » GrCapStartCapture

GrCapStartCapture

Starts capturing fingerprint images from the supplied fingerprint reader.

Prerequisites The capture module must have been previously initialized.
The supplied fingerprint reader must be connected, working and recognized as plugged by the capture module.

Return On success, GR_OK is returned.
On failure, the appropriate error code is returned.

Parameters

[in] idSensor

The ID of the fingerprint reader to start capturing images from.

[in] FingerEventHandler

Callback function responsible for handling the finger events.

[in] ImageEventHandler

Callback function responsible for handling the image event.

See also

Declaration

C++

int __stdcall GrCapStartCapture(char* idSensor, FingerCallBack* FingerEventHandler, ImageCallBack* ImageEventHandler);

Delphi

function GrCapStartCapture(idSensor: PChar; FingerEventHandler: GRCAP_FINGER_EVENT_PROC; ImageEventHandler: GRCAP_IMAGE_EVENT_PROC): Integer; stdcall;

Sample Code

C++

if (event == GR_PLUG) {
	// Start capturing from the plugged reader.
	GrCapStartCapture(idSensor, myFingerCallBack, myImageCallBack);
}

Delphi

if (event = GR_PLUG) then
	// Start capturing from the plugged reader.
	GrCapStartCapture(idSensor, @FingerCallback, @ImageCallback)