Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Camera Capture Graph

Windows Mobile 6.5

This code sample is named videocap. It demonstrates how to use the native Camera Capture API. The application allows you to take still pictures and video clips. It captures and encodes a still image into a JPEG file, and video in a WMV file.

  1. Navigate to the solution file (*.sln), and double-click it. By default, the solution file is copied to the following folder:

    C:\Program Files\Windows Mobile 6.5.3 DTK\Samples\PocketPC\CPP\win32\CameraCapture

    Microsoft Visual Studio launches and loads the solution.

  2. Build the solution (Ctrl+Shift+B).

  3. Deploy the solution (F5).

SDK: Windows Mobile Professional SDK and Windows Mobile Standard SDK

Development Environment: Visual Studio 2005 or 2008.

ActiveSync: Version 4.5.

ExTAPIAsync demonstrates how to develop an application that is based on Extended TAPI asynchronous functionality.

You must have a camera-equipped Windows Mobile powered device with a video capture driver installed, to use this application.

The emulator ships with a null capture driver.

The video is saved to the mobile device's root folder with the default file name "video1.asf", and the still image is saved with the default file name "test.jpg".

Community Additions

© 2015 Microsoft