hooks.h

来自「一个类似windows」· C头文件 代码 · 共 50 行

H
50
字号
/*++

Copyright (c) 1998-2001 Klaus P. Gerlicher

Module Name:

    hooks.h

Abstract:

    HEADER for hooks.c

Environment:

    LINUX 2.2.X
    Kernel mode only

Author:

    Klaus P. Gerlicher

Revision History:

    15-Nov-2000:    general cleanup of source files

Copyright notice:

  This file may be distributed under the terms of the GNU Public License.

--*/
void DeinstallHooks(void);
//ULONG HookInt(ULONG dwInt,ULONG NewIntHandler);
//void UnhookInt(ULONG dwInt);
void MaskIrqs(void);
void UnmaskIrqs(void);
ULONG SetGlobalInt(ULONG dwInt,ULONG NewIntHandler);
ULONG GetIRQVector(ULONG dwInt);
void TakeIdtSnapshot(void);
void RestoreIdt(void);

// structure of an IDT entry
typedef struct IdtEntry
{
	USHORT LoOffset;
	USHORT SegSel;
	USHORT Flags;
	USHORT HiOffset;
}IDTENTRY,*PIDTENTRY;

⌨️ 快捷键说明

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