Returns a logical connection's physical record locks within a file.
(Request) Specifies the logical connection number of the client that is using the file.
(Request) Specifies the last record for which information is returned (set to zero initially).
(Request) Specifies the volume on which the file exists.
(Request) Specifies the file path relative to this directory (obtained from calling File Search Initialize 0x2222 62).
(Request) Specifies the name of the file for which information is being requested.
(Reply) Specifies the next value for LastRecordSeen.
(Reply) Specifies the number of physical record locks.
(Reply) Specifies the task number within the workstation that has the file open.
(Reply) Specifies the bits indicating the file's lock status:
(Reply) Specifies the byte offset where the record begins within the file.
(Reply) Specifies the byte offset where the record ends within the file.
You must have console operator privileges to call Get Physical Record Locks By Connection And File (old).
For subsequent requests, set LastRecordSeen to the value returned in the previous request in NextRequestRecord. If NextRequestRecord is zero, the server has passed all information back to the requesting client.