OALMSGS (Windows Embedded CE 6.0)
1/5/2010
This macro is used to log messages in the OAL and always uses serial output.
Syntax
#define OALMSGS(cond, exp)
Parameters
- cond
Boolean value that specifies whether the trace will occur. Use a value representing an OAL trace zone to set the cond parameter. See OAL Trace Zones for descriptions of the valid trace zones. The trace zones can be combined in this argument using Boolean operators. If this parameter resolves to TRUE, the trace will occur. If it resolves to FALSE, the trace will not occur.
- exp
Expression to be passed to OALLogV if the cond parameter is set to TRUE. OALLogV is implemented by a trace routine function in the kernel.
Return Value
None.
Remarks
OALZONE is automatically called for each trace zone specified in the exp parameter.
This macro is deactivated if the SHIPBUILD constant is defined.
Requirements
Header | oal_log.h |
Windows Embedded CE | Windows CE 5.0 and later |