windows-nt/Source/XPSP1/NT/admin/activec/conui/kbdnav.h

39 lines
839 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*--------------------------------------------------------------------------*
*
* Microsoft Windows
* Copyright (C) Microsoft Corporation, 1992 - 00
*
* File: kbdnav.h
*
* Contents: Interface file for CKeyboardNavDelayTimer
*
* History: 4-May-2000 jeffro Created
*
*--------------------------------------------------------------------------*/
#pragma once
#ifdef DBG
extern CTraceTag tagKeyboardNavDelay;
#endif
class CKeyboardNavDelayTimer
{
public:
typedef std::map<UINT_PTR, CKeyboardNavDelayTimer*> CTimerMap;
CKeyboardNavDelayTimer();
~CKeyboardNavDelayTimer();
SC ScStartTimer();
SC ScStopTimer();
virtual void OnTimer() = 0;
private:
static VOID CALLBACK TimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime);
static CTimerMap& GetTimerMap();
private:
UINT_PTR m_nTimerID;
};