使用的hook类型为WH_CALLWNDPROC,其函数中的参数lParam为 address of structure with message data ,但如何得到消息的内容呢,MSDN上给得不够详细啊
typedef struct tagCWPSTRUCT {
LPARAM lParam;
WPARAM wParam;
UINT message;
HWND hwnd;
} CWPSTRUCT, *PCWPSTRUCT;
PCWPSTRUCT pMsg = (PCWPSTRUCT)lParam;