Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlSrvCfg_GetGenericScsiDevice Function
PHT_SERVER_CONFIG

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

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

PrlApiDisp.h

Parameters

hSrvConfig
A handle of type PHT_SERVER_CONFIG.
nIndex
A numeric index identifying the GenericScsiDevice (beginning with 0). To get the number of installed generic SCSI devices, use the PrlSrvCfg_GetGenericScsiDevicesCount function.
phDevice
[out] A pointer to a variable that receives a handle of type PHT_HW_GENERIC_DEVICE containing the generic SCSI 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
© 2021 Parallels International GmbH. All rights reserved.