Compartilhar via


NLedDriverSetDevice (Windows CE 5.0)

Send Feedback

This function changes the setting of a notification LED.

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 Values

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

OS Versions: Windows CE 1.0 and later.
Header: Led_drvr.h.
Link Library: Nleddrv.lib.

See Also

NLED_SETTINGS_INFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.