Collapse All
Parallels C API Reference Guide
PrlVmDevNet_SetVirtualNetworkId Function
PrlApi.h PHT_VIRTUAL_DEV_NET_ADAPTER See Also

Allows to set the virtual network ID for a network adapter in a virtual machine.

Syntax
PRL_RESULT PrlVmDevNet_SetVirtualNetworkId(
    PRL_HANDLE hVmDev, 
    PRL_CONST_STR sNewVirtualNetworkId
);
File
Parameters

hVmDev
A handle of type PHT_VIRTUAL_DEV_NET_ADAPTER identifying the virtual network adapter.
sNewVirtualNetworkId
The new virtual network ID. The specified string must be encoded using UTF-8 and must be terminated with the binary zero character. Can be null or empty in order to drop virtual network ID device field.
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!