Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
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
© 2021 Parallels International GmbH. All rights reserved.