Mount Method
Creates a virtual drive or directory and mounts a filesystem.
Syntax
ANSI (Cross Platform) int Mount(const char* lpszMountPoint); Unicode (Windows) INT Mount(LPCWSTR lpszMountPoint);
#define MID_FUSE_MOUNT 12 CBFSFUSE_EXTERNAL int CBFSFUSE_CALL CBFSFUSE_FUSE_Do(void *lpObj, int methid, int cparam, void *param[], int cbparam[], int64 *lpllVal);
Remarks
Call this method to create a virtual drive or directory and mount a filesystem.
The MountPoint parameter contains a path to the directory, into which the virtual filesystem is "inserted". This path must exist at the time of mounting and be empty.
Windows:
The MountPoint parameter may also contain a drive letter or a UNC path; please refer to the Mounting Points topic for more information.
Error Handling (C++)
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)