NLedDriverSetDevice

Other versions of this page are also available for the following:

Windows Mobile SupportedWindows Embedded CE Supported

8/28/2008

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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

NLED_SETTINGS_INFO