AxibugEmuOnline/References/virtuanessrc097-master/WndHook.h

38 lines
1.4 KiB
C
Raw Normal View History

<EFBFBD><EFBFBD>//
// <EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0
//
#ifndef __CWNDHOOK_INCLUDED__
#define __CWNDHOOK_INCLUDED__
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
// prototypes
class CWnd;
class CWndHook
{
public:
static void Initialize();
static void Release();
static void SetFiltering( BOOL bMode ) { m_bMsgFiltering = bMode; }
static BOOL WalkPreTranslateTree( MSG* lpMsg );
protected:
static LRESULT CALLBACK MessageFilterProc( INT code, WPARAM wParam, LPARAM lParam );
// <EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0Y0<EFBFBD>0K0i0F0K0n0<EFBFBD>0<EFBFBD>0<EFBFBD>0
static BOOL m_bMsgFiltering;
// <EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0L0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0-NK0i0F0K0n0<EFBFBD>0<EFBFBD>0<EFBFBD>0
static BOOL m_bMsgFilter;
// CQn0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0
static HHOOK m_hOldMsgFilter;
private:
};
#endif // !__CWNDHOOK_INCLUDED__