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

Set caching policy for 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 value. Possible values: 

PRL_DISK_CACHE_ENABLED - caching enabled. 

PRL_DISK_CACHE_DISABLED - caching disabled. 

PRL_DISK_CACHE_UNCACHED_READ - cache only write operations.

 

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!