SetBlControl

Outline

ON/OFF of backlight is controlled.

Supplement

None

VC++ .NET VC# .NET VB .NET


VC++ .NET

SetBlControl
Calling Method BOOL SetBlControl(int iStatus);
Return Value
TRUE : Normal
FALSE : Error
Argument int iStatus ON/OFF setting
BACKLIGHT_ON : ON
BACKLIGHT_OFF : OFF
Example int ret;
ret = SetBlControl(BACKLIGHT_ON);
Necessary Condition
Header : iocif.h/iocifconst.h
Library : ioctl.lib

Top of Page

VC# .NET

SetBlControl
Calling Method [DllImport("Ioctl.dll")] static extern int SetBlControl(int iStatus);
Return Value
Excluding 0 : Normal
0 : Error
Argument int iStatus ON/OFF setting
BACKLIGHT_ON : ON
BACKLIGHT_OFF : OFF
Example int ret;
ret = SetBlControl(BACKLIGHT_ON);

Top of Page

VB .NET

SetBlControl
Calling Method Declare Function SetBlControl Lib "Ioctl.dll"(ByVal iStatus As Integer)As Integer
Return Value
Excluding 0 : Normal
0 : Error
Argument ByVal iStatus ON/OFF setting
BACKLIGHT_ON : ON
BACKLIGHT_OFF : OFF
Example Dim ret As Integer
ret = SetBlControl(BACKLIGHT_ON);

Top of Page