NET_DVR_MatrixGetLoopDecChanEnable

Get the auto-switch status of a decoding channel.

API Definition

BOOL NET_DVR_MatrixGetLoopDecChanEnable(
  LONG      lUserID,
  DWORD     dwDecChanNum,
  DWORD     *lpdwEnable
);

Parameters

lUserID

[IN] Value returned by NET_DVR_Login_V40.

dwDecChanNum

Decoding channel No. or window No.

lpdwEnable

[OUT] 0-Disabled, 1-Enabled.

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.