Get the device configuration information.
BOOL NET_DVR_GetDVRConfig( LONG lUserID, DWORD dwCommand, LONG lRuleID, LONG lChannel, LPVOID lpOutBuffer, DWORD dwOutBufferSize, LPDWORD lpBytesReturned );
[IN] Value returned by NET_DVR_Login_V40.
[IN] Device getting commands, which are different according to different getting functions.
[IN] Rule ID.
[IN] Channel No. (NIC No.), which varies with different commands. 0xffffffff-invalid or all channels, 1-main NIC, 2-extended NIC.
[OUT] Pointer of buffer to receive data. For different getting functions, the structures of this parameter are different.
[IN] Size of buffer to receive data (unit: byte). It cannot be 0.
[OUT] Pointer of actually received data size. It cannot be NULL.
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.