GetBlControl

Outline

Backlight ON/OFF status is acquired.

Supplement

None

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


VC++ .NET

GetBlControl
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, iStatus;
ret = GetBlControl(&iStatus);
Necessary Condition
Header : iocif.h/iocifconst.h
Library : ioctl.lib

Top of Page

VC# .NET

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

Top of Page

VB .NET

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

Top of Page