SetWdtCounter

Outline

Time out value for WDT is set.

Supplement

None

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


VC++ .NET

SetWdtCounter
Calling Method BOOL SetWdtCounter(int iCounter);
Return Value
TRUE : Normal
FALSE : Error
Argument int iCounter Time out value (5 - 255 sec)
Example int ret;
ret = SetWdtCounter(10);
Necessary Condition
Header : iocif.h/iocifconst.h
Library : ioctl.lib

Top of Page

VC# .NET

SetWdtCounter
Calling Method [DllImport("Ioctl.dll")] static extern int SetWdtCounter(int iCounter);
Return Value
Excluding 0 : Normal
0 : Error
Argument int iCounter Time out value (5 - 255 sec)
Example int ret;
ret = SetWdtCounter(10);

Top of Page

VB .NET

SetWdtCounter
Calling Method Declare Function SetWdtCounter Lib "Ioctl.dll"(ByVal iCounter As Integer)As Integer
Return Value
Excluding 0 : Normal
0 : Error
Argument ByVal iCounter As Integer Time out value (5 - 255 sec)
Example Dim ret As Integer
ret = SetWdtCounter(10)

Top of Page