Collapse All
Parallels C API Reference Guide
PrlDispNet_SetName Function
PrlApi.h PHT_DISP_NET_ADAPTER See Also Send Feedback

Sets the specified virtual network adapter name.

Syntax
PRL_RESULT PrlDispNet_SetName(
    PRL_HANDLE hDispNet, 
    PRL_CONST_STR sNewDispNetName
);
File
Parameters

hDispNet
A handle of type PHT_DISP_NET_ADAPTER identifying the network adapter.
sNewDispNetName
A name to set. The value must be a UTF-8 encoded, null-terminated string.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

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