PFN_KEYBD_DRIVER_POWER_HANDLER (Windows CE 5.0)

Send Feedback

The function based on this prototype handles system power-state change notifications.

typedef void (*PFN_KEYBD_DRIVER_POWER_HANDLER)(  BOOL bOff);

Parameters

  • bOff
    [in] TRUE if the system is powering-down. FALSE if the system is powering-up.

Return Values

None.

Remarks

Layout Manager calls each PDD's power handler with the value of bOff.

This function runs in kernel context and assumes that interrupts are disabled because it works directly with microprocessor registers. It does not make any system calls or cause tasks to be rescheduled. This function is restricted to reading and writing to pre-allocated memory. Any subroutines called from this function must follow this restriction.

This function resets the auto-repeat state.

On receiving a power-down event, the sample driver empties the 8042-keyboard controller's data buffer.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Keybddr.h.
Link Library: LayoutManager.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.