Virtuozzo Virtualization SDK C API Reference
|
Obtains a handle of type PHT_VIRTUAL_DEV_HD_PARTITION containing information about the specified partition of the virtual hard disk.
PRL_RESULT PrlVmDevHd_GetPartition( PRL_HANDLE hVmDev, PRL_UINT32 nIndex, PRL_HANDLE_PTR phPartition );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed, or device index out of bound.
PRL_ERR_SUCCESS - function completed successfully.