78 lines
1.1 KiB
C++
78 lines
1.1 KiB
C++
/*
|
|
* MICR.CPP
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
#include <windows.h>
|
|
|
|
#include <hidclass.h>
|
|
#include <hidsdi.h>
|
|
|
|
#include <ole2.h>
|
|
#include <ole2ver.h>
|
|
|
|
#include "..\inc\opos.h"
|
|
#include "oposctrl.h"
|
|
|
|
|
|
/*
|
|
* Define constructor/deconstructor.
|
|
*/
|
|
DEFINE_DEFAULT_CONTROL_CONSTRUCTOR(COPOSMICR)
|
|
|
|
/*
|
|
* Define local methods to relay all generic control
|
|
* method calls to the m_genericControl member.
|
|
*/
|
|
DEFINE_GENERIC_CONTROL_FUNCTIONS(COPOSMICR)
|
|
|
|
|
|
|
|
STDMETHODIMP_(LONG) COPOSMICR::BeginInsertion(LONG Timeout)
|
|
{
|
|
LONG result = 0;
|
|
|
|
// BUGBUG FINISH
|
|
return result;
|
|
}
|
|
|
|
STDMETHODIMP_(LONG) COPOSMICR::BeginRemoval(LONG Timeout)
|
|
{
|
|
LONG result = 0;
|
|
|
|
// BUGBUG FINISH
|
|
return result;
|
|
}
|
|
|
|
STDMETHODIMP_(LONG) COPOSMICR::EndInsertion()
|
|
{
|
|
LONG result = 0;
|
|
|
|
// BUGBUG FINISH
|
|
return result;
|
|
}
|
|
|
|
STDMETHODIMP_(LONG) COPOSMICR::EndRemoval()
|
|
{
|
|
LONG result = 0;
|
|
|
|
// BUGBUG FINISH
|
|
return result;
|
|
}
|
|
|
|
STDMETHODIMP_(void) COPOSMICR::DataEvent(LONG Status)
|
|
{
|
|
// BUGBUG FINISH
|
|
}
|
|
|
|
STDMETHODIMP_(void) COPOSMICR::ErrorEvent(LONG ResultCode, LONG ResultCodeExtended, LONG ErrorLocus, LONG* pErrorResponse)
|
|
{
|
|
// BUGBUG FINISH
|
|
}
|
|
|
|
|