📄 function.h
字号:
// function.h - handler settings for HELLOWDM sample
//=============================================================================
//
// Compuware Corporation
// NuMega Lab
// 9 Townsend West
// Nashua, NH 03060 USA
//
// Copyright (c) 1998 Compuware Corporation. All Rights Reserved.
// Unpublished - rights reserved under the Copyright laws of the
// United States.
//
//=============================================================================
// This file contains the definitions that control which members of
// KDriver, KDevice, and KPnpDevice are enabled during compilation.
#ifndef __FUNCTION__
#define __FUNCTION__
// All WDM drivers MUST implement AddDevice, PNP, and POWER IRP handlers
#define DRIVER_FUNCTION_ADD_DEVICE
#define DRIVER_FUNCTION_PNP
#define DRIVER_FUNCTION_POWER
// This driver also has handlers for Create, Close, and DeviceControl
#define DRIVER_FUNCTION_CREATE
#define DRIVER_FUNCTION_CLOSE
#define DRIVER_FUNCTION_DEVICE_CONTROL
// The driver is unloadable, so define Unload
#define DRIVER_FUNCTION_UNLOAD
#endif //__FUNCTION__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -