acpisim.h

来自「winddk src目录下的WDM源码压缩!」· C头文件 代码 · 共 76 行

H
76
字号
/*++

Copyright (c) 2000-2001  Microsoft Corporation

Module Name:

	 ioctl.h

Abstract:

	 ACPI BIOS Simulator / Generic 3rd Party Operation Region Provider
     IO Device Control Handler module
     
Author(s):

	 Vincent Geglia
     Michael T. Murphy
     Chris Burgess
     
Environment:

	 Kernel mode

Notes:
    
     This header file shows all of the functions that must be exported
     in order to compile against the ACPI BIOS Simulator Library.
     
Revision History:
	 

--*/

#if !defined(_ACPISIM_H_)
#define _ACPISIM_H_

//
// Defines
//

#define OPREGION_SIZE               1024    // use a hardcoded value of 1024 for our operation region size
#define ACPISIM_POOL_TAG            (ULONG) 'misA'

//
// Specify the operation region type here
//

#define ACPISIM_OPREGION_TYPE      0x81

//
// Public function prototypes
//

NTSTATUS 
AcpisimHandleIoctl
    (
        IN PDEVICE_OBJECT DeviceObject,
        IN PIRP Irp
    );

NTSTATUS
AcpisimRegisterOpRegionHandler
    (
        IN PDEVICE_OBJECT DeviceObject
    );

NTSTATUS
AcpisimUnRegisterOpRegionHandler
    (
        IN PDEVICE_OBJECT DeviceObject
    );

#endif // _ACPISIM_H_


⌨️ 快捷键说明

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