Collapse All
Parallels Virtualization SDK
PrlVmDevNet_IsConfigureWithDhcp Function
PHT_VIRTUAL_DEV_NET_ADAPTER

Determines if the specified network adapter is configured through DHCP on the guest OS side.

Syntax
PRL_RESULT PrlVmDevNet_IsConfigureWithDhcp(
    PRL_HANDLE hVmDev, 
    PRL_BOOL_PTR pbConfigureWithDhcp
);
File

PrlApiVm.h

Parameters

hVmDev
A handle of type PHT_VIRTUAL_DEV_NET_ADAPTER identifying the virtual network adapter.
pbConfigureWithDhcp
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that the adapter is 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
Copyright © 1999-2017 Parallels International GmbH. All rights reserved.