EnumeratePadsFirst
Declaration
Delphi
function EnumeratePadsFirst(var FirstPad: ShortString): Boolean;
C/C++
SOPAD_API BOOL SOPAD_EnumeratePadsFirst(char szFirstPad[SOPAD_MAX_STRING_LENGTH]);
ActiveX
HRESULT EnumeratePadsFirst([out] BSTR* FirstPad, [out, retval] VARIANT_BOOL* Result);
Description
Function starts enumeration of attached signature devices.
Arguments
FirstPad
PadSettings string of first attached signature device.
Return value
Function returns true if at least one signature device is attached and its PadSettings string is copied to FirstPad variable. Return value is false if no attached devices found.
Sample
C#
// Setting filters to ignore Mouse, TabletPC-Pen/Touch and MobileDevices(Andriod/iOS) SigDev.SetDriverLong(59, 1); SigDev.SetDriverLong(60, 1); SigDev.SetDriverLong(61, 1); SigDev.SetDriverLong(67, 1); Â string firstPad; bool devFound = SigDev.EnumeratePadsFirst(out firstPad);