Compartilhar via


OALMSGS (Windows CE 5.0)

Send Feedback

This macro is used to log messages in the OAL and always uses serial output.

#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 Values

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

OS Versions: Windows CE Version 5.0 and later
Header: Oal_log.h

See Also

Logging Macros | OALMSG

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.