StorageCharacteristics Property

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

Syntax

func (obj *FUSE) StorageCharacteristics() (int32, error)
func (obj *FUSE) SetStorageCharacteristics(value int32) error

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

int32

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