Collapse All
Parallels C API Reference Guide
PrlVirtNet_GetPortForwardList Function
PrlApi.h 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
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 © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!