Destroy an adapter. @param adapter the adapter to be destroyed
@return 0 on success, otherwise a non-zero error code
See Implementation
Destroy an adapter. @param adapter the adapter to be destroyed
@return 0 on success, otherwise a non-zero error code