Share via


NLedGetDeviceInfo (Compact 2013)

3/26/2014

This function is a pass through function to the notification LED drivers NLedDriverGetDeviceInfo function.

Syntax

BOOL WINAPI NLedGetDeviceInfo(
  UINT nInfoId,
    PVOID pOutput
);

Parameters

  • nInfoId
    [in] Integer specifying the information to return.

    The following table shows the defined values.

    Value

    Description

    NLED_COUNT_INFO_ID

    Indicates that the pOutput buffer specifies the number of notification LEDs on the device.

    NLED_SUPPORTS_INFO_ID

    Indicates that the pOutput buffer specifies information about the capabilities supported by the notification LED.

    NLED_SETTINGS_INFO_ID

    Indicates that the pOutput buffer contains information about the notification LED current settings.

    NLED_TYPE_INFO_ID

    Indicates that the pOutput buffer contains information about the notification LED type (LED, Vibrator).

  • pOutput
    [out] Pointer to the buffer to return the information. The buffer points to various structure types, depending on the value of nInfoId.

    The following table shows these structures.

    Value of nInfoId

    Structure in pOutput

    NLED_COUNT_INFO_ID

    NLED_COUNT_INFO

    NLED_SUPPORTS_INFO_ID

    NLED_SUPPORTS_INFO

    NLED_SETTINGS_INFO_ID

    NLED_SETTINGS_INFO

    NLED_TYPE_INFO_ID

    NLED_TYPE_INFO

Requirements

Header

nled.h

Library

coredll.dll

See Also

Reference

Notification LED Driver Functions
NLED_COUNT_INFO
NLED_SETTINGS_INFO
NLED_SUPPORTS_INFO
NLedDriverGetDeviceInfo