/
EnumeratePadsFirst

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);


See also

PadSettings string

EnumeratePadsNext

Related content

3. Integration
Read with this
EnumeratePadsNext
EnumeratePadsNext
More like this
OnDevicePenEventHandler
OnDevicePenEventHandler
Read with this
isPadavAvailable
isPadavAvailable
More like this
2. How to start
2. How to start
Read with this
checkConnectedPad
checkConnectedPad
More like this