NLedDriverGetDeviceInfo
This function returns information about the notification LED device.
Syntax
BOOL NLedDriverGetDeviceInfo ( INT nId, PVOID pOutput );
Parameters
- nId
- Integer specifying the information to be returned. The following values are defined:
- 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.
- pOutput
- Pointer to the buffer to which the information is to be returned. The buffer points to various structure types, depending on the value of nId, as detailed in the following table.
Value of nID
|
Structure in pOutput
|
NLED_COUNT_INFO_ID |
NLED_COUNT_INFO |
NLED_SUPPORTS_INFO_ID |
NLED_SUPPORTS_INFO |
NLED_SETTINGS_INFO_ID |
NLED_SETTINGS_INFO |
Return Values
TRUE indicates success. FALSE indicates failure.
Remarks
Implement this GWES-layer function as part of porting native device drivers.
This function is declared in the Led_drvr.h header file.
See Also
NLED_COUNT_INFO, NLED_SETTINGS_INFO, NLED_SUPPORTS_INFO