IsCeLogEnabled (Windows Embedded CE 6.0)
1/5/2010
This macro determines if CeLog is loaded with a particular status and if one of the zones is enabled.
Syntax
#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 Value
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
Header | pkfuncs.h |
Windows Embedded CE | Windows CE 5.0 and later |
See Also
Reference
OAL Macros
IsCeLogStatus
IsCeLogZoneEnabled