The definitions for all of the constants mentioned in this post can be found in
poclass.h in the DDK. There are 2 IOCTLs that the power manager uses for detecting power buttons
and knowing when they are pressed.
My next entry will explain how the two different types of keyboards (PS2 and HID)
detect and report power buttons.