ReadOnly Property
Whether the virtual drive should be mounted in read-only mode.
Syntax
ANSI (Cross Platform) int GetReadOnly();
int SetReadOnly(int bReadOnly); Unicode (Windows) BOOL GetReadOnly();
INT SetReadOnly(BOOL bReadOnly);
@property (nonatomic,readwrite,assign,getter=readOnly,setter=setReadOnly:) BOOL readOnly; - (BOOL)readOnly; - (void)setReadOnly:(BOOL)newReadOnly;
#define PID_CBDISK_READONLY 6 CBFSSTORAGE_EXTERNAL void* CBFSSTORAGE_CALL CBFSStorage_CBDisk_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); CBFSSTORAGE_EXTERNAL int CBFSSTORAGE_CALL CBFSStorage_CBDisk_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
This property specifies whether the class should mount the virtual drive in read-only mode when MountMedia is called.
Note: This property cannot be changed when Active is true.
This property is not available at design time.
Data Type
Boolean