This function is called by the MDD on system power state changes.
void WINAPI KeybdPdd_PowerHandler( BOOL bOff );
This function runs in kernel context and assumes that interrupts are disabled because it works directly with CPU registers. It does not make any system calls or cause tasks to be rescheduled in any way. This function is restricted to reading and writing to pre-allocated memory. Any subroutines called from this function must follow this restriction.
This function supports the implementation of the Keyboard Driver PDD.