Automatically generates and assigns a stack index to a virtual device (a corresponding device interface, IDE or SCSI, has to be set in advance).
PRL_RESULT PrlVmDev_SetDefaultStackIndex( PRL_HANDLE hVmDev );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or invalid handle type was passed.
PRL_ERR_NO_MORE_FREE_INTERFACE_SLOTS - there are no free slots left.
PRL_ERR_SUCCESS - function completed successfully.