windows-nt/Source/XPSP1/NT/admin/wmi/wbem/adapters/odbc/dlgcback.h
2020-09-26 16:20:57 +08:00

14 lines
375 B
C

// Window Procedure to circumvent bug(?) in mfc
struct CWindowInfo {
HWND m_hWnd;
WNDPROC m_oldWindowProc;
CWindowInfo (HWND hWnd, WNDPROC oldWindowProc) : m_hWnd (hWnd),
m_oldWindowProc (oldWindowProc) {}
};
extern CMap<SHORT, SHORT, CWindowInfo*, CWindowInfo*> windowMap;
extern LRESULT CALLBACK
MySubClassProc (HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam);