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