Virtuozzo Virtualization SDK C API Reference
|
Determines whether a disk partition is in use, that is, whether it contains a valid file system, being used for swap or by a database, etc.
PRL_RESULT PrlSrvCfgHddPart_IsInUse( PRL_HANDLE hPart, PRL_BOOL_PTR pbInUse );
PrlApiDisp.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.