Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# NET_SDK_RollingGateControl

### Interface Definition

C++C#

    1
    2
    3
    BOOL NET_SDK_RollingGateControl(
        LONG lUserID,
        const ROLLING_GATE_EXECUTE executeType);

    1
    2
    3
    public static extern Boolean NET_SDK_RollingGateControl(
        Int32 lUserID,
        in UInt32 executeType);

### Function Description

Control rolling shutter door switch

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
executeTypein | const `ROLLING_GATE_EXECUTE` | Control on, off, stop, corresponding to: 1, 2, 3 respectively, refer to `ROLLING_GATE_EXECUTE`

### Return Value

- Type：BOOL

- Remark：Returns TRUE if successful, FALSE if failed.

### Remarks

None

Error Code