Parallels Virtualization SDK
|
Sets the index of the adapter to which the specified virtual adapter should be bound.
PRL_RESULT PrlVmDevNet_SetBoundAdapterIndex( PRL_HANDLE hVmDev, PRL_INT32 nIndex );
PrlApiVm.h
PRL_RESULT. Possible values: PRL_ERR_INVALID_ARG - non valid net VM device handle or handle of already removed net VM device was passed PRL_ERR_SUCCESS - operation successfully completed
In a bridged networking mode, a network adapter inside a virtual machine is bound to an adapter on the host. This function allows to set the index of the adapter from the host.