Collapse All
Parallels C API Reference Guide
PrlDisk_GetDiskInfo Function
PrlDisk.h 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
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 © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!