GetWdtResetMask

Outline

H/W reset setting is acquired when WDT is time out.

Supplement

None

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


VC++ .NET

GetWdtResetMask
Calling Method BOOL GetWdtResetMask(int *iMask);
Return Value
TRUE : Normal
FALSE : Error
Argument int *iMask
MASK_ON : Mask Enable
MASK_OFF : Mask Disable
Example int ret, iMask;
ret = GetWdtResetMask(&iMask);
Necessary Condition
Header : iocif.h/iocifconst.h
Library : ioctl.lib

Top of Page

VC# .NET

GetWdtResetMask
Calling Method [DllImport("Ioctl.dll")] static extern int GetWdtResetMask(ref int iMask);
Return Value
Excluding 0 : Normal
0 : Error
Argument ref int iMask
MASK_ON : Mask Enable
MASK_OFF : Mask Disable
Example int ret, iMask;
ret = GetWdtResetMask(ref iMask);

Top of Page

VB .NET

GetWdtResetMask
Calling Method Declare Function GetWdtResetMask Lib "Ioctl.dll"(ByRef iMask As Integer)As Integer
Return Value
Excluding 0 : Normal
0 : Error
Argument ByRef iMask As Integer
MASK_ON : Mask Enable
MASK_OFF : Mask Disable
Example Dim ret As Integer
Dim iMask As Integer
ret = GetWdtResetMask(iMask)

Top of Page