NET_DVR_MatrixGetDecChanEnable

Get the decoding status of the current decoding channel or window.

API Definition

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

Parameters

lUserID

[IN] Value returned by NET_DVR_Login_V40.

dwDecChanNum

[IN] Decoding channel No. or window No.

IpdwEnable

[OUT] Status: 0-Disabledd, 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.