MaxFilePathLength Property
The maximum file path length supported by the virtual filesystem.
Syntax
ANSI (Cross Platform) int GetMaxFilePathLength();
int SetMaxFilePathLength(int iMaxFilePathLength); Unicode (Windows) INT GetMaxFilePathLength();
INT SetMaxFilePathLength(INT iMaxFilePathLength);
#define PID_CBFS_MAXFILEPATHLENGTH 17 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
32767
Remarks
This property specifies the virtual filesystem's maximum supported file path length, measured in characters; where "file path" means "a string containing all directory names plus the name of the file itself". Setting this property to a value of less than 260 characters, which corresponds to Windows' MAX_PATH constant, is not recommended.
Note: This property cannot be changed after a virtual drive is created, and cannot be changed within events.
Data Type
Integer