SetResetMask

Outline

Reset input mask for RAS port is set.

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.
    When using this API, please make sure following matter.

  • This API is common function with [System Monitor Property]-[Remote reset] tub in the Control Panel.
    The latest setting has a priority.
    VC++ .NET VC# .NET VB .NET


    VC++ .NET

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

    Top of Page

    VC# .NET

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

    Top of Page

    VB .NET

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

    Top of Page