Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVirtNet_SetAdapterIndex Function
PHT_VIRTUAL_NETWORK

Sets the specified adapter index.

Syntax
PRL_RESULT PrlVirtNet_SetAdapterIndex(
    PRL_HANDLE hVirtNet, 
    PRL_UINT32 nAdapterIndex
);
File

PrlApiNet.h

Parameters

hVirtNet
A handle of type PHT_VIRTUAL_NETWORK identifying the virtual network.
nAdapterIndex
The value to set.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

Special values for this parameter in PRL_ADAPTER_INDEX enum.

Links
© 2021 Parallels International GmbH. All rights reserved.