Enable remote configuration.
LONG NET_DVR_StartRemoteConfig( LONG lUserID, DWORD dwCommand, LPVOID lpInBuffer, DWORD dwInBufferLen, fRemoteConfigCallback cbStateCallback, LPVOID pUserData );
[IN] Value returned by NET_DVR_Login_V40.
[IN] Configuration commands. For different functions, the commands and lpInBuffer are different, see the detailed relation in the table below:
dwCommand Macro Definition |
Value |
Description |
lpInBuffer Related Structure |
lpBuffer Related Structure |
---|---|---|---|---|
NET_DVR_GET_ALL_RECORD_PASSBACK_TASK_MANUAL |
6235 |
Get tasks of manually copying back videos |
Input parameter buffer pointer, which relates to the configuration command.
[IN] Size of input buffer.
[IN] Status callback function, see the definition in fRemoteConfigCallback.
[OUT] User data.
Returns -1 for failure, and returns other values for the handles of NET_DVR_GetNextRemoteConfig and NET_DVR_StopRemoteConfig.
If -1 is returned, you can call NET_DVR_GetLastError to get the error code.
This API specifies the information to search. After calling this API, you can call NET_DVR_GetNextRemoteConfig to get the information one by one.