ResizingCapabilities Property
The file resizing capabilities supported by the external storage.
Syntax
Default Value
0x33
Remarks
This property specifies any and all behaviors of the external storage which are relevant when resizing files. The cache will automatically alter its own behavior based on this property's "description" of how the external storage is able to resize files.
This property should be set by OR'ing together zero or more of the following flags:
RSZCAP_GROW_TO_ANY | 0x00000001 | Files can grow to any size. |
RSZCAP_SHRINK_TO_ANY | 0x00000002 | Files can shrink to any size. |
RSZCAP_GROW_TO_BLOCK_MULTIPLE | 0x00000004 | Files can grow to sizes that are a multiple of the block size. |
RSZCAP_SHRINK_TO_BLOCK_MULTIPLE | 0x00000008 | Files can shrink to sizes that are a multiple of the block size. |
RSZCAP_TRUNCATE_ON_OPEN | 0x00000010 | The external storage (or application itself) supports truncating a file when it is opened for writing. |
RSZCAP_TRUNCATE_AT_ZERO | 0x00000020 | The external storage (or application itself) supports truncating a file to zero at any time (not just when it's being opened). |
Note: This property cannot be changed when Active is true.