Partager via


WriteDebugLED (Windows Embedded CE 6.0)

1/6/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 OEMMain.lib or OEMMain_StaticKITL.lib
Windows Embedded CE Windows CE 2.12 and later

See Also

Reference

Debugging Functions