Skip to content

NET_SDK_PTZAutoScan_Other

Interface Definition

1
2
3
4
BOOL NET_SDK_PTZAutoScan_Other(
    LONG lUserID,
    LONG lChannel,
    DWORD dwPTZAutoScanCmd);
1
2
3
4
public static extern bool NET_SDK_PTZAutoScan_Other(
    int lUserID,
    int lChannel,
    bool dwPTZAutoScanCmd);

Function Description

PTZ automatic scanning operation (no need to start preview first).

Parameter Description

Parameters Type Remark
lUserIDin LONG User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx.
lChannelin LONG Channel number, starting from 0. This parameter is invalid for IPC devices.
dwPTZAutoScanCmdin DWORD To operate the PTZ automatic scanning command, refer to PTZ_CMD_TYPE.

Return Value

  • type:BOOL

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

Remarks

None

Error Code