Collapse All
Parallels C API Reference Guide
PrlDispNet_Remove Function
PrlApi.h PHT_DISP_NET_ADAPTER Send Feedback

Removes the specified virtual network adapter object from memory.

Syntax
PRL_RESULT PrlDispNet_Remove(
    PRL_HANDLE hDispNet
);
File
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 (c) 1999-2008 Parallels Software International Inc.
What do you think about this topic? Send feedback!