Returns the virtual device stack index (position at the controller (IDE or SCSI) bus).
PRL_RESULT PrlVmDev_GetStackIndex( PRL_HANDLE hVmDev, PRL_UINT32_PTR pnStackIndex );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or invalid handle type, or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.