CIFS Open Action Encoding

In a server response to a client open or create request, the server encodes the action taken in a 16-bit open action field.

The open action field has the following bit format:

1111 11
5432 1098 7654 3210
Lrrr rrrr rrrr rrOO
  • L

    Value Description
    0 File opened by another or mode not supported.
    1 File opened only by this user at the present time.
  • r
    Reserved. Must be 0 (zero).

  • O
    Existence of the file.

    Value Description
    0 The file existed and was opened
    1 The file did not exist and was created.
    2 The file existed and was truncated.

See Also

Royalty-Free CIFS Technical Reference License Agreement