2.4.339 UsrExcl

The UsrExcl record specifies whether a user has acquired an exclusive lock on the shared workbook and that specifies the beginning of a collection of records as defined by the revision stream ABNF.  The collection of records specifies properties for a shared workbook.


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

fExclusive

sdtr

...

cchUser

stUser (variable)

...

fExclusive (4 bytes):  A Boolean (section 2.5.14) that specifies whether the user has an exclusive lock on the workbook. The value MUST be a value from the following table:

Value

Meaning

0x00000000

The user does not have an exclusive lock on the workbook.

0x00000001

The user has an exclusive lock on the workbook.

sdtr (8 bytes):  A ShortDTR structure that specifies the date and time when fExclusive was set to 0x00000001.

cchUser (2 bytes): An unsigned integer that specifies the number of characters in stUser that are used to specify the name of the user who has locked the workbook. Characters in stUser that are to the right of these used characters are ignored. MUST be less than or equal to 0x0036.

stUser (variable): An XLUnicodeStringNoCch structure that specifies the name of the user who has locked the workbook. The count of characters MUST be 147.