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

📄 sources

📁 该源码是用DDK编写的WDM驱动程序
💻
字号:
# sources file
#
# Generated by C DriverWizard 3.1.0 (Build 1722)
# Requires DDK Only
# File created on 7/11/2007
#
TARGETNAME=CharSample_DDK
TARGETPATH=obj
TARGETTYPE=DRIVER

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

TARGETLIBS= $(DDK_LIB_PATH)\ntstrsafe.lib

# 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

SOURCES=\
        registry.c \
        debug.c \
        CharSample_DDK.c \
        wmi.c \
        iorw.c \
        CharSample_DDK.rc \
        queue.c \
        pnp.c \
        power.c

PRECOMPILED_INCLUDE=pch.h
PRECOMPILED_PCH=pch.pch
PRECOMPILED_OBJ=pch.obj


#CHARSAMPLE_DDK_WMI_TRACE=1

!ifdef CHARSAMPLE_DDK_WMI_TRACE

C_DEFINES = $(C_DEFINES) -DCHARSAMPLE_DDK_WMI_TRACE

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

!endif

⌨️ 快捷键说明

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