Device Lock Plug-in
4/8/2010
The Device Lock plug-in for the Windows Classic Home screen can be used to put the device in a locked state.
Note
This section applies to the Windows Classic Home screen and does not apply to the Windows Default Home screen.
Tapping the plug-in once locks the device. OEMs may also send VK_KEYLOCK to lock the device. The user must press SK1 (Unlock), either on the touch screen or the hardware button, if one is available, to unlock the device.
This plug-in is listed in the Home CPL and can be enabled or disabled normally. It does not have any options. It should be enabled by default on all devices.
Behavior While Locked
Certain notifications and calls can be handled while the device is locked. Only meeting and appointment reminders and phone calls are accessible. All other notifications are repressed and simply appear in the notification tray. If a phone call comes in, the usual phone call notification appears. If the user accepts the call, the dialer will be shown but locked in a similar way to the locked Home screen. If the call is rejected or any other notification is cleared, the locked Home screen will be shown. The chosen unlock UI is shown when SK1 (Unlock) is pressed.
Interactions while Locked
- If a password has been set, the password dialog will show instead of the unlock UI.
- Users can still place the device into standby by pressing the Power button while the device is locked. While in standby and locked, the Power button will reactivate the screen and backlight but the device will still be locked.
- The accumulator looks for all emergency call strings and pops up a dialog asking the user if they would like to place the call.
- While a device is locked, a headset is still allowed to answer and end a call. Voice dialing is allowed.
- Some special function keys are disabled while a device is locked. While locked, the following keys are ignored.
Key | Code |
---|---|
Back |
27 |
SK2 |
113 |
Action |
13 |
End |
115 |
Talk |
114 |
Unlocking the Device
If no password is set, a confirmation must be displayed before the device is unlocked.
The UI will look for the registry key HasKeyboard to determine what to show. The key HKEY_LOCAL_MACHINE\Security\Phone\KeyLockConfirm determines the second key required to unlock the device if a keyboard is found. This value defaults to '*'. OEMs may set this value to any key 0-9, '*', or '#'.