Click here to Skip to main content
15,895,011 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 317.9K   6.2K   94  
This article shows you how to hook interrupts, and how to get device resource information from the registry
#define IDC_MYICON                      2
#define IDM_CONTEXTMENU                 4
#define IDD_INTERRUPTHOOKGUI_DIALOG     102
#define IDS_APP_TITLE                   103
#define IDM_ABOUT                       104
#define IDM_EXIT                        105
#define IDC_INTERRUPTHOOKGUI            109
#define ID_REFRESHTIMER                 110
#define IDR_MAINFRAME                   128
#define IDD_MAIN                        129
#define IDD_IRQDETAILS                  131
#define IDI_ICON1                       132
#define IDI_ICON                        132
#define IDC_INTERRUPTLIST               1000
#define IDC_EXIT                        1001
#define IDC_ABOUT                       1002
#define IDC_DEVICE                      1002
#define IDC_MEMLIST                     1003
#define IDC_IOLIST                      1004
#define IDC_IRQLIST                     1005
#define IDM_DETAILS                     32772
#define IDC_STATIC                      -1

#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NO_MFC                     1
#define _APS_NEXT_RESOURCE_VALUE        133
#define _APS_NEXT_COMMAND_VALUE         32773
#define _APS_NEXT_CONTROL_VALUE         1004
#define _APS_NEXT_SYMED_VALUE           111
#endif
#endif

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