Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlPortFwd_Create Function
PrlApi.h  PHT_PORT_FORWARDING  Send Feedback

Creates a new handle of type PHT_PORT_FORWARDING.

Syntax
PRL_RESULT PrlPortFwd_Create(
    PRL_HANDLE_PTR phPortFwd
);
File
Parameters

phPortFwd
[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 a port forward handle object. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

It is the responsibility of the user to free the handle when it is no longer needed.

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