Collapse All
Parallels C API Reference Guide
PrlVmDevNet_SetAdapterType Function
PrlApi.h 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
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 © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!