Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlSrvCfg_GetGenericPciDevice Function
PrlApi.h  PHT_SERVER_CONFIG  Send Feedback

Obtains a handle of type PHT_HW_GENERIC_DEVICE containing information about a generic PCI device installed on the host.

Syntax
PRL_RESULT PrlSrvCfg_GetGenericPciDevice(
    PRL_HANDLE hSrvConfig, 
    PRL_UINT32 nIndex, 
    PRL_HANDLE_PTR phDevice
);
File
Parameters

hSrvConfig
A handle of type PHT_SERVER_CONFIG.
nIndex
A numeric index identifying the GenericPciDevice (beginning with 0). To get the number of installed generic PCI devices, use the PrlSrvCfg_GetGenericPciDevicesCount function.
phDevice
[out] A pointer to a variable that receives a handle of type PHT_HW_GENERIC_DEVICE containing the generic PCI device information.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

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