Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlSrvCfgNet_IsConfigureWithDhcp Function
PHT_HW_NET_ADAPTER

Determines whether the adapter network settings are configured through DHCP.

Syntax
PRL_RESULT PrlSrvCfgNet_IsConfigureWithDhcp(
    PRL_HANDLE hNetAdapter, 
    PRL_BOOL_PTR pbConfigureWithDhcp
);
File

PrlApiDisp.h

Parameters

hNetAdapter
A valid handle of type PHT_HW_NET_ADAPTER identifying the adapter.
pbEnabled
[out] A pointer to a variable that receives the return value. PRL_TRUE indicates that the adapter settings are configured through DHCP. PRL_FALSE indicates otherwise.

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.