StorageCharacteristics Property

The characteristic flags to create the virtual drive with. (Windows only).

Syntax

ANSI (Cross Platform)
int GetStorageCharacteristics();
int SetStorageCharacteristics(int iStorageCharacteristics); Unicode (Windows) INT GetStorageCharacteristics();
INT SetStorageCharacteristics(INT iStorageCharacteristics);
#define PID_FUSE_STORAGECHARACTERISTICS 1

CBFSFUSE_EXTERNAL void* CBFSFUSE_CALL CBFSFUSE_FUSE_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
CBFSFUSE_EXTERNAL int CBFSFUSE_CALL CBFSFUSE_FUSE_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

16

Remarks

The system, as well as other applications, use these flags to optimize their use of the virtual drive. This property should be set by OR'ing together zero or more of the following flags:

STGC_FLOPPY_DISKETTE0x00000001The storage is a floppy disk device.

STGC_READONLY_DEVICE0x00000002The storage is a read-only device.

STGC_WRITE_ONCE_MEDIA0x00000008The storage device's media can only be written to once.

STGC_REMOVABLE_MEDIA0x00000010The 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.)

Note: This property cannot be changed when the drive is mounted, and cannot be changed within events.

Data Type

Integer

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