Collapse All
Parallels Virtualization SDK
PrlDispNet_Remove Function
PHT_DISP_NET_ADAPTER

Removes the specified virtual network adapter object from memory.

Syntax
PRL_RESULT PrlDispNet_Remove(
    PRL_HANDLE hDispNet
);
File

PrlApiDeprecated.h

Parameters

hDispNet
A handle of type PHT_DISP_NET_ADAPTER identifying the network adapter.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

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.

Links
Copyright © 1999-2017 Parallels International GmbH. All rights reserved.