Question on POWER IRP

Hello,
I saw an interesting behavior on Windows 8.1 & above that I am not getting the IRP_MN_QUERY_POWER when I press the click restart. Well, MSDN documentation says that there is hope of getting the QUEERY state, except for the case where the power button is pressed. Do we have any explanation for the same?

 Thanks, With Best Regards,-Amol. 

Hello,
I saw an interesting behavior on Windows 8.1 & above that I am not getting the IRP_MN_QUERY_POWER when I press the click restart. Well, MSDN documentation says that there is hope of getting the QUEERY state, except for the case where the power button is pressed. Do we have any explanation for the same?
I want to block restart/reboot before completion of my task. Is there some other mechanism that I can use to stop that ?

 Thanks, With Best Regards,-Amol.