设备网络SDK开发使用手册

NET_DVR_SetPositionRule

设置场景位置规则信息参数。

BOOL NET_DVR_SetPositionRule(
  LONG                          lUserID,
  LONG                          lChannel,
  LONG                          lPositionIndex,
  LPNET_DVR_POSITION_RULE_CFG   lpPositionRule
);

Parameters

lUserID
[in] NET_DVR_Login或者NET_DVR_Login_V30的返回值
lChannel
[in] 通道号
lPositionIndex
[in] 场景索引
lpPositionRule
[in] 场景位置行为规则

Return Values

TRUE表示成功,FALSE表示失败。接口返回失败请调用NET_DVR_GetLastError获取错误码,通过错误码判断出错原因。

See Also

NET_DVR_Login  NET_DVR_Login_V40  NET_DVR_GetPositionRule