Collapse All
Parallels Desktop® 10 for Mac — C API Reference Guide
PrlSrvCfgNet_GetSysIndex Function
PHT_HW_NET_ADAPTER

Returns a network adapter system index.

Syntax
PRL_RESULT PrlSrvCfgNet_GetSysIndex(
    PRL_HANDLE hNetAdapter, 
    PRL_UINT32_PTR pnSysIndex
);
File

PrlApiDisp.h

Parameters

hNetAdapter
A valid handle of type PHT_HW_NET_ADAPTER identifying the adapter.
pnSysIndex
[out] A pointer to a variable that receives the adapter index.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

A system index uniquely identifies an adapter on a physical host.

Links
Copyright © 1999-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!