Trek -725 Automobile Alarm User Manual


 
Trek-725 User Manual 68
4.9.3 File layout
4.9.4 Application development with this Library
All API functions are exported from the Advlib.DLL dynamic link
library. A header file Advlib.h and library Advlib.LIB for C/C++ are pro-
vided in the Include and Library directories. There are six classes of API
functions.
Watchdog API
BOOL AdvLibWDSetConfig(DWORD delay, int timeout);
BOOL AdvLibWDTrigger(void);
BOOL AdvLibWDDisable(void);
Get MAC Address API
BOOL AdvLibGetMacAddr(char* tmpStr);
Adjust Brightness
BOOL AdvLibBrightGet(BYTE *brightness);
BOOL AdvLibBrightSet(BYTE brightness);
BOOL AdvLibBrightApply(void);
Set Display Resolution
BOOL AdvLibSetResolution(int DisplayModeIndex);
On/Off Backlight
BOOL AdvLibScreenOn(void);
BOOL AdvLibScreenOff(void);
Registry Flush
BOOL AdvLibRegFlushKey(void);
ReadMe.txt
ADVLib.h Header file
ADVLib.lib Library file
AdvLib.dll Dynamic linked library release version
TestAPI.zip An API demo project