Click here to Skip to main content
15,897,187 members
Articles / Programming Languages / C

Interrupt Hooking and retrieving device information on Windows NT/2000/XP

Rate me:
Please Sign up or sign in to vote.
4.84/5 (37 votes)
30 Jul 2003GPL33 min read 318.4K   6.2K   94  
This article shows you how to hook interrupts, and how to get device resource information from the registry
/*
InterruptHook
Copyright (C) 2003  Alexander M.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/

#pragma once

PDEVICE_OBJECT	gpCtrlDevice;

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Germany Germany
I'm a lazy coder who started coding at the age of 8 and I live in (c)old Germany Frown | :(
I'm a university student at LMU munich (http://www.lmu.de/).
Course of studies: computer science of course Wink | ;)

I'm also very interested in system programming, assembler and SIMD... but they are not listed as interests choices here Frown | :(

Comments and Discussions