Share via


WriteDebugLED (Compact 2013)

3/28/2014

This function lets an application send debug events to an OEM-supplied LED.

Syntax

void WriteDebugLED(
  WORD wIndex,
  DWORD dwPattern 
);

Parameters

  • wIndex
    [in] 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.
  • dwPattern
    [in] Pattern sent to the LED.

Remarks

An OEM must implement the underlying architecture to support this application level API call.

For more information, see the SDK provided by the manufacturer of your target device.

Requirements

Header

dbgapi.h

Library

OEMMain.lib or OEMMain_StaticKITL.lib

See Also

Reference

Debugging Functions