NLedDriverSetDevice (Windows Embedded CE 6.0)

1/6/2010

This function changes the setting of a notification LED.

Syntax

BOOL NLedDriverSetDevice(
  INT nInfoId,
  PVOID pInput 
);

Parameters

  • nInfoId
    [in] Indicates what kind of configuration information is being changed. The only supported value is NLED_SETTINGS_INFO_ID, which indicates that the pInput buffer contains information about the current settings for the notification LED.
  • pInput
    [out] Pointer to the buffer that contains the NLED_SETTINGS_INFO structure. This structure contains the new settings for the notification LED.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

The NLedDriverSetDevice function changes the setting of the notification LED. Platforms with no LEDs can call SetLastError and return FALSE.

Requirements

Header led_drvr.h
Library Nleddrv.lib
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Notification LED Driver Functions
NLED_SETTINGS_INFO