45 lines
690 B
C++
45 lines
690 B
C++
|
/*
|
||
|
* KEYBRD.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(COPOSKeyboard)
|
||
|
|
||
|
/*
|
||
|
* Define local methods to relay all generic control
|
||
|
* method calls to the m_genericControl member.
|
||
|
*/
|
||
|
DEFINE_GENERIC_CONTROL_FUNCTIONS(COPOSKeyboard)
|
||
|
|
||
|
|
||
|
|
||
|
STDMETHODIMP_(void) COPOSKeyboard::DataEvent(LONG Status)
|
||
|
{
|
||
|
// BUGBUG REMOVE
|
||
|
}
|
||
|
|
||
|
STDMETHODIMP_(void) COPOSKeyboard::ErrorEvent(LONG ResultCode, LONG ResultCodeExtended, LONG ErrorLocus, LONG* pErrorResponse)
|
||
|
{
|
||
|
// BUGBUG REMOVE
|
||
|
}
|
||
|
|