Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDisk_Write Function
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

PrlDisk.h

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
© 2021 Parallels International GmbH. All rights reserved.