Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlDisk_Read Function
PHT_VIRTUAL_DISK  See Also

Reads data from the specified virtual disk.

Syntax
PRL_RESULT PrlDisk_Read(
    const PRL_HANDLE Handle, 
    PRL_VOID_PTR pBlock, 
    const PRL_UINT32 uiSize, 
    const PRL_UINT64 uiBlockOffset
);
File

PrlDisk.h

Parameters

Handle
A handle of type PHT_VIRTUAL_DISK identifying the virtual disk.
pBlock
A pointer to sector/page-aligned data to read (depends on the host operating system).
uiSize
The size of the data to read.
uiBlockOffset
Offset of the block on the disk, in sectors.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid argument values. 

PRL_ERR_SUCCESS - function completed successfully. 

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