NET_DVR_Cleanup

Release the resources after the program is ended.

API Definition

BOOL NET_DVR_Cleanup(
);

Return Values

Returns TURE for success, and returns FALSE for failure.

If FALSE is returned, you can call NET_DVR_GetLastError to get the error code.

The available error codes may be returned by this API are 0 and 3. See details in Device Network SDK Errors.

Remarks

  • When calling this API, you cannot call other APIs at the same time.

  • NET_DVR_Init and this API should be called by pair. That is, once the NET_DVR_Init is called, you should call NET_DVR_Cleanup to release the resources when exiting the program.