CallbackMode Property
Whether the class should operate in callback mode.
Syntax
ANSI (Cross Platform) int GetCallbackMode();
int SetCallbackMode(int bCallbackMode); Unicode (Windows) BOOL GetCallbackMode();
INT SetCallbackMode(BOOL bCallbackMode);
@property (nonatomic,readwrite,assign,getter=callbackMode,setter=setCallbackMode:) BOOL callbackMode; - (BOOL)callbackMode; - (void)setCallbackMode:(BOOL)newCallbackMode;
#define PID_CBVAULT_CALLBACKMODE 3 CBFSVAULT_EXTERNAL void* CBFSVAULT_CALL CBFSVault_CBVault_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); CBFSVAULT_EXTERNAL int CBFSVAULT_CALL CBFSVault_CBVault_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
This property specifies whether the class should operate in callback mode, causing all vault access to be performed via the events listed below. Please refer to the Callback Mode topic for more information.
When this property is enabled, the following events must all be implemented in order for the class to function correctly:
- VaultClose
- VaultDelete
- VaultFlush
- VaultGetParentSize
- VaultGetSize
- VaultOpen
- VaultRead
- VaultSetSize
- VaultWrite
Note: This property cannot be changed when Active is true, and cannot be changed within events.
Data Type
Boolean