Collapse All
Parallels Desktop® 10 for Mac — C API Reference Guide
PrlVirtNet_IsNATServerEnabled Function
PHT_VIRTUAL_NETWORK

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

Syntax
PRL_RESULT PrlVirtNet_IsNATServerEnabled(
    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 NAT server is enabled. PRL_FALSE indicates that the NAT 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-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!