RETAILLED (Windows Embedded CE 6.0)
1/6/2010
This macro conditionally outputs WORD values to the LED.
Syntax
RETAILLED (
Condition,
(Parameters)
)
Parameters
- Condition
Boolean expression used to determine if the message would be output.
- (Parameters)
A list of wIndex and dwPattern parameters to be passed to WriteDebugLED. Must be enclosed in parentheses.
Return Value
None.
Remarks
This macro may be used to conditionally output a release LED pattern. The pattern is output if the Boolean input expression evaluates to TRUE. The parameters wIndex and dwPattern are passed to the WriteDebugLED function. Note that these parameters must be enclosed by parentheses to prevent syntax errors being generated by the preprocessor. This macro should be used sparingly, as it increases the size of retail builds.
Example
RETAILLED(dwCurrentNumberOfItems < dwMaxNumberOfItems,
(3, 0x12345678));
Requirements
Header | dbgapi.h |
Windows Embedded CE | Windows CE 2.10 and later |