
Section 5. Example Applications
133
NULL,
// address of thread security attributes
0L,
// initial thread stack size, in bytes
(LPTHREAD_START_ROUTINE)input_thread,// addr of thread function
NULL,
// argument for new thread
0L,
// creation flags 0-run immediately
&retdw
// address of returned thread identifier
),
"Can't Create input thread" );
in_threadh = ret_h;
Sleep(100);
printf("\nTest Console started. (press <^Z> to terminate).\n");
} while (0);
switch ( stage)
{
case 9:
WaitForSingleObject (in_threadh, INFINITE); printf ("\n");
case 8:
quit = TRUE;
ws = WaitForSingleObject ( out_threadh, 300);
if (ws != WAIT_OBJECT_0)
{
DWORD ret_len;
}
SetEvent (ov_r.hEvent); //@@out_ev);
ws = WaitForSingleObject ( out_threadh, INFINITE);
CloseHandle ( out_threadh );
CloseHandle ( in_threadh );
case 7: CloseHandle ( ov_w.hEvent );
case 6: CloseHandle ( ov_r.hEvent );
case 1: CloseHandle ( drv_h );
}
return (0);
}
/* --- Helpers -------------------------------------------------------------- */
#define SINGLE_CHARS
void
input_thread
(void *p)
{
int
ch;
DWORD ws;
char
str[100];
ch = 0;
while(!quit)
{
#ifdef SINGLE_CHARS
ch = getch();
printf("%c", ch);
if (ch == 13)
printf("\n");
if ( ch == 0 )
{
if (kbhit())
{
ch = 0x100 + getch();
}
Summary of Contents for Entuitive 1525L Series
Page 8: ...2 5 Side View Base Bottom View User Controls ...
Page 27: ...2 24 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e ...
Page 31: ...3 28 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e ...
Page 44: ...C 41 See Detail A Detail A ...
Page 45: ...C 42 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e ...
Page 48: ...45 N10051 ...
Page 49: ...46 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e ...
Page 59: ...56 Figure 1 1 USB Swipe Reader ...
Page 63: ...USB Swipe Reader 60 ...
Page 67: ...USB Swipe Reader 64 ...
Page 69: ...USB Swipe Reader 66 ...
Page 117: ...MagTek Device Drivers for Windows 114 ...
Page 127: ...MagTek Device Drivers for Windows 124 ...
Page 141: ...MagTek Device Drivers for Windows 138 ...
Page 163: ...MagTek Device Drivers for Windows 160 ...
Page 165: ...MagTek Device Drivers for Windows 162 ...