Skip to content

NET_SDK_GetDeviceCHStatus

Interface Definition

1
2
3
4
5
BOOL NET_SDK_GetDeviceCHStatus(
    LONG lUserID,
    NET_SDK_CH_DEVICE_STATUS* pDeviceCHStatus,
    LONG lBuffSize,
    LONG* pCHCount);
1
2
3
4
5
public static extern bool NET_SDK_GetDeviceCHStatus(
    Int32 lUserID,
    IntPtr pDeviceCHStatus,
    Int32 lBuffSize,
    ref Int32 pCHCount);

Function Description

Get NVR device channel information, channel type, whether it is online, whether the analog channel is connected to the video, etc.

Parameter Description

Parameters Type Remark
lUserIDin LONG User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx.
pDeviceCHStatusout NET_SDK_CH_DEVICE_STATUS* The device's currently configured channel online status, refer to NET_SDK_CH_DEVICE_STATUS.
lBuffSizein LONG PDeviceCHStatus length (sizeof(NET_SDK_CH_DEVICE_STATUS) * number of channels supported by the device).
pCHCountout LONG* The actual number of channels currently available on the device.

Return Value

  • type:BOOL

  • remark:Returns TRUE if successful, FALSE if failed.

Remarks

None

Error Code