Section 5. Example Applications
135
DWORD
read_len=0;
char
wbuff[1];
char*
p;
while (!quit)
{
rs = ReadFile(drv_h, wbuff, sizeof(wbuff), &read_len, &ov_r);
if ( !rs)
{
rs = GetLastError ();
if ( rs != ERROR_IO_PENDING)
{
printf("DeviceIOControl (Read) Error : %i (0x%x)\n", rs, rs );
break;
}
}
rs = WaitForSingleObject ( ov_r.hEvent, INFINITE);
rs = GetOverlappedResult (
drv_h,
// handle of file, pipe, or communications device
&ov_r,
// address of overlapped structure
&read_len,
// address of actual bytes count
FALSE
// wait flag
);
if (quit)
break;
if ( rs )
{
p = wbuff;
while (read_len >0)
{
if (*p == 0x1a)
{
quit = TRUE;
printf("\n\nExiting Test...");
break;
}
putch (*p);
++p;
--read_len;
}
}
}
};
// end of file
Содержание Entuitive 1525L Series
Страница 8: ...2 5 Side View Base Bottom View User Controls ...
Страница 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 ...
Страница 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 ...
Страница 44: ...C 41 See Detail A Detail A ...
Страница 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 ...
Страница 48: ...45 N10051 ...
Страница 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 ...
Страница 59: ...56 Figure 1 1 USB Swipe Reader ...
Страница 63: ...USB Swipe Reader 60 ...
Страница 67: ...USB Swipe Reader 64 ...
Страница 69: ...USB Swipe Reader 66 ...
Страница 89: ...86 Figure 1 1 MagTek Devices and Device Drivers for Windows MTD MagTek Device Drivers for Windows ...
Страница 117: ...MagTek Device Drivers for Windows 114 ...
Страница 127: ...MagTek Device Drivers for Windows 124 ...
Страница 141: ...MagTek Device Drivers for Windows 138 ...
Страница 163: ...MagTek Device Drivers for Windows 160 ...
Страница 165: ...MagTek Device Drivers for Windows 162 ...
Страница 167: ...MagTek Device Drivers for Windows 164 ...