Collapse All
Parallels Virtualization SDK
PrlDispNet_SetDhcpEnabled Function
PHT_DISP_NET_ADAPTER See Also

Allows to enable or disable the DHCP scope for the specified virtual network adapter.

Syntax
PRL_RESULT PrlDispNet_SetDhcpEnabled(
    PRL_HANDLE hDispNet, 
    PRL_BOOL bDhcpEnabled
);
File

PrlApiDeprecated.h

Parameters

hDispNet
A handle of type PHT_DISP_NET_ADAPTER identifying the network adapter.
bDhcpEnabled
Specifies the action to perform. PRL_TRUE enables the DHCP scope. PRL_FALSE disables it.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle was passed.

PRL_ERR_SUCCESS - function completed successfully.

See Also
Links
Copyright © 1999-2017 Parallels International GmbH. All rights reserved.