Set the device parameters.
BOOL NET_DVR_SetDVRConfig( LONG lUserID, DWORD dwCommand, LONG lChannel, LPVOID lpInBuffer, DWORD dwInBufferSize );
[IN] Value returned by NET_DVR_Login_V40.
[IN] Device configuration commands, which are different according to different configuration functions.
[IN] Channel No. (NIC No.), which varies with different commands. 0xFFFFFFFF-invalid, 1-main NIC, 2-extended NIC.
[IN] Pointer of input data buffer. For different configuration functions, the structures of this parameter are different.
[IN] Size of input data buffer (unit: byte).
Returns TRUE for success, and returns FALSE for failure.
If FALSE is returned, you can call NET_DVR_GetLastError to get the error code.
The following error codes may be returned by this API: 0, 3, 6, 7, 8, 9, 10, 12, 17, 41, 43, 44, 47, 72, 73, and 76. See the corresponding error types and descriptions in the Device Network SDK Errors.