Hand Held Products PadCom TT1500 User Manual page 126

Point-of-sale terminal control library
Table of Contents

Advertisement

}
}
}
SetTimer(hWnd, MSR_TIMER_ID, 1000, lpfnMyTimerProc);
}
//
// ********************************************************************************
// *
// * ResetMSR - initializes the MSR and sets up a timer to pole for MSR data
// *
// ********************************************************************************
//
int ResetMSR ( HWND hWnd )
{
//
// *******************************************************
// * Step 2: prepare the MSR to read data.
// *******************************************************
//
if ( padGetMagTrack ( 0,0,0 ) )
{
//
// Initialize the contents of the buffers.
//
strcpy ( track1, "NO DATA READ" );
strcpy ( track2, "NO DATA READ" );
strcpy ( track3, "NO DATA READ" );
//
// In Windows it is not good to use "do" or "while" loops.
// Instead we will use a timer to pole the MSR for data
//
lpfnMyTimerProc = (TIMERPROC) MakeProcInstance( (FARPROC) TimerProc,
5 - 38
*
*
*
*

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents