ddkoverload.h
来自「一个主设备驱动程序绝对可用」· C头文件 代码 · 共 34 行
H
34 行
////////////////////////////////////////////////////////////////////
// File: DDKOverload.h
//
// Purpose: This is the DDK specific header file for the cy09449,
// WDM DDK kernel driver implimentation.
//
// Copyright (c) 2002, SEED Enterprises, Inc.
////////////////////////////////////////////////////////////////////
#ifndef _DDKOVERLOAD_H_
#define _DDKOVERLOAD_H_
// Macros and defines
#define DEBUG
#define E_DEBUG
extern "C"
{
#include <wdm.h>
PVOID
MmAllocateContiguousMemory(
IN ULONG NumberOfBytes,
IN PHYSICAL_ADDRESS HighestAcceptableAddress
);
PHYSICAL_ADDRESS
MmGetPhysicalAddress(
IN PVOID BaseAddress
);
VOID
MmFreeContiguousMemory(
IN PVOID BaseAddress
);
}
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?