⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sources

📁 WDM驱动程序实例,用DriverStudio加vc
💻
字号:
# sources file for use with DDK BUILD utility
#
# Generated by DriverWizard 3.2.0 (Build 2485)
# File created on 2/8/2006
#
TARGETNAME = Xunic
TARGETPATH = obj
TARGETTYPE = DRIVER
DRIVERTYPE = WDM

#uncomment the following line to build with C++ compiler
#USECXX_FLAG=/Tp

!IF ("$(DDKBUILDENV)"=="chk") || ("$(DDKBUILDENV)"=="checked")
BUILDTYPE = CHECKED
!ELSE
BUILDTYPE = FREE
NTDEBUG=
!ENDIF


# Singly linked lists have been optimized in a non-back
# compatible way for XP and later platforms.  As such,
# any binary built with the XP or later DDK and using
# singly linked lists will not load on 2000 and earlier
# platforms without the use of the following define in
# the build.  This define turns off the new optimizations,
# and thus it should only be used for cross-platform
# binaries.
#C_DEFINES =$(C_DEFINES) -D_WIN2K_COMPAT_SLIST_USAGE


!if !defined(DDK_TARGET_OS) || "$(DDK_TARGET_OS)"=="Win2K"
C_DEFINES =$(C_DEFINES) -DWIN2K
!endif


TARGETLIBS=$(DDK_LIB_PATH)\ntstrsafe.lib $(DDK_LIB_PATH)\csq.lib
C_DEFINES =$(C_DEFINES) -DNTVERSION='WDM'
TARGETLIBS=$(TARGETLIBS) $(DRIVERWORKS)\lib\*\$(BUILDTYPE)\vdw_wdm.lib

LINK_LIB_IGNORE=4099,4210

INCLUDES=$(DRIVERWORKS)\..\common\include\stl;\
		 $(DRIVERWORKS)\include;\
		 $(DDK_INC_PATH);\
		 $(DRIVERWORKS)\source;\
		 $(DRIVERWORKS)\include\dep_vxd;


SOURCES=Xunic.rc \
        XunicDriver.cpp \
        XunicDevice.cpp



#XUNIC_WMI_TRACE=1

!ifdef XUNIC_WMI_TRACE

C_DEFINES =$(C_DEFINES) -DXUNIC_WMI_TRACE

!if ("$(PRECOMPILED_CXX)" == "") && ("$(USECXX_FLAG)" == "")
RUN_WPP=$(SOURCES)\
        -km \
        -func:XunicDebugPrint(AREA,LEVEL,MSG,...)
!else
RUN_WPP=$(SOURCES)\
        -km -dll\
        -func:XunicDebugPrint(AREA,LEVEL,MSG,...)
!endif

!endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -