Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlVmDevNet_SetAdapterType Function
PHT_VIRTUAL_DEV_NET_ADAPTER  See Also

Allows to manually assign adapter type to a network adapter.

Syntax
PRL_RESULT PrlVmDevNet_SetAdapterType(
    PRL_HANDLE hVmDev, 
    PRL_VM_NET_ADAPTER_TYPE nAdapterType
);
File

PrlApiVm.h

Parameters

hVmDev
A handle of type PHT_VIRTUAL_DEV_NET_ADAPTER identifying the virtual network adapter.
nAdapterType
The new network adapter type.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

See Also
Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.