2.2.3.1.1 Query Access

The Query Access sub-response specifies the access permissions requested for read/write to the file in the following format.


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

Read Access Response Start

Response Error (variable)

...

Read Access Response End

Write Access Response Start

...

Response Error (variable)

...

Write Access Response End

Read Access Response Start (4 bytes): A 32-bit Stream Object Header (section 2.2.1.5.2) that specifies a read access response start.

Response Error (variable): A Response Error (section 2.2.3.2) that specifies read access permission. This error is received in response to any read request made by the client. If read operations will succeed, the Response Error will have an error type of HRESULT error, and the HRESULT error code will be zero.

Read Access Response End (2 bytes): A 16-bit Stream Object Header (section 2.2.1.5.4) that specifies a read access response end.

Write Access Response Start (4 bytes): A 32-bit Stream Object Header that specifies a write access response start.

Response Error (variable): A Response Error that specifies write access permission. This error is received in response to a Put Changes request made by the client. If the Put Changes operation will succeed, the Response Error will have an error type of HRESULT error, and the HRESULT error code will be zero.

Write Access Response End (2 bytes): A 16-bit Stream Object Header that specifies a write access response end.