ReportPossibleSize Property

How the class should report the virtual drive's size and free space to the OS.

Syntax

ANSI (Cross Platform)
int GetReportPossibleSize();
int SetReportPossibleSize(int bReportPossibleSize); Unicode (Windows) BOOL GetReportPossibleSize();
INT SetReportPossibleSize(BOOL bReportPossibleSize);
@property (nonatomic,readwrite,assign,getter=reportPossibleSize,setter=setReportPossibleSize:) BOOL reportPossibleSize;
- (BOOL)reportPossibleSize;
- (void)setReportPossibleSize:(BOOL)newReportPossibleSize;
#define PID_CBDRIVE_REPORTPOSSIBLESIZE 32

CBFSSTORAGE_EXTERNAL void* CBFSSTORAGE_CALL CBFSStorage_CBDrive_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
CBFSSTORAGE_EXTERNAL int CBFSSTORAGE_CALL CBFSStorage_CBDrive_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

TRUE

Remarks

This property controls which pair of values the class should use when reporting the virtual drive's size and free space to the OS.

When this property is enabled (default), the class will use the values of the PossibleSize and PossibleFreeSpace properties. When this property is disabled, the class will use the values of the VaultSize and PossibleSize properties.

To ensure correct operation, it is recommended that applications keep this property enabled, unless a vault's size has been fixed by setting the VaultSizeMin and VaultSizeMax properties equal to each other.

Please refer to the documentation of the properties mentioned above, as well as the Vault Size topic, for more information.

Note: This property cannot be changed within events.

Data Type

Boolean

Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Storage 2020 C++ Edition - Version 20.0 [Build 8031]