Parallels Virtualization SDK
|
Returns the index of the adapter to which the specified virtual adapter is bound.
PRL_RESULT PrlVmDevNet_GetBoundAdapterIndex( PRL_HANDLE hVmDev, PRL_INT32_PTR pnIndex );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
In a bridged networking mode, a network adapter inside a virtual machine is bound to an adapter on the host. This function allows to retrieve the index of the adapter from the host.