Freigeben über


Platform Manager Samples (Windows CE 5.0)

Send Feedback

The following table shows code samples that illustrate how to use the Platform Manager API.

Note   Core Connectivity replaces Platform Manager and provides a connectivity infrastructure that is similar to the infrastructure that Platform Manager provides. Use the Core Connectivity API. Do not use the Platform Manager API except in existing code that does not need to be compatible with future releases of Windows CE. For more information about Core Connectivity, see Core Connectivity Infrastructure.

Code sample Description
VBEnumerator Demonstrates how to use the Automation capabilities of Platform Manager to enumerate collections of OS designs, named connections, service categories, CPUs, operating systems (OSs), toolkits, and properties. With each OS design, this sample enumerates all remote devices, startup servers, transports, and associated CPUs and OS.

This sample displays the Platform Manager objects in a hierarchical fashion.

In the top-level Platman directory for Platform Manager, this sample is located at Sdk\Wce500\Samples\VBEnumerator.

For information about Automation in Windows CE, see Automation.

VBClientServer Demonstrates the device connectivity characteristics of Platform Manager using the Platform Manager API and connection streams.

In the top-level Platman directory for Platform Manager, this sample is located at Sdk\Wce500\Samples\VBClientServer.

VBTestHarness Demonstrates the device connectivity characteristics of Platform Manager using the Platform Manager API.

In the top-level Platman directory for Platform Manager, this sample is located at Sdk\Wce500\Samples\VBTestHarness.

TimeViewer Demonstrates the basic steps that you must take to develop a remote tool using the Platform Manager API. On the development workstation, the TimeViewer sample displays the system time on a target device.

In the top-level Platman directory for Platform Manager, this sample is located at Sdk\Wce500\Samples\Timeviewer.

TLSample Demonstrates how to create a custom transport by modifying the TCP/IP transport that is provided with Platform Manager. The TCP/IP transport establishes a connection between an application running on a development workstation and a target device. For more information about the TCP/IP transport, see TCP/IP Transport.

In the top-level Platman directory for Platform Manager, this sample is located at Sdk\Wce500\Samples\Tlsample. The Desktop directory contains the source files for the part of the transport that runs on the development workstation. The Device directory contains the source files for the part of the transport that runs on the target device.

KTSubSample Demonstrates how to subscribe to data published by the event tracking subsystem (Celog.lib). For more information, see Event Tracking.

This sample application is a Microsoft Foundation Classes (MFC) for Windows CE application. For this application, the Publish/Subscribe infrastructure (Pub/Sub) transfers data between the target device and the development workstation. For more information about Pub/Sub, see Publish/Subscribe Infrastructure.

This sample application is similar to the Remote Kernel Tracker tool. For more information, see Remote Kernel Tracker.

This sample application displays the following heap events:

  • Alloc
  • Realloc
  • Create
  • Destroy

In the top-level Platman directory for Platform Manager, this sample is located at Sdk\Wce500\Samples\KTSubSample.

See Also

Platform Manager API | Platform Manager Object Model

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.