Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVirtNet_SetNetworkId Function
PHT_VIRTUAL_NETWORK

Sets the specified virtual network ID.

Syntax
PRL_RESULT PrlVirtNet_SetNetworkId(
    PRL_HANDLE hVirtNet, 
    PRL_CONST_STR sNetworkId
);
File

PrlApiNet.h

Parameters

hVirtNet
A handle of type PHT_VIRTUAL_NETWORK identifying the virtual network.
sNetworkId
The value to set. The value must be a a UTF-8 encoded, null-terminated string.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
© 2021 Parallels International GmbH. All rights reserved.