Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlVirtNet_SetDHCPServerEnabled Function
PrlApi.h  PHT_VIRTUAL_NETWORK  Send Feedback

Allows to enable or disable a specified virtual network DHCP server.

Syntax
PRL_RESULT PrlVirtNet_SetDHCPServerEnabled(
    PRL_HANDLE hVirtNet, 
    PRL_BOOL bEnabled
);
File
Parameters

hVirtNet
A handle of type PHT_VIRTUAL_NETWORK identifying the virual network.
bEnabled
A boolean value indicating the type of action to perform. PRL_TRUE will enable the DHCP server. PRL_FALSE will disable it.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!