Share via


OEMWriteDebugLED

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

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 Nk.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Tasks

Implementing the OEMInit Function