I have written a filter driver for hard disks in Windows ( like DiskPerf of DDK ) and I need to get some information about device which my driver is attached to it, for example HardWareID. I use IoGetDeviceProperly inside my IRP_MJ_READ function. But this method causes BSOD and BSOD says problem is "IRQL_NO_LESS_OR_EQUAL". MSDN says DispatchRead and IoGetDeviceProperly, both run at PASSIVE_LEVEL. What is wrong? How can I get information about device that driver is attached to it?
Related Questions in WINDOWS
- Get Maximum Log Size
- Debugging Windows Services while starting
- Possible consequences of duplicate ProgId for different classes
- How to chain BCryptEncrypt and BCryptDecrypt calls using AES in GCM mode?
- mingw-64 conflicting declarations when cross-compiling
- I run an EXE program from a Windows Service but I can't see form C#?
- Why is PowerShell "not recognized" when installing Chocolatey?
- How to check if Windows device is phone or tablet/pc?
- How to add directories to Cygwin gcc default search path
- Can't install anything with pip2 on Windows 7 due to UnicodeDecodeError
Related Questions in DRIVER
- C++ Mongodb driver, not working
- Raspberry PI Compute Module - SPI1
- Insert element into nested array in Mongodb
- Loading a Windows Driver Class other than NetService to act as an NDIS Filter
- where to find oneplus one binaries (Device tree, Vendor, Kernel) to build rom from AOSP?
- Why does this static funtion have three prefixes?
- Is it possible to limit data traffic in kernel USB drivers?
- Twain driver scanner integration in Windows 8.1
- USB3 Controller & Kinect 2
- Connecting R from JSP
Related Questions in BSOD
- A Device Driver Has Pool Error
- make a windows 7 machine crash on BSOD
- corrupted windows mini-dumps after bugcheck reboot
- IoGetDeviceProperly causes BSOD
- BSOD when setting up OpenCV
- Run command from non-elevated cmd as admin
- Windows check for solutions does nothing after BSOD
- Saving Visual Studio Settings During Debug in Case of BSOD
- How do I programmatically detect a Blue Screen in VMWare Workstation?
- Are there any tools to read the contents of dump files created during BSoD in Windows?
Related Questions in HARDWARE-ID
- How unique MAC ID is generated for the each card?
- Getting CPU ID on virtual machine
- How to find vendor name from JEDEC id?
- How can I find a USB barcode scanner hardware ID while scanning?
- How to simulate a Fn+?-KeyPress for notebooks? OR how to switch on 3G?
- IoGetDeviceProperly causes BSOD
- Is there a way to get a users Hardware-ID in C#?
- Generate the same computer hardware id. (CHID) like computerhardwareids.exe from Windows SDK
- Generate Activation Key From Hardware ID
- What Unique Hardware Identity Information Can Android 12 Apps Access to the Device
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The DispatchRead routine can be called at IRQL = APC_LEVEL.
See Dispatch Routines and IRQLs
Call IoGetDeviceProperty and save device information in DispatchCreate and Use it in DispatchRead.