Collapse All
Parallels Virtualization SDK
PrlVirtNet_IsDHCPServerEnabled Function
PHT_VIRTUAL_NETWORK

Determines whether the specified virtual network DHCP server is enabled or disabled.

Syntax
PRL_RESULT PrlVirtNet_IsDHCPServerEnabled(
    PRL_HANDLE hVirtNet, 
    PRL_BOOL_PTR pbEnabled
);
File

PrlApiNet.h

Parameters

hVirtNet
A handle of type PHT_VIRTUAL_NETWORK identifying the virtual network.
pbEnabled
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that the DHCP server is enabled. PRL_FALSE indicates that the DHCP server is disabled.
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.