2.4.118 FileSharing

The FileSharing record specifies file sharing options.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

fReadOnlyRec

wResPass

iNoResPass (optional)

stUNUsername (variable)

...

fReadOnlyRec (2 bytes):  A Boolean (section 2.5.14) that specifies whether the read-only recommended option is selected for this file. If the value is 1, the read-only recommended is selected for this file.

wResPass (2 bytes):  An unsigned integer that specifies the password verifier for write reservation. If the value is 0, there is no write reservation password. The algorithm is specified in Password Verifier Algorithm.

iNoResPass (2 bytes): An unsigned integer that specifies that there is no write reservation password. This field exists if and only if wResPass is 0. The value MUST be 0.

stUNUsername (variable):  An XLUnicodeString structure that specifies the user name that added the write reservation password. This field exists if and only if wResPass is not 0. The value of stUNUsername.cch MUST be less than or equal to 54.