Collapse All
Parallels C API Reference Guide
PrlDisk_Write Function
PrlDisk.h PHT_VIRTUAL_DISK See Also

Writes data to the specified virtual disk.

Syntax
PRL_RESULT PrlDisk_Write(
    const PRL_HANDLE Handle, 
    PRL_CONST_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 the sector/page-aligned data to write (depends on the host operating system).
uiSize
Size of the data to write.
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!