Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDispNet_GetNetworkType Function
PHT_DISP_NET_ADAPTER  See Also

Returns the virtual network adapter network type (host-only or shared).

Syntax
PRL_RESULT PrlDispNet_GetNetworkType(
    PRL_HANDLE hDispNet, 
    PRL_NET_ADAPTER_EMULATED_TYPE_PTR pnNetworkType
);
File

PrlApiDeprecated.h

Parameters

hDispNet
A handle of type PHT_DISP_NET_ADAPTER identifying the network adapter.
pnNetworkType
[out] A pointer to a variable that receives the network 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
© 2021 Parallels International GmbH. All rights reserved.