Partager via


OEMWriteDebugLED (Windows Embedded CE 6.0)

1/5/2010

This function outputs a byte to the target device's specified LED port.

Syntax

void OEMWriteDebugLED(
  WORD wIndex, 
  DWORD dwPattern 
);

Parameters

  • wIndex
    [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.

    wIndex is a platform-specific parameter to indicate where the LED is written.

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

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

Return Value

None.

Requirements

Header nkintr.h
Library OEMMain.lib or OEMMain_StaticKITL.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Tasks

Implementing the OEMInit Function

Reference

Optional OAL Functions