Share via


SimplePlugin Sample (Windows Embedded CE 6.0)

1/6/2010

The SimplePlugin plug-in sample includes synchronous, native device–side code. It sends a single command packet to the device and receives a few parameters back from the device.

This plug-in also includes one device-side project for each CPU type supported by Windows Embedded CE. It demonstrates how to build a plug-in that can target a Windows Embedded CE powered device.

Required SDKs for Building

The Windows CE 5.0 standard software development kit (SDK) is required, unless you delete all of the device-side projects, except DeviceSideARMV4. If you do this, you can run the plug-in on devices with ARMV4 or ARMV4I processors only.

Supported Platforms

Windows CE .NET 4.2-based devices that have ARMV4 or ARMV4I CPUs.

Windows Embedded CE-based devices, specifically Windows CE 5.0 and later, that satisfy the required operating system dependencies in the following list.

Required Operating System Dependencies

This plug-in has only those dependencies required by Core Connectivity. For more information, see Required OS Dependencies for Plug-ins.

Files

The following table lists the files and subdirectories in the SimplePlugin directory.

Component Description

SimplePlugin.sln

The Visual Studio 2005 Solution file for the entire plug-in.

SimplePlugin.cebundleinfo

The Remote Tools Bundler input file. This file defines the components and metadata placed into the final .cetool file.

For more information, see Bundle Input Editor and Remote Tool Bundler.

DesktopSide

Directory containing the desktop component for the plug-in.

DeviceSide

Directory containing the source files used to build the different types of device-side component.

Ee503789.collapse(en-US,WinEmbedded.60).gifDesktop-side Component

The following table lists the files in the SimplePlugin desktop component.

Component Description

MyPlugin.cs

This file contains the implementation of the main plug-in object.

When the Remote Tools Framework Shell loads a plug-in, it creates an instance of this object.

For more information, see Requirements for Main Plug-in Objects.

MyData.cs

This file contains a sample implementation of a plug-in data object.

For more information, see Requirements for Plug-in Data Objects.

MyView.cs

This file contains an implementation of a custom view for the data object described in MyData.cs.

Data objects can use the built-in simple list view supplied by the Remote Tools Framework, or they can use a complex custom view.

For more information, see Requirements for Plug-in Data View Objects.

Ee503789.collapse(en-US,WinEmbedded.60).gifDevice-side Component

The following table lists the files in the SimplePlugin device component.

Component Description

DeviceSide.h

The include file for your device-side application.

DeviceSide.cpp

The source file that contains the WinMain function. It also contains a data-gathering function.

See Also

Other Resources

Sample Plug-ins Based on the Remote Tools Framework
Remote Tools Framework Plug-in Development