beautypg.com

4 led control api, 1 introduction, 1 programming language support – IEI Integration AFL2-W21-H61 User Manual

Page 42: 2 application content, 2 led control api functions, 1 lightbar_driverinit, Ontrol, 4 led co n tro l ap i

background image

AFL2-W21A/AB-H61

P a g e 23

2.4 LED Co n tro l AP I

2.4.1 In tro d u c tio n

This chapter aims to explain how to use LED Light Bar Control API, and support API

version is V1.0.0.7. Due LED Light Bar driver only has x86 version, this API could be used

in the Windows 2000/XP(x86)/2003/7(x86) environments.

2.4.1.1 P ro g ra m m in g La n g u a g e S u p p o rt

The iEi LED Light Bar Control application provides an interface to driver with:

 Microsoft Visual C/C++

 Microsoft Visual Basic

 Other programming systems that can access functions into DLL's

2.4.1.2 Ap p lic a tio n Co n te n t

The iEi LED Light Bar Control application includes the following files:

 IBS_LEDCTRL.dll

 IBS_LEDCTRL.lib

 IBS_LEDCTRL.h

2.4.2 LED Co n tro l AP I Fu n c tio n s

2.4.2.1 LIGHTBAR_Drive rIn it

Syntax:

PACSM_LIGHTBAR_CTRL STD_HANDLE LIGHTBAR_DriverInit(void)

Parameters:

NONE

Return value:

Return a Handle from LED driver.

Remarks:

Call this function to initial and start the LED Driver and return a Handle from LED

driver.