Export (0) Print
Expand All
0 out of 3 rated this helpful - Rate this topic

Application Development Considerations for Windows Mobile 6.1

Windows Mobile 6.5
4/12/2010

This topic contains information about changes to Windows Mobile 6.1 that impact application developers.

Windows Mobile 6.1 features a new home screen layout, called Sliding Panel Media, that does not support the previous home screen plug-in model. If an application uses a home screen plug-in, instruct the user to switch the device to the classic home screen layout, as shown in the following steps:

  1. In Control Panel, open Home Screen.
  2. In Screen Layout, choose Home.
  3. For the layout, choose an option other than Sliding Panel Media.

Security policies in Windows Mobile 6.1 provide a mechanism for the administrator to remotely disable the camera on a device that is enrolled on the network. If a security policy disables the camera, the effect depends on whether the application controls the camera using the native API or the managed API:

  • The native function, SHCameraCapture, returns the error code ERROR_RESOURCE_DISABLED.
  • The ShowDialog method of the managed class, CameraCaptureDialog, returns DialogResult.Cancel, which is the same return value as if the user pressed the Cancel button.

To determine if the security policy is in effect before attempting to call one of the camera APIs, examine the CameraEnabled value under the following registry key:

HKEY_LOCAL_MACHINE\System\State\Hardware

Name Type Description

CameraEnabled

REG_DWORD

Specifies whether the camera is enabled or disabled.

If set to 0, the camera is disabled. All other values indicate the camera is enabled.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.