Structure about signal source list.
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;
Structure size
Number of signal sources
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).
Reserved, set to 0.
Allocated buffer size
Reserved, set to 0.
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).