NET_DVR_INPUT_SIGNAL_LIST

Structure about signal source list.

Structure Definition

struct{
  DWORD    dwSize;
  DWORD    dwInputSignalNums;
  BYTE     *pBuffer;
  BYTE     byRes1[3];
  DWORD    dwBufLen;
  BYTE     byRes2[64];
}NET_DVR_INPUT_SIGNAL_LIST,*LPNET_DVR_INPUT_SIGNAL_LIST;

Members

dwSize

Structure size

dwInputSignalNums

Number of signal sources

pBuffer

Signal source information buffer, it is a pointer pointing to the buffer that stores the structure NET_DVR_INPUTSTREAMCFG_V40 (whose number (dwInputSignalNums) determines the buffer size).

byRes1

Reserved, set to 0.

dwBufLen

Allocated buffer size

byRes

Reserved, set to 0.

Remarks

  • If the member pBuffer is set to "NULL", and dwBufLen is set to 0, when you call the API NET_DVR_GetInputSignalList_V40, you can get the number of signal sources (dwInputSignalNums).

  • The size of signal source information buffer (pBuffer) is allocated acoording to the returned number of signal sources (dwInputSignalNums), so when you call the API NET_DVR_GetInputSignalList_V40 again, you can get the list of signal source information (pBuffer).