Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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