Partager via


IsCeLogEnabled (Windows CE 5.0)

Send Feedback

This macro determines if CeLog is loaded with a particular status and if one of the zones is enabled.

#define IsCeLogEnabled(Status, ZoneCE)  (IsCeLogStatus(Status) && ((UserKInfo[KINX_CELOGSTATUS] & (ZoneCE)) != 0))

Parameters

  • Status
    Defines the status with which CeLog is loaded.
  • ZoneCE
    Defines the zone that is enabled.

Return Values

None.

Remarks

This macro can be used to determine whether to make a call to CeLogData. This macro allows applications to quickly skip the call if CeLog is not enabled or if CeLog is not gathering the right data.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Pkfuncs.h

See Also

CeLogData | IsCeLogStatus | IsCeLogZoneEnabled

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.