Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlVirtNet_GetPortForwardList Function
PHT_VIRTUAL_NETWORK

Returns the port forward entries list.

Syntax
PRL_RESULT PrlVirtNet_GetPortForwardList(
    PRL_HANDLE hVirtNet, 
    PRL_PORT_FORWARDING_TYPE nPortFwdType, 
    PRL_HANDLE_PTR phPortFwdList
);
File

PrlApiNet.h

Parameters

hVirtNet
A handle of type PHT_VIRTUAL_NETWORK identifying the virtual network.
nPortFwdType
A port forward type ( PRL_PORT_FORWARDING_TYPE enumeration ).
phPortFwdList
[out] A pointer to a variable that receives the new handle.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_OUT_OF_MEMORY - not enough memory to create the list or a port forward handle object. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.