Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVirtNet_SetHostIPAddress Function
PHT_VIRTUAL_NETWORK

Sets the specified virtual network host IP address.

Syntax
PRL_RESULT PrlVirtNet_SetHostIPAddress(
    PRL_HANDLE hVirtNet, 
    PRL_CONST_STR sHostIPAddress
);
File

PrlApiNet.h

Parameters

hVirtNet
A handle of type PHT_VIRTUAL_NETWORK identifying the virtual network.
sHostIPAddress
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.