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_GetDeviceCHSupportFunction

### Interface Definition

C++C#

    1
    2
    3
    4
    5
    BOOL NET_SDK_GetDeviceCHSupportFunction(
        LONG lUserID,
        NET_SDK_CH_DEVICE_SUPPORT* pDeviceCHSupport,
        LONG lBuffSize,
        LONG* pCHCount);

    1
    2
    3
    4
    5
    public static extern Boolean NET_SDK_GetDeviceCHSupportFunction(
        Int32 lUserID,
        IntPtr pDeviceCHSupport,
        Int32 lBuffSize,
        ref int pCHCount);

### Function Description

Get the functions supported by the device, such as whether it supports fisheye and thermal imaging.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
pDeviceCHSupportout | `NET_SDK_CH_DEVICE_SUPPORT`* | Array of functions supported by the device, refer to `NET_SDK_CH_DEVICE_SUPPORT`.
lBuffSizein | LONG | The size of the space requested by pDeviceCHSupport.
pCHCountout | LONG* | The actual number of `NET_SDK_CH_DEVICE_SUPPORT` stored in pDeviceCHSupport.

### Return Value

- Type：BOOL

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

### Remarks

None

Error Code