OEMWriteDebugLED

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

void OEMWriteDebugLED(
  WORD wIndex, 
  DWORD dwPattern 
);

Parameters

  • wIndex
    [in] The index identifies a component of the operating system (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

hal Component | Implementing the OEMInit Function

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.