Removes the specified virtual network adapter object from memory.
PRL_RESULT PrlDispNet_Remove( PRL_HANDLE hDispNet );
PrlApiDeprecated.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle was passed.
PRL_ERR_SUCCESS - function completed successfully.
This function does not delete the adapter from the Parallels Service configuration. Use this function if you would like to cancel the changes that you've made to the object properties so far. The function must be called before calling the PrlSrv_AddNetAdapter or the PrlSrv_UpdateNetAdapter function (the calls that update the Parallels Service configuration and make the changes permanent). To delete an existing adapter from the configuration, use the PrlSrv_DeleteNetAdapter function.