Collapse All
Parallels C API Reference Guide
PrlDisk_SetCachingPolicy Function
PrlDisk.h PHT_VIRTUAL_DISK

Set the caching policy for a virtual disk.

Syntax
PRL_RESULT PrlDisk_SetCachingPolicy(
    const PRL_HANDLE Handle, 
    const PRL_UINT32 Policy
);
File
Parameters

Handle
A handle of type PHT_VIRTUAL_DISK identifying the virtual disk.
Policy
Caching policy to set. Possible values:

PRL_DISK_CACHE_ENABLED - caching enabled.

PRL_DISK_CACHE_DISABLED - caching disabled.

PRL_DISK_CACHE_UNCACHED_READ - cache write operations only. This option is available on Mac hosts only.

Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid argument values.

PRL_ERR_SUCCESS - function completed successfully.

Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!