PageSize Property

The vault's page size.

Syntax

ANSI (Cross Platform)
int GetPageSize();
int SetPageSize(int iPageSize); Unicode (Windows) INT GetPageSize();
INT SetPageSize(INT iPageSize);
@property (nonatomic,readwrite,assign,getter=pageSize,setter=setPageSize:) int pageSize;
- (int)pageSize;
- (void)setPageSize:(int)newPageSize;
#define PID_CBDRIVE_PAGESIZE 26

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

4096

Remarks

This property controls the page size used when creating new vaults, and reflects the page size of the currently-open vault. Valid values are 256 through 65536 bytes (inclusive).

A vault's page size is permanent, it cannot be changed after the vault is created. Please refer to the Vaults topic for more information.

Note: This property cannot be changed when Active is true, and cannot be changed within events.

Data Type

Integer

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