SetDout

Outline

DOUT output for RAS port is set.

Supplement

None

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


VC++ .NET

SetDout
Calling Method BOOL SetDout(int iPort, int iStatus);
Return Value
TRUE : Normal
FALSE : Error
Argument int iPort DOUT Port
DOUT0 : DOUT0
DOUT1 : DOUT1
int iStatus Output status
DOUT_ON : Output
DOUT_OFF : No output
Example int ret;
ret = SetDout(DOUT0, DOUT_ON);
Necessary Condition
Header : iocif.h/iocifconst.h
Library : ioctl.lib

Top of Page

VC# .NET

SetDout
Calling Method [DllImport("Ioctl.dll")] static extern int SetDout(int iPort, int iStatus);
Return Value
Excluding 0 : Normal
0 : Error
Argument int iPort DOUT Port
DOUT0 : DOUT0
DOUT1 : DOUT1
int iStatus Output status
DOUT_ON : Output
DOUT_OFF : No output
Example int ret;
ret = SetDout(DOUT0, DOUT_ON);

Top of Page

VB .NET

SetDout
Calling Method Declare Function SetDout Lib "Ioctl.dll"(ByVal iPort As Integer, ByVal iStatus As Integer)As Integer
Return Value
Excluding 0 : Normal
0 : Error
Argument ByVal iPort As Integer DOUT Port
DOUT0 : DOUT0
DOUT1 : DOUT1
ByVal iStatus As Integer Output status
DOUT_ON : Output
DOUT_OFF : No output
Example Dim ret As Integer
ret = SetDout(DOUT0, DOUT_ON);

Top of Page