dcopy_device_unregister
int dcopy_device_unregister(dcopy_device_handle_t *handle);
e = dcopy_device_unregister(&state->is_device_handle);