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_GetSupportPtzList

### Interface Definition

C++C#

    1
    2
    3
    4
    5
    BOOL NET_SDK_GetSupportPtzList(
        LONG lUserID,
        int listNum,
        NET_SDK_CHANNEL_PTZ* pOutChannelPtz,
        int* returnListNum);

    1
    2
    3
    4
    5
    public static extern bool NET_SDK_GetSupportPtzList(
        int lUserID,
        int listNum,
        IntPtr pOutChannelPtz,
        ref int returnListNum);

### Function Description

Get the list of PTZs in the NVR device channel (only for N9000 devices).

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
listNumin | int | The memory requested by pOutChannelPtz can support the number of `NET_SDK_CHANNEL_PTZ` returned.
pOutChannelPtzout | `NET_SDK_CHANNEL_PTZ`* | Returns the list of supported PTZ information.
returnListNumout | int* | Actually returns the number of valid values ​​in the PTZ information list.

### Return Value

- Type：BOOL

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

### Remarks

None

Error Code