Download BOX-Type Industrial Computer PL

Transcript
Appendices
A.5.3
A.5.4
Visual C Functions
Function Name
Description
InitBLIoctl
Creates the CPL_BLIoctl object
EndBLIoctl
GetBLDrvHandle
GetBLDrvVersion
SetBLControl
GetBLControl
Destroys the CPL_BLIoctl object
Gets the driver handle
Gets the driver version
Sets the backlight control values
Gets the backlight control settings
Visual C Function Specifications (Details)
InitBLIoctl
Call Format
Return Value
Arguments
Processing
Example
EndBLIoctl
Call Format
Return Value
Arguments
Processing
Example
void WINAPI InitBLIoctl( void )
None
None
Creates a CPL_BLIoctl object. The object once created is not
destroyed until the EndBLIoctl function is called.
InitBLIoctl();
void WINAPI EndBLIoctl( void )
None
None
Destroys the object created using the InitBLIoctl function.
EndBLIoctl();
GetBLDrvHandle
Call Format
int WINAPI GetBLDrvHandle( HANDLE * pHndl )
Return Value
0: Normal
1: Error
Arguments
(I/O) HANDLE *pHndl Pointer to the device driver handle
Processing
Gets the device driver handle to communicate with the
device driver.
Example
int
ret;
HANDLE hndl;
ret = GetBLDrvHandle( &hndl );
An error will occur if the Backlight Control Device Driver is not running.
App-96
PL-B920 Series User Manual