Core OS Code Samples (Compact 7)


Windows Embedded Compact 7 contains the following code samples that apply to Core OS.

The sample code is only a starting point for development. As with any code, you must ensure proper error handling, identify security risks, and thoroughly test it before considering it for production use.

Feature area Description Location Related topic

Event Log

Provides an example of an Event Log manifest, provider, and subscriber

Included in topic Event Log Samples

Event Log Samples


Uses the CeLog API to demonstrate event tracking


CeLog Event Tracking


Uses the kernel synchronization API to demonstrate the management of a pool of synchronized threads


Synchronization Reference

State and Notifications Broker

Demonstrates how to use the State and Notifications Broker APIs

Included in topic State and Notifications Broker Sample

State and Notifications Broker Sample