Skip to content

NET_SDK_PTZCruise_Other

Interface Definition

1
2
3
4
5
BOOL NET_SDK_PTZCruise_Other(
    LONG lUserID,
    LONG lChannel,
    DWORD dwPTZCruiseCmd,
    BYTE byCruiseRoute);
1
2
3
4
5
public static extern bool NET_SDK_PTZCruise_Other(
    int lUserID,
    int lChannel,
    int dwPTZCruiseCmd,
    int byCruiseRoute);

Function Description

PTZ cruise operation (no need to start preview).

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.
dwPTZCruiseCmdin DWORD To operate the PTZ cruise command, refer to PTZ_CMD_TYPE.
byCruiseRoutein BYTE Cruise path, supports up to 32 paths.

Return Value

  • type:BOOL

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

Remarks

None

Error Code