NET_DVR_MatrixSendData

Send data to passive decoding channel.

API Definition

BOOL NET_DVR_MatrixSendData(
  LONG     lPassiveHandle,
  char     *pSendBuf,
  DWORD    dwBufSize
);

Parameters

lPassiveHandle

[IN] Value returned by NET_DVR_MatrixStartPassiveDecode

pSendBuf

[IN] Buffer for the data that needs to be sent.

lpInter

[IN] Size of buffer for the data that needs to be sent. The data size should be smaller than 512 KB, and 30 KB is suggested.

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.