다음을 통해 공유


Setting CeLog Zones Programmatically (Windows CE 5.0)

Send Feedback

You can set the CeLog collection zones dynamically from an application by calling CeLogSetZones. While CeLogSetZones provides three zone values for you to manipulate, only the CE zone will affect the collection of data on your device. The user and process zones are unused.

You can also determine the current CeLog zone settings, along with the set of zones that are available for use, by calling CeLogGetZones.

To disable logging, set the CE zone to zero. To enable logging, set the CE zone to a bitmask of one or more available zones.

If logging was previously disabled, you may need to call CeLogReSync to make the kernel create a list of the existing processes, threads, and modules. Tools such as Remote Kernel Tracker use this list to display the log contents. If the log does not contain the current list of processes and threads, Remote Kernel Tracker cannot graphically display thread activity.

See Also

CeLog Zones | CeLog Event Tracking Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.