
Return value:
This function can return a handle of a device.
Remarks: Call this function to initialize the LED driver and obtain a control handle from the
LED driver.
2.4.2.2 LIGHTBAR_DriverUninit
Syntax: PACSM_LIGHTBAR_CTRL STD_Void LIGHTBAR_DriverUninit(HANDLE hDev)
Parameters: hDev [IN] – enter a handle that you want to delete
Return value:
None
Remarks: Call this function to delete a handle to the LED driver. Resources are released.
2.4.2.3 LIGHTBAR_De vic e In it
Syntax: PACSM_LIGHTBAR_CTRL STD_BOOLEN LIGHTBAR_DeviceInit(HANDLE hDev)
Parameters: hDev [IN] – enter a device handle
Return value:
If it is initialized successfully, it returns TRUE.
Remarks: Call this function to initialize a LED device.
2.4.2.4 LIGHTBAR_DeviceClos e
Syntax: PACSM_LIGHTBAR_CTRL STD_BOOLEN LIGHTBAR_DeviceClose(HANDLE hDev)
Parameters: hDev [IN] – enter a device handle
Return value:
If it is initialized successfully, it returns TRUE.
Remarks: Call this function to close all hardware control.