Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlDisk_GetDiskInfo Function
PHT_VIRTUAL_DISK

Obtains the information about the specified virtual disk.

Syntax
PRL_RESULT PrlDisk_GetDiskInfo(
    const PRL_HANDLE Handle, 
    PRL_DISK_PARAMETERS_PTR pDiskParameters, 
    PRL_UINT32_PTR BufferSize
);
File

PrlDisk.h

Parameters

Handle
A handle of type PHT_VIRTUAL_DISK identifying the virtual disk.
pDiskParameters
[out] A pointer to a buffer that receives the disk information.
BufferSize
[in] The size of the output buffer (in bytes). Set the buffer pointer to null and this parameter's value to zero to receive the required size. [out] The required output buffer size.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid argument values. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.