stopCapture

Declaration

Delphi

function stopCapture(var PadID: PIDType; var TimeStamp: GMTStampType; LParam: Cardinal): Boolean;

C/C++

SOPAD_API BOOL SOPAD_stopCapture(SOPAD_PIDType pPadID, SOPAD_GMTStampType* pTimeStamp, LPARAM lParam);

ActiveX

HRESULT stopCapture([in] long LParam);

Description

Function is an extended version of stopRead. It finishes signing process.

Arguments

PadID

Output parameter. Deivce id for pre-naturaSign pads with id (like +Pad).   Futher detail to the structure can found here PIDType .

TimeStamp

Output parameter. Device clock value.  Futher detail to the structure can found here GMTStampType.

LParam

First bit controls pad mode. If no other signature will be taken, pad should be switched to manufacturer logo mode. If another signature will be taken (or current one repeated), signature device can be left in current mode to increase overall performance. Has effect only for some naturaSign devices.

 

Bit valueDescription
0Switch to manufacturer logo mode
1Don't change pad mode

Return value

Function returns true if on success, false otherwise.