Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


IoInitializeDpc?

OSR_Community_UserOSR_Community_User Member Posts: 110,217
Hi,
I have a problem with function IoInitializeDpc(..) in the DriveryEntry.
I have checked it on two computers, and on one it takes system down on the
othere it works fine (more or less I'm not sure, but it should).
Can someone explain this to me. What could be wrong?

Regards,
Nenad

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Nenand,

    You really haven't supplied enough detail for anyone to help you. Basically
    you've said little more than "my driver is broken, what could be wrong?"

    However, I'll take a wild ass guess:

    1) your call to IoInitializeDpcRequest in driver entry does not anticipate
    that your dpc routine could actually run anytime after you issue the call,
    including before you return from IoInitializeDpcRequest.

    2) you have not supplied the correct parameters to IoInitializeDpcRequest,
    or the parameters you have supplied are not in the appropriate state.

    You should try putting a break point in your dpc routine and seeing if you
    get there. You should set up crash dumps on your test system and try
    analyzing the crash.


    > -----Original Message-----
    > From: Prekupec Boris [mailto:[email protected]]
    > Sent: Friday, April 21, 2000 10:19 AM
    > To: NT Developers Interest List
    > Subject: [ntdev] IoInitializeDpc?
    >
    >
    > Hi,
    > I have a problem with function IoInitializeDpc(..) in the
    > DriveryEntry.
    > I have checked it on two computers, and on one it takes
    > system down on the
    > othere it works fine (more or less I'm not sure, but it should).
    > Can someone explain this to me. What could be wrong?
    >
    > Regards,
    > Nenad
    >
    >
    > ---
    > You are currently subscribed to ntdev as: [email protected]
    > To unsubscribe send a blank email to $subst('Email.Unsub')
    >
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 30 January 2023 Live, Online
Developing Minifilters 20 March 2023 Live, Online
Writing WDF Drivers TBD 2023 Live, Online
Internals & Software Drivers 17 April 2023 Live, Online