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 data stream number for the Macintosh name space:
(Request) Specifies the volume on which the file exists.
(Request) Specifies the directory entry number for the file or directory path (obtained from calling File Search Initialize 0x2222 62).
(Request) Specifies the last record for which information is returned (set to zero initially).
(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.
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.