MaxFileNameLength Property
The maximum filename length supported by the virtual filesystem.
Syntax
ANSI (Cross Platform) int GetMaxFileNameLength();
int SetMaxFileNameLength(int iMaxFileNameLength); Unicode (Windows) INT GetMaxFileNameLength();
INT SetMaxFileNameLength(INT iMaxFileNameLength);
#define PID_CBFS_MAXFILENAMELENGTH 16 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
260
Remarks
This property specifies the virtual filesystem's maximum supported filename length, measured in characters. Setting this property to a value less than its default of 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