SupportODXReadWrite Property
Whether the virtual filesystem supports ODX (Offloaded Data Transfer) operations.
Syntax
ANSI (Cross Platform) int GetSupportODXReadWrite();
int SetSupportODXReadWrite(int bSupportODXReadWrite); Unicode (Windows) BOOL GetSupportODXReadWrite();
INT SetSupportODXReadWrite(BOOL bSupportODXReadWrite);
#define PID_CBFS_SUPPORTODXREADWRITE 43 CBFSCONNECT_EXTERNAL void* CBFSCONNECT_CALL CBFSConnect_CBFS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); CBFSCONNECT_EXTERNAL int CBFSCONNECT_CALL CBFSConnect_CBFS_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
This property specifies whether the virtual filesystem should indicate to the system that it supports ODX (Offloaded Data Transfer) operations. Please refer to Microsoft's Offloaded Data Transfer article for more information.
If this property is enabled, the application must properly handle the OffloadReadFile and OffloadWriteFile events, which will fire anytime the OS sends an offload read or offload write request to the virtual filesystem.
Note: This property cannot be changed when Active is true, and cannot be changed within events.
This property is not available at design time.
Data Type
Boolean