WriteDebugLED

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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 coredll.lib
Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Debugging Functions