wince下的按键钩子示例

源代码在线查看: keybdhook_ce.vcp

软件大小: 124 K
上传用户: leaveyourjam
关键词: wince 按键
下载地址: 免注册下载 普通下载 VIP

相关代码

				# Microsoft eMbedded Visual Tools Project File - Name="KeybdHook_CE" - Package Owner=
				# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02
				# ** DO NOT EDIT **
				
				# TARGTYPE "Win32 (WCE x86) Dynamic-Link Library" 0x8302
				# TARGTYPE "Win32 (WCE emulator) Dynamic-Link Library" 0xa602
				
				CFG=KeybdHook_CE - Win32 (WCE emulator) Debug
				!MESSAGE This is not a valid makefile. To build this project using NMAKE,
				!MESSAGE use the Export Makefile command and run
				!MESSAGE 
				!MESSAGE NMAKE /f "KeybdHook_CE.vcn".
				!MESSAGE 
				!MESSAGE You can specify a configuration when running NMAKE
				!MESSAGE by defining the macro CFG on the command line. For example:
				!MESSAGE 
				!MESSAGE NMAKE /f "KeybdHook_CE.vcn" CFG="KeybdHook_CE - Win32 (WCE emulator) Debug"
				!MESSAGE 
				!MESSAGE Possible choices for configuration are:
				!MESSAGE 
				!MESSAGE "KeybdHook_CE - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Dynamic-Link Library")
				!MESSAGE "KeybdHook_CE - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Dynamic-Link Library")
				!MESSAGE "KeybdHook_CE - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Dynamic-Link Library")
				!MESSAGE "KeybdHook_CE - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Dynamic-Link Library")
				!MESSAGE 
				
				# Begin Project
				# PROP AllowPerConfigDependencies 0
				# PROP Scc_ProjName ""
				# PROP Scc_LocalPath ""
				# PROP ATL_Project 2
				
				!IF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE emulator) Release"
				
				# PROP BASE Use_MFC 1
				# PROP BASE Use_Debug_Libraries 0
				# PROP BASE Output_Dir "emulatorRel"
				# PROP BASE Intermediate_Dir "emulatorRel"
				# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}"
				# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
				# PROP BASE Target_Dir ""
				# PROP Use_MFC 1
				# PROP Use_Debug_Libraries 0
				# PROP Output_Dir "emulatorRel"
				# PROP Intermediate_Dir "emulatorRel"
				# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}"
				# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
				# PROP Target_Dir ""
				RSC=rc.exe
				# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r
				# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r
				CPP=cl.exe
				# ADD BASE CPP /nologo /W3 /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_WIN32_WCE_CEPC" /Yu"stdafx.h" /Gs8192 /GF /O2  /c
				# ADD CPP /nologo /W3 /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_WIN32_WCE_CEPC" /D "_USRDLL" /FR /Yu"stdafx.h" /Gs8192 /GF /O2   /c
				MTL=midl.exe
				# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
				# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
				BSC32=bscmake.exe
				# ADD BASE BSC32 /nologo
				# ADD BSC32 /nologo
				LINK32=link.exe
				# ADD BASE LINK32 /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /subsystem:$(CESubsystem) /MACHINE:IX86
				# ADD LINK32 /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /subsystem:$(CESubsystem) /MACHINE:IX86
				
				!ELSEIF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE emulator) Debug"
				
				# PROP BASE Use_MFC 1
				# PROP BASE Use_Debug_Libraries 1
				# PROP BASE Output_Dir "emulatorDbg"
				# PROP BASE Intermediate_Dir "emulatorDbg"
				# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}"
				# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
				# PROP BASE Target_Dir ""
				# PROP Use_MFC 1
				# PROP Use_Debug_Libraries 1
				# PROP Output_Dir "emulatorDbg"
				# PROP Intermediate_Dir "emulatorDbg"
				# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}"
				# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
				# PROP Target_Dir ""
				RSC=rc.exe
				# ADD BASE RSC /l 0x409 /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /r
				# ADD RSC /l 0x409 /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /r
				CPP=cl.exe
				# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_WIN32_WCE_CEPC" /Yu"stdafx.h" /Gs8192 /GF  /c
				# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_WIN32_WCE_CEPC" /D "_USRDLL" /Yu"stdafx.h" /Gs8192 /GF   /c
				MTL=midl.exe
				# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
				# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
				BSC32=bscmake.exe
				# ADD BASE BSC32 /nologo
				# ADD BSC32 /nologo
				LINK32=link.exe
				# ADD BASE LINK32 /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /subsystem:$(CESubsystem) /MACHINE:IX86
				# ADD LINK32 /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /subsystem:$(CESubsystem) /MACHINE:IX86
				
				!ELSEIF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE x86) Release"
				
				# PROP BASE Use_MFC 1
				# PROP BASE Use_Debug_Libraries 0
				# PROP BASE Output_Dir "X86Rel"
				# PROP BASE Intermediate_Dir "X86Rel"
				# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}"
				# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
				# PROP BASE Target_Dir ""
				# PROP Use_MFC 1
				# PROP Use_Debug_Libraries 0
				# PROP Output_Dir "X86Rel"
				# PROP Intermediate_Dir "X86Rel"
				# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}"
				# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
				# PROP Target_Dir ""
				RSC=rc.exe
				# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r
				# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r
				CPP=cl.exe
				# ADD BASE CPP /nologo /W3 /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_WIN32_WCE_CEPC" /Yu"stdafx.h" /Gs8192 /GF /O2  /c
				# ADD CPP /nologo /W3 /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_WIN32_WCE_CEPC" /D "_USRDLL" /Yu"stdafx.h" /Gs8192 /GF /O2   /c
				MTL=midl.exe
				# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
				# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
				BSC32=bscmake.exe
				# ADD BASE BSC32 /nologo
				# ADD BSC32 /nologo
				LINK32=link.exe
				# ADD BASE LINK32 /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /subsystem:$(CESubsystem) /MACHINE:IX86
				# ADD LINK32 /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /subsystem:$(CESubsystem) /MACHINE:IX86
				
				!ELSEIF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE x86) Debug"
				
				# PROP BASE Use_MFC 1
				# PROP BASE Use_Debug_Libraries 1
				# PROP BASE Output_Dir "X86Dbg"
				# PROP BASE Intermediate_Dir "X86Dbg"
				# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}"
				# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
				# PROP BASE Target_Dir ""
				# PROP Use_MFC 1
				# PROP Use_Debug_Libraries 1
				# PROP Output_Dir "X86Dbg"
				# PROP Intermediate_Dir "X86Dbg"
				# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}"
				# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
				# PROP Target_Dir ""
				RSC=rc.exe
				# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r
				# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r
				CPP=cl.exe
				# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_WIN32_WCE_CEPC" /Yu"stdafx.h" /Gs8192 /GF  /c
				# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_WIN32_WCE_CEPC" /D "_USRDLL" /Yu"stdafx.h" /Gs8192 /GF   /c
				MTL=midl.exe
				# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
				# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
				BSC32=bscmake.exe
				# ADD BASE BSC32 /nologo
				# ADD BSC32 /nologo
				LINK32=link.exe
				# ADD BASE LINK32 /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /subsystem:$(CESubsystem) /MACHINE:IX86
				# ADD LINK32 /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /subsystem:$(CESubsystem) /MACHINE:IX86
				
				!ENDIF 
				
				# Begin Target
				
				# Name "KeybdHook_CE - Win32 (WCE emulator) Release"
				# Name "KeybdHook_CE - Win32 (WCE emulator) Debug"
				# Name "KeybdHook_CE - Win32 (WCE x86) Release"
				# Name "KeybdHook_CE - Win32 (WCE x86) Debug"
				# Begin Group "Source Files"
				
				# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
				# Begin Source File
				
				SOURCE=.\KeybdHook_CE.cpp
				
				!IF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE emulator) Release"
				
				DEP_CPP_KEYBD=\
					".\KeybdHook_CE.h"\
					".\StdAfx.h"\
					{$(INCLUDE)}"keybd.h"\
					{$(INCLUDE)}"pwinuser.h"\
					
				
				!ELSEIF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE emulator) Debug"
				
				DEP_CPP_KEYBD=\
					".\KeybdHook_CE.h"\
					".\StdAfx.h"\
					
				
				!ELSEIF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE x86) Release"
				
				DEP_CPP_KEYBD=\
					".\KeybdHook_CE.h"\
					".\StdAfx.h"\
					
				
				!ELSEIF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE x86) Debug"
				
				DEP_CPP_KEYBD=\
					".\KeybdHook_CE.h"\
					".\StdAfx.h"\
					
				
				!ENDIF 
				
				# End Source File
				# Begin Source File
				
				SOURCE=.\KeybdHook_CE.def
				# End Source File
				# Begin Source File
				
				SOURCE=.\KeybdHook_CE.rc
				
				!IF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE emulator) Release"
				
				!ELSEIF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE emulator) Debug"
				
				!ELSEIF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE x86) Release"
				
				!ELSEIF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE x86) Debug"
				
				!ENDIF 
				
				# End Source File
				# Begin Source File
				
				SOURCE=.\StdAfx.cpp
				
				!IF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE emulator) Release"
				
				DEP_CPP_STDAF=\
					".\StdAfx.h"\
					
				# ADD CPP /Yc"stdafx.h"
				
				!ELSEIF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE emulator) Debug"
				
				DEP_CPP_STDAF=\
					".\StdAfx.h"\
					
				# ADD CPP /Yc"stdafx.h"
				
				!ELSEIF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE x86) Release"
				
				DEP_CPP_STDAF=\
					".\StdAfx.h"\
					
				# ADD CPP /Yc"stdafx.h"
				
				!ELSEIF  "$(CFG)" == "KeybdHook_CE - Win32 (WCE x86) Debug"
				
				DEP_CPP_STDAF=\
					".\StdAfx.h"\
					
				# ADD CPP /Yc"stdafx.h"
				
				!ENDIF 
				
				# End Source File
				# End Group
				# Begin Group "Header Files"
				
				# PROP Default_Filter "h;hpp;hxx;hm;inl"
				# Begin Source File
				
				SOURCE=.\KeybdHook_CE.h
				# End Source File
				# Begin Source File
				
				SOURCE=.\Resource.h
				# End Source File
				# Begin Source File
				
				SOURCE=.\StdAfx.h
				# End Source File
				# End Group
				# Begin Group "Resource Files"
				
				# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
				# Begin Source File
				
				SOURCE=.\res\KeybdHook_CE.rc2
				# PROP Exclude_From_Scan -1
				# PROP BASE Exclude_From_Build 1
				# PROP Exclude_From_Build 1
				# End Source File
				# End Group
				# Begin Source File
				
				SOURCE=.\ReadMe.txt
				# End Source File
				# End Target
				# End Project
							

相关资源