Section 5. Example Applications
47
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 1229L
Page 1: ......
Page 11: ...1 6 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 14: ...2 9 Side View Base Bottom View...
Page 43: ...4 38 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 54: ...C 49...
Page 55: ...C 50 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: ...54 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 70: ...vii...
Page 71: ...Figure 1 1 USB Swipe Reader viii...
Page 75: ...USB HID Keyboard Emulation Swipe Reader 4...
Page 79: ...USB HID Keyboard Emulation Swipe Reader 8...
Page 81: ...USB HID Keyboard Emulation Swipe Reader 10...
Page 103: ...vi Figure 1 1 Port Powered Swipe Reader...
Page 107: ...Port Powered Swipe Reader 4 Figure 1 3 Dimensions...
Page 111: ...Port Powered Swipe Reader 8...
Page 115: ...Port Powered Swipe Reader 12...
Page 151: ...MagTek Device Drivers for Windows 28...
Page 161: ...MagTek Device Drivers for Windows 38...
Page 175: ...MagTek Device Drivers for Windows 52...
Page 197: ...MagTek Device Drivers for Windows 74...
Page 199: ...MagTek Device Drivers for Windows 76...
Page 201: ...MagTek Device Drivers for Windows 78...
Page 220: ...i Customer Displays 2 by 20 character display USER MANUAL Models LD9000 Series...
Page 249: ......