次の方法で共有


Event Log (Compact 2013)

3/28/2014

The event logging system provides a standard way for the OS, OS components, and applications to record important hardware and software events. The event log is a general-purpose tool that centralizes all the functionality necessary for creating events, collecting data, and logging information. Windows Embedded Compact 2013 supports a subset of the Windows Events APIs.

Events are typically used for troubleshooting application and driver software.

Windows Embedded Compact 2013 does not provide a common event-log service. To use event logs, you must write your own provider and consumer. For details, see Providing Events and Consuming Events.

Windows Events APIs

Windows Embedded Compact support

Event Logging

Not supported. Calls to event logging functions return ERROR_SERVICE_DOES_NOT_EXIST. For more information, see Event Logging Functions.

Event Tracing for Windows

Windows Embedded Compact 2013 supports Event Tracing for Windows (ETW).

ETW under Windows Embedded Compact supports several Windows Embedded Compact-specific APIs. For more information, see Event Log Subscriber Functions.

Windows Event Log

The Windows Event Log API defines the schema that you use to write an instrumentation manifest. For an example manifest, see Event Log Samples.

For reference information, see Event Log Reference.

Sample application code is available at Event Log Samples.

See Also

Other Resources

Core OS Services