KeybdPdd_PowerHandler

This function is called by the MDD on system power state changes.

Syntax

void WINAPI KeybdPdd_PowerHandler( BOOL bOff );

Parameters

bOff
Boolean. TRUE indicates the system is being turned off. FALSE indicates the system is being turned on.

Remarks

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.