Returns a logical connection's physical record locks within a file.
(Request) Specifies the last record for which information is returned (set to zero initially).
(Request) Specifies the file path that is relative to this directory.
(Request) Specifies the length of FilePath.
(Request) Specifies the path and 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 number of tasks that have the record logged.
(Reply) Specifies the number of tasks that have the record locked in a shareable state.
(Reply) Specifies the byte offset where the record begins within the file.
(Reply) Specifies the byte offset where the record ends within the file.
(Reply) Specifies the logical connection number for the connection that has the record exclusively locked.
(Reply) Specifies the task number within the logical connection that has the file exclusively locked.
(Reply) Specifies the bits indicating the file's lock status:
You must have console operator privileges to call Get Physical Record Locks By 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.