GetResetMask

Outline

Mask status of Reset input in RAS port is acquired.

Supplement

DIN1 input is shared with reset input for RAS port: when reset input is not masked, DIN1 mask cannot be canceled.
During System monitor is running, this API cannot be used.


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


VC++ .NET

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

Top of Page

VC# .NET

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

Top of Page

VB .NET

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

Top of Page