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


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:

Before Posting...

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

WdfDeviceGetSystemPowerAction During Hibernate

phanikcsphanikcs Member Posts: 4

Hi All,

Iam new to Windows driver development Hence this question here:

Iam trying to implement S4 functionality for my driver.

My D0ExitpreInterruptsDisabled currently uses WdfDeviceGetSystemPowerAction to check System power state.

But when I press Hibernate, the System power state returns PowerActionNone. Is this expectd or Am I doing someting wrong here?

Thanks & Regards,
Phani karthik


  • MBond2MBond2 Member Posts: 360

    presumably, the same system behaves differently when you perform the same action (press the button) when your driver is not loaded?

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!
Internals & Software Drivers 15 November 2021 Live, Online
Writing WDF Drivers TBD Live, Online
Developing Minifilters 7 February 2022 Live, Online
Kernel Debugging 21 March 2022 Live, Online