windows-nt/Source/XPSP1/NT/admin/wmi/wbem/adapters/odbc/dlgcback.h

14 lines
375 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
// 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);