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?
IoGetDeviceProperly causes BSOD
201 Views Asked by CoyBit At
1
There are 1 best solutions below
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
- Active directory and linux nslcd binding without extending the AD schema
- How To Prevent Over Scrolling in Scroll Viewer Windows Phone 8.1
- Unicode error from pip install
- Where is the 'EnablePinning' property in the ribbon framework's recent items?
- How can I implement the same models and data across ASP.NET and Windows Apps
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
- Universal Drivers will run inside Universal Apps in Windows 10?
- USB keeps disconnecting...only for mobile devices
- IoCreateDeviceSecure function denies the access from member in Administrators
- Intel OpenGL Driver bug?
- CoreMediaIO camera driver not detected until restart of application
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?
- Visual Studio 2008, Vista x64 and Kaspersky = blue screens (BSOD)?
- How to track down a Blue Screen of Death triggered by an (usermode) application
- Recovery of SSH session after system crash
- InstallShield limited edition in visual studio 2012 on windows 10 gives BSOD
- BSOD (Kernel Security Check Failure) when using TAPI in OpenCV 3.1.0 x64 (VS12)
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
- How to get MacBook's "(1P) Part ID" programatically in swift
- Get device make/model from disc drive, hard drive, etc
- List of ios device name
- Translate Apple's model identifiers (MacBookPro5,1) to user-friendly names?
- Alternative to MAC Address for tying software to hardware?
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)
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?
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.