这是一本学习 window编程的很好的参考教材

源代码在线查看: callgate.dsp

软件大小: 5535 K
上传用户: ok34090512
关键词: window 编程 教材
下载地址: 免注册下载 普通下载 VIP

相关代码

				# Microsoft Developer Studio Project File - Name="CallGate" - Package Owner=
				# Microsoft Developer Studio Generated Build File, Format Version 6.00
				# ** DO NOT EDIT **
				
				# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
				
				CFG=CallGate - Win32 Checked
				!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 "CallGate.mak".
				!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 "CallGate.mak" CFG="CallGate - Win32 Checked"
				!MESSAGE
				!MESSAGE Possible choices for configuration are:
				!MESSAGE
				!MESSAGE "CallGate - Win32 IA64 Free" (based on "Win32 (x86) Dynamic-Link Library")
				!MESSAGE "CallGate - Win32 IA64 Checked" (based on "Win32 (x86) Dynamic-Link Library")
				!MESSAGE "CallGate - Win32 Free" (based on "Win32 (x86) Dynamic-Link Library")
				!MESSAGE "CallGate - Win32 Checked" (based on "Win32 (x86) Dynamic-Link Library")
				!MESSAGE
				
				# Begin Project
				CPP=cl.exe
				MTL=midl.exe
				RSC=rc.exe
				
				!IF  "$(CFG)" == "CallGate - Win32 Free"
				
				# PROP Use_MFC 0
				# PROP Use_Debug_Libraries 0
				# PROP Output_Dir ".\objfre\i386"
				# PROP Intermediate_Dir ".\objfre\i386"
				# PROP Ignore_Export_Lib 0
				# PROP Target_Dir ""
				# ADD BASE CPP
				# ADD CPP /nologo /ML /Zel -cbstring /Gy /GF /c /FI"warning.h" /Oxs /Oy /Gz
				# ADD CPP /W3
				# ADD CPP /D _X86_=1 /D i386=1 /D STD_CALL /D CONDITION_HANDLING=1 /D NT_UP=1 /D NT_INST=0 /D WIN32=100 /D _NT1X_=100 /D WINNT=1 /D _WIN32_WINNT=0x0400 /D WIN32_LEAN_AND_MEAN=1 /D DEVL=1 /D FPO=1
				# ADD CPP /I "." /I "$(TARGET_INC_PATH)" /I "$(CRT_INC_PATH)" /I "$(DDK_INC_PATH)" /I "$(WDM_INC_PATH)"
				# ADD BASE MTL /nologo /mktyplib203 /o NUL /win32 /d "NDEBUG"
				# ADD MTL /nologo /mktyplib203 /o NUL /win32 /d "NDEBUG"
				# ADD BASE RSC /l 0x409 /I "$(CRT_INC_PATH)" /d "NDEBUG"
				# ADD RSC /l 0x409 /I "$(CRT_INC_PATH)" /d "NDEBUG"
				BSC32=bscmake.exe
				# ADD BSC32 /nologo /o".\objfre\i386/CallGate.bsc"
				LINK32=link.exe
				# ADD BASE LINK32
				# ADD LINK32 /nologo /base:"0x10000" /version:5.0 /stack:0x40000,0x1000 /entry:"DriverEntry" /machine:IX86 /nodefaultlib /INCREMENTAL:NO
				# ADD LINK32 /libpath:"$(TARGET_LIB_PATH)" /driver /IGNORE:4001,4037,4039,4065,4070,4078,4087,4089,4096,4210 /MERGE:_PAGE=PAGE /MERGE:_TEXT=.text /SECTION:INIT,d /MERGE:.rdata=.text
				# ADD LINK32 /FULLBUILD /RELEASE /OPT:REF /OPT:ICF /align:0x80 /osversion:5.00 /subsystem:native,1.10
				# ADD LINK32 /debug:MINIMAL /out:"objfre\i386\CallGate.sys"
				# ADD LINK32 ntoskrnl.lib hal.lib wmilib.lib
				
				
				!ELSEIF  "$(CFG)" == "CallGate - Win32 Checked"
				
				# PROP Use_MFC 0
				# PROP Use_Debug_Libraries 1
				# PROP Output_Dir ".\objchk\i386"
				# PROP Intermediate_Dir ".\objchk\i386"
				# PROP Ignore_Export_Lib 0
				# PROP Target_Dir ""
				# ADD BASE CPP
				# ADD CPP /nologo /ML /Zel -cbstring /Gy /GF /c /FI"warning.h" /Zi /Oi /Gz
				# ADD CPP /W3
				# ADD CPP /D _X86_=1 /D i386=1 /D STD_CALL /D CONDITION_HANDLING=1 /D NT_UP=1 /D NT_INST=0 /D WIN32=100 /D _NT1X_=100 /D WINNT=1 /D _WIN32_WINNT=0x0400 /D WIN32_LEAN_AND_MEAN=1 /D DEVL=1 /D DBG=1 /D FPO=0
				# ADD CPP /I "." /I "$(TARGET_INC_PATH)" /I "$(CRT_INC_PATH)" /I "$(DDK_INC_PATH)" /I "$(WDM_INC_PATH)"
				# ADD CPP /Fd".\objchk\i386\CallGate.pdb"
				# ADD BASE MTL /nologo /mktyplib203 /o NUL /win32 /d "_DEBUG"
				# ADD MTL /nologo /mktyplib203 /o NUL /win32 /d "_DEBUG"
				# ADD BASE RSC /l 0x409 /I "$(CRT_INC_PATH)" /d "_DEBUG"
				# ADD RSC /l 0x409 /I "$(CRT_INC_PATH)" /d "_DEBUG"
				BSC32=bscmake.exe
				# ADD BSC32 /nologo /o".\objchk\i386/CallGate.bsc"
				LINK32=link.exe
				# ADD BASE LINK32
				# ADD LINK32 /nologo /base:"0x10000" /version:5.0 /stack:0x40000,0x1000 /entry:"DriverEntry" /machine:IX86 /nodefaultlib /INCREMENTAL:NO
				# ADD LINK32 /libpath:"$(TARGET_LIB_PATH)" /driver /IGNORE:4001,4037,4039,4065,4070,4078,4087,4089,4096,4210 /MERGE:_PAGE=PAGE /MERGE:_TEXT=.text /SECTION:INIT,d /MERGE:.rdata=.text
				# ADD LINK32 /FULLBUILD /RELEASE /OPT:REF /OPT:ICF /align:0x80 /osversion:5.00 /subsystem:native,1.10
				# ADD LINK32 /debug:FULL /debugtype:cv /out:".\objchk\i386\CallGate.sys"
				# ADD LINK32 ntoskrnl.lib hal.lib wmilib.lib
				
				# Begin Special Build Tool
				PostBuild_Cmds=C:\PROGRA~1\COMPUW~1\DRIVER~1\SoftICE\nmsym.exe /translate:source,package,always .\objchk\i386\CallGate.sys
				# End Special Build Tool
				
				!ELSEIF  "$(CFG)" == "CallGate - Win32 IA64 Free"
				
				# PROP Use_MFC 0
				# PROP Use_Debug_Libraries 0
				# PROP Output_Dir ".\objfre\ia64"
				# PROP Intermediate_Dir ".\objfre\ia64"
				# PROP Ignore_Export_Lib 0
				# PROP Target_Dir ""
				# ADD BASE CPP
				# ADD CPP /nologo /ML /Zel -cbstring /Gy /GF /c /FI"warning.h" /WX /Wp64 /Zel /QIA64_fr32 /Oxs
				# ADD CPP /W3
				# ADD CPP /D _WIN64 /D _IA64_=1 /D IA64=1 /D NO_HW_DETECT /D _MSC_EXTENSIONS /D CONDITION_HANDLING=1 /D NT_INST=0 /D WIN32=100 /D _NT1X_=100 /D WINNT=1 /D _WIN32_WINNT=0x501 /D WINVER=0x501 /D _WIN32_IE=0x600 /D WIN32_LEAN_AND_MEAN=1 /D _MERCED_A0_=1 /D DEVL=1 /D NDEBUG /D _DLL=1 /D FPO=0
				# ADD CPP /I "." /I "$(TARGET_INC_PATH)" /I "$(CRT_INC_PATH)" /I "$(DDK_INC_PATH)" /I "$(WDM_INC_PATH)"
				# ADD BASE MTL /nologo /mktyplib203 /o NUL /win32 /d "NDEBUG"
				# ADD MTL /nologo /mktyplib203 /o NUL /win32 /d "NDEBUG"
				# ADD BASE RSC /l 0x409 /I "$(CRT_INC_PATH)" /d "NDEBUG"
				# ADD RSC /l 0x409 /I "$(CRT_INC_PATH)" /d "NDEBUG"
				BSC32=bscmake.exe
				# ADD BASE BSC32 /nologo
				# ADD BSC32 /nologo
				LINK32=link.exe
				# ADD BASE LINK32
				# ADD LINK32 /debug:MINIMAL /machine:IA64 /debugtype:pdata /out:"objfre\ia64\CallGate.sys"
				# ADD LINK32 /nologo /base:"0x10000" /version:5.0 /stack:0x40000,0x1000 /entry:"DriverEntry" /machine:IX86 /nodefaultlib /INCREMENTAL:NO
				# ADD LINK32 /libpath:"$(TARGET_LIB_PATH)" /driver /IGNORE:4001,4037,4039,4065,4070,4078,4087,4089,4096,4210 /MERGE:_PAGE=PAGE /MERGE:_TEXT=.text /SECTION:INIT,d /MERGE:.rdata=.text
				# ADD LINK32 /FULLBUILD /RELEASE /OPT:REF /OPT:ICF /align:0x80 /osversion:5.00 /subsystem:native,1.10
				# ADD LINK32 ntoskrnl.lib hal.lib wmilib.lib
				
				
				!ELSEIF  "$(CFG)" == "CallGate - Win32 IA64 Checked"
				
				# PROP Use_MFC 0
				# PROP Use_Debug_Libraries 0
				# PROP Output_Dir ".\objchk\ia64"
				# PROP Intermediate_Dir ".\objchk\ia64"
				# PROP Ignore_Export_Lib 0
				# PROP Target_Dir ""
				# ADD BASE CPP
				# ADD CPP /nologo /ML /Zel -cbstring /Gy /GF /c /FI"warning.h" /Zi /Oi
				# ADD CPP /W3
				# ADD CPP /D _WIN64 /D _IA64_=1 /D IA64=1 /D NO_HW_DETECT /D _MSC_EXTENSIONS /D CONDITION_HANDLING=1 /D NT_INST=0 /D WIN32=100 /D _NT1X_=100 /D WINNT=1 /D _WIN32_WINNT=0x501 /D WINVER=0x501 /D _WIN32_IE=0x600 /D WIN32_LEAN_AND_MEAN=1 /D _MERCED_A0_=1 /D DEVL=1 /D NDEBUG /D _DLL=1 /D DBG=1 /D FPO=0
				# ADD CPP /I "." /I "$(TARGET_INC_PATH)" /I "$(CRT_INC_PATH)" /I "$(DDK_INC_PATH)" /I "$(WDM_INC_PATH)"
				# ADD CPP /Fd".\objchk\ia64\CallGate.pdb"
				# ADD BASE MTL /nologo /mktyplib203 /o NUL /win32 /d "_DEBUG"
				# ADD MTL /nologo /mktyplib203 /o NUL /win32 /d "_DEBUG"
				# ADD BASE RSC /l 0x409 /I "$(CRT_INC_PATH)" /d "_DEBUG"
				# ADD RSC /l 0x409 /I "$(CRT_INC_PATH)" /d "_DEBUG"
				BSC32=bscmake.exe
				# ADD BASE BSC32 /nologo
				# ADD BSC32 /nologo
				LINK32=link.exe
				# ADD BASE LINK32
				# ADD LINK32 /debug:FULL /debugtype:cv /machine:IA64 /debugtype:pdata /out:".\objchk\ia64\CallGate.sys"
				# ADD LINK32 /nologo /base:"0x10000" /version:5.0 /stack:0x40000,0x1000 /entry:"DriverEntry" /machine:IX86 /nodefaultlib /INCREMENTAL:NO
				# ADD LINK32 /libpath:"$(TARGET_LIB_PATH)" /driver /IGNORE:4001,4037,4039,4065,4070,4078,4087,4089,4096,4210 /MERGE:_PAGE=PAGE /MERGE:_TEXT=.text /SECTION:INIT,d /MERGE:.rdata=.text
				# ADD LINK32 /FULLBUILD /RELEASE /OPT:REF /OPT:ICF /align:0x80 /osversion:5.00 /subsystem:native,1.10
				# ADD LINK32 ntoskrnl.lib hal.lib wmilib.lib
				
				
				
				
				!ENDIF
				
				# Begin Target
				
				# Name "CallGate - Win32 Free"
				# Name "CallGate - Win32 Checked"
				# Name "CallGate - Win32 IA64 Free"
				# Name "CallGate - Win32 IA64 Checked"
				
				# Begin Group "Source Files"
				
				# PROP Default_Filter ".c;.cpp"
				
				# Begin Source File
				
				SOURCE=.\CallGate.c
				# End Source File
				# End Group
				# Begin Group "Header Files"
				
				# PROP Default_Filter ".h"
				
				# Begin Source File
				
				SOURCE=.\CALLGATE.H
				# End Source File
				# End Group
				# Begin Group "Resource Files"
				
				# PROP Default_Filter ".rc;.mc;.mof"
				
				
				
				# End Group
				# End Target
				# End Project
							

相关资源