Collapse All
Parallels C API Reference Guide
PrlVirtNet_GetPortForwardList Function
PrlApi.h PHT_VIRTUAL_NETWORK Send Feedback

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 (c) 1999-2008 Parallels Software International Inc.
What do you think about this topic? Send feedback!