Module lock

Module lock 

Source
Expand description

Classic Lock request & response.

Structsยง

LockElement
SMB2_LOCK_ELEMENT structure used to indicate segments of files that are locked or unlocked in SMB2 LOCK requests.
LockFlag
Lock flags describing how the range is being locked or unlocked. Valid combinations are: shared lock, exclusive lock, unlock, or any of shared/exclusive combined with fail_immediately.
LockRequest
SMB2 LOCK Request packet used to lock or unlock portions of a file. Multiple segments of the file can be affected with a single request, but they all must be within the same file.
LockResponse
SMB2 LOCK Response packet sent by the server in response to an SMB2 LOCK Request.
LockSequence
Lock sequence information containing sequence number and index. In SMB 2.0.2 dialect, this field is unused and must be reserved. In all other dialects, contains sequence number and index fields.