Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlDiskOpenPolicy_CreateOffset Function
PHT_VIRTUAL_DISK

Obtains a handle of type PHT_VIRTUAL_DISK_OPEN_POLICY identifying an offset policy.

Syntax
PRL_RESULT PrlDiskOpenPolicy_CreateOffset(
    PRL_HANDLE_PTR pHandle, 
    PRL_UINT64 uiOffset
);
File

PrlDisk.h

Parameters

pHandle
[out] A handle of type PHT_VIRTUAL_DISK_OPEN_POLICY identifying the offset policy. You must always free the handle using the PrlHandle_Free function when the handle is no longer needed. Failure to do so will result in memory leak.
uiOffset
Offset value in bytes. This value is added to each read/write operation offset.

Remarks

This policy allows to automatically increasing the offsets in PrlDisk_Read/Write by specified value.

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