关于键盘钩子回调函数的参数疑问,该如何处理

关于键盘钩子回调函数的参数疑问
MFC的exe程序中的键盘钩子导出函数 _declspec(dllexport) LRESULT CALLBACK MFCAPP::keyCallBack(int nCode, WPARAM wParam, LPARAM lParam)
如果发生键盘按下/弹起,那么回调的时候nCode的值是0x100/0x101

Win32Application的exe的程序中的键盘钩子导出函数 _declspec(dllexport) LRESULT CALLBACK MFCAPP::keyCallBack(int nCode, WPARAM wParam, LPARAM lParam)
如果发生键盘按下/弹起,那么回调的时候nCode的值是0

这是为什么呢?
为什么nCode的回调值在MFC中是0x100/0x101,而在Win32Application中却是0呢?
期待高手解决或者指点。

注:运行环境为:VC6.0 SP6

------解决方案--------------------
API的细节问题


UP
------解决方案--------------------
win32 和 Mfc的线程消息循环有差异:win32直接调用getmessage mfc首先调用peekmessage,
看msdn的解释:
HC_ACTION The wParam and lParam parameters contain information about a keystroke message. 
HC_NOREMOVE The wParam and lParam parameters contain information about a keystroke message, and the keystroke message has not been removed from the message queue. (An application called the PeekMessage function, specifying the PM_NOREMOVE flag.)