OEMWriteDebugLED (Windows CE 5.0)

Send Feedback

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

void OEMWriteDebugLED(WORDwIndex,DWORDdwPattern );

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 Values

None.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Nkintr.h.
Link Library: Nk.lib.

See Also

Implementing the OEMInit Function

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.