Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmDevNet_SetHostInterfaceName Function
PHT_VIRTUAL_DEV_NET_ADAPTER

Sets the custom host adapter name in a bridged networking mode, (autogenerated if not set) hVmDev : A handle of type PHT_VIRTUAL_DEV_NET_ADAPTER identifying the virtual network adapter.

Syntax
PRL_RESULT PrlVmDevNet_SetHostInterfaceName(
    PRL_HANDLE hVmDev, 
    PRL_CONST_STR sNewHostInterfaceName
);
File

PrlApiVm.h

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

sNewHostInterfaceName : Host interface name.

Links
© 2021 Parallels International GmbH. All rights reserved.