Kernel Mode Driver

Visual C++/C/C# related discussions

Moderators: The Coolest, imposter

Post Reply
User avatar
The Coolest
Site Admin
Site Admin
Posts: 3379
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel
Contact:

Kernel Mode Driver

Post by The Coolest »

I am making my own CPUID and got most of what I wanted working now all that I have left to do is get the multiplier and FSB info. to do this I have to write a kernel mode driver, but as I never done this before I am really lost. I need this to work in both Win9x and WinNT/2k/xp but from what I see in Win2k DDK the only samples are for Win2k, as the functions (or whatever they are) begin with NTSTATUS. I am really confused and need some help. I understand that you can't personally help and write articales on the basics of drivers, but a link to where I can learn the basics of drivers would be nice. Also if what I'm looking for is rather simple please explain to me what I have to do to make this thing. I don't have too much time to learn everything as I'm looking just for something specific.
I can't understand how do I call functions and what do the DriverObject and the "registrationpath" do. I see there are no variables there, and wondered how would I go about returning values and integrating the driver with my main program.
Any help is greatly appriciated
Last edited by The Coolest on Wed Feb 06, 2008 1:46 pm, edited 1 time in total.
Main rig:
AMD Ryzen 9 5950X (True Spirit 140 Direct) / Mobo: Asrock Fatal1ty X470 / EVO 970 500GB + WD Blue 250GB + HDD / GPU: Dell RX 570 4GB / Mem: 2x16GB DDR4-3200 G.Skill 32GTZKW TridentZ - 32GB total / PSU: Seasonic Prime Ultra Gold 650W
NAS:
Core i7 2600K 3.4GHz @ 4.3GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / 2x Inland Pro 120GB + HDDs / GPU: ATi Mach64 VT2 / Mem: 4x4GB DDR3-1600 G.Skill 8GBXL RipJawsX - 16GB total / PSU: Seasonic S12II 620W.
Secondary rigs:
Core i3 7130U / MiniPC / SanDisk SDSSDP-128G / GPU: Intel HD 620 / Mem: 1x8GB DDR3L-1600
Xeon X3430 2.40GHz @ 3.06GHz or Core i3 540 3.06GHz @ 4.0GHz (Freezer 7 Pro) / Mobo: MSI H55M-ED55 / PNY CS1111 240GB / GPU: ATI FirePro V3800 / Mem: 4x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 8GB total / PSU: Seasonic S12II 620W
AMD Phenom II X4 B93 / Mobo: ASUS M2A-VM / GPU: ATI Radeon Xpress X1250 / Crucial M4 120GB / Mem: 2x2GB DDR2-800 - 4GB total / PSU: Antec 380W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors

Post Reply

Return to “Visual C++/C/C#”