Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlDisk_Write Function
PrlDisk.h  PHT_VIRTUAL_DISK  Send Feedback

Write data to 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
Pointer to sector/page aligned data to write (depends from host OS).
uiSize
Size of 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. 

Links
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!