Constants

All constants are accessible through the cbuConstants namespace declared in the qcbfsfuse.h file.

Install Flags

INSTALL_REMOVE_OLD_VERSIONS 0x00000001 Uninstall drivers and helper DLLs from previous component versions (e.g., 2017).

INSTALL_KEEP_START_TYPE 0x00000002 Keep the driver's current start type setting in the registry.

If this flag is not set (default), the installation logic will reset the driver's start type setting in the Windows registry to the default value. Setting this flag causes the installation logic to preserve the current value, which may be necessary if the user (or the application itself) set it previously.

INSTALL_OVERWRITE_SAME_VERSION 0x00000004 Install files when their version is the same as the version of already installed files.

If this flag is not set (default), the installation logic will overwrite the existing file only if the version number of the file being installed is larger than the version of the file being overwritten. Setting this flag causes the installation logic to overwrite the file even when it has the same version.

Uninstall Version Flags

UNINSTALL_VERSION_PREVIOUS 0x00000001 Uninstall modules from previous product versions.

UNINSTALL_VERSION_CURRENT 0x00000002 Uninstall modules from the current product version.

UNINSTALL_VERSION_ALL 0x00000003 Uninstall modules from all product versions.

Storage Characteristics Flags

STGC_FLOPPY_DISKETTE 0x00000001 The storage is a floppy disk device.

STGC_READONLY_DEVICE 0x00000002 The storage is a read-only device.

STGC_WRITE_ONCE_MEDIA 0x00000008 The storage device's media can only be written to once.

STGC_REMOVABLE_MEDIA 0x00000010 The storage device's media is removable.

Users may remove the storage media from the virtual drive at any time. (Note that this flag does not indicate that the virtual drive itself is removable.)

Possible Lock operation commands

FUSE_GETLK 0x0005 The lock owner is to be retrieved.

This command is not used in Windows. In Linux, the PID of the lock owner must be returned. The constant is the same as F_GETLK constant in Linux.

FUSE_SETLK 0x0006 Set lock.

If the lock cannot be set immediately, return immediately with an error (EAGAIN and EACCES are recommended). The constant is the same as F_SETLK constant in Linux.

FUSE_SETLKW 0x0007 Set lock and wait.

If the lock cannot be set immediately, wait until this becomes possible. The constant is the same as F_SETLKW constant in Linux.

Possible Lock operation types

FUSE_RDLCK 0x0000 Read lock should be acquired.

Other applications may read from the locked range but not write to it. The constant is the same as F_RDLCK constant in Linux.

FUSE_WRLCK 0x0001 Write lock should be acquired.

No other application may write to the locked range. The constant is the same as F_WRLCK constant in Linux.

FUSE_UNLCK 0x0002 The lock should be released.

The constant is the same as F_UNLCK constant in Linux.

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS FUSE 2020 Qt Edition - Version 20.0 [Build 8348]