NET_DVR_MatrixSetLoopDecChanEnable

Set the auto-switch status of a decoding channel.

API Definition

BOOL NET_DVR_MatrixSetLoopDecChanEnable(
  LONG    lUserID,
  DWORD   dwDecChanNum,
  DWORD   dwEnable
);

Parameters

lUserID

[IN] Value returned by NET_DVR_Login_V40.

dwDecChanNum

[IN] Decoding channel No. or window No.

dwEnable

[OUT] 0-Disable, 1-Enable.

Return Values

Return TRUE for success, and return FALSE for failure.

If FALSE is returned, you can call NET_DVR_GetLastError to get the error code.