?? sources
字號:
MAJORCOMP=ntos
MINORCOMP=osr
TARGETNAME=usbfx2lk
TARGETPATH=obj
TARGETTYPE=DRIVER
INCLUDES=$(WDM_INC_PATH);..\inc
TARGETLIBS=$(DDK_LIB_PATH)\usbd.lib \
$(DDK_LIB_PATH)\ntoskrnl.lib \
$(DDK_LIB_PATH)\csq.lib \
$(DDK_LIB_PATH)\ntstrsafe.lib
!if "$(DDK_TARGET_OS)" == "Win2K"
C_DEFINES = -DW2K=1 $(C_DEFINES)
!elseif "$(DDK_TARGET_OS)" == "WinXP"
C_DEFINES = -DWXP=1 $(C_DEFINES)
!elseif "$(DDK_TARGET_OS)" == "WinNET"
C_DEFINES = -DW2K3=1 $(C_DEFINES)
!endif
#
# Define controlling whether or
# not we're going to use WPP tracing
#
C_DEFINES = -DWPP_TRACING $(C_DEFINES)
#
# We'll use the binary version of the MOF data
#
C_DEFINES = -DUSE_BINARY_MOF_QUERY $(C_DEFINES)
#
# And since we're running on Win2K, we'll use the
# library version of ntstrsafe
#
C_DEFINES = -DNTSTRSAFE_LIB $(C_DEFINES)
#
# Make sure we're warned if we're using
# a deprecated function
#
C_DEFINES = -DDEPRECATE_DDK_FUNCTIONS $(C_DEFINES)
MSC_WARNING_LEVEL=/W3 /WX
SOURCES=usbfx2lk.cpp \
USBFx2LK_usb.cpp \
usbfx2lk_pnp.cpp \
usbfx2lk_queue.cpp \
usbfx2lk_devctrl.cpp \
usbfx2lk_sysctrl.cpp \
usbfx2lk_power.cpp \
usbfx2lk_selsusp.cpp \
USBFx2LK_CreateClose.cpp \
USBFx2LK_io.cpp \
ntstatstr.cpp \
usbfx2lk.rc \
usbfx2lk.mof
#
# Generate a browse file for use with Visual
# Studio
#
BROWSER_INFO = 1
BROWSERFILE = usbfx2lk.bsc
#
# Set up the Prebuild step to have these files built as defined
# in the makefile.inc file.
#
NTTARGETFILE0=$(O)\usbfx2lk_mofdata.h \
$(O)\usbfx2lk.dat \
$(O)\usbfx2lk.vbs
#
# This will generate the .TMH
# files we include in our modules
# when using WPP.
#
!if !defined(DDK_TARGET_OS) || "$(DDK_TARGET_OS)"=="Win2K"
C_DEFINES = $(C_DEFINES) -DWIN2K_BUILD
RUN_WPP= $(SOURCES) -km -gen:{km-w2k.tpl}*.tmh -dll -func:OsrTracePrint(LEVEL,FLAGS,(MSG,...))
!else
RUN_WPP=$(SOURCES)\
-km\
-dll\
-func:OsrTracePrint(LEVEL,FLAGS,(MSG,...))
!endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -