Partager via


OALLED (Windows Embedded CE 6.0)

1/5/2010

This macro calls OEMWriteDebugLED to display debug information on debug board LEDs.

Syntax

#define OALLED(index, data)

Parameters

  • index
    [in] The index identifies a component of the OS. The OS reserves a range of indexes for its components.

    An OEM can use values from 0 to MAX_OEM_LEDINDEX.

    The index parameter is platform-specific and indicates where the LED is written.

    For example, a value of -1 might indicate that the data parameter should be written to a number of discrete LEDs, while any other index value indicates a register offset to an alphanumeric display.

  • data
    [in] The value being written to the LED register.

Return Value

None.

Remarks

This macro is deactivated if the SHIPBUILD constant is defined.

Requirements

Header oal_log.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Logging Macros