Partager via


Camera Drivers (Compact 7)

3/12/2014

Camera drivers connect the Windows Embedded Compact OS to video and still image capture devices. The Windows Embedded Compact camera driver model supports basic image capture functionality in consumer devices such as cameras integrated into cell phones or PDAs. This model is not intended to support advanced image capture devices such as full-featured digital cameras or video conferencing equipment.

Important

If your device has a camera and you want to use Adobe Flash Player 10, you need to include camera support. To do this, create a DirectShow source filter that takes the camera image. You should support all cameras that might be connected to the device.

Applications do not communicate with your camera driver directly. Instead, applications use the middleware layer provided by the DirectShow video capture infrastructure to communicate and control the camera through your device driver. Camera drivers are divided into two layers:

  • The hardware-specific Camera Platform Dependent Driver (PDD) layer that is implemented by the camera driver author.
  • The Camera Model Device Driver (MDD) layer, which is provided by Microsoft as source code in the SDK.

For reference information, see Camera Driver Reference.

To add this feature to your OS, see Camera Driver Catalog Items and Sysgen Variables.

Sample code for a camera PDD is available at %_WINCEROOT%\public\COMMON\oak\drivers\Capture\camera\layered\pdd_null.

Source code for the camera MDD is available at %_WINCEROOT%\public\COMMON\oak\drivers\Capture\camera\layered\MDD.

See Also

Other Resources

Device Drivers