Guardian Procedure Calls Reference Manual
The processhandle of the participant[2:11]
(if participants[0].<0> = 1).
The transid of the participant (if participants[0].<0> = 0).[2:5]
max-participants
input
INT:value
specifies the maximum number of lock holders and waiters that can be described in the
participants buffer.
locked-name:maxlen
output:input
STRING .EXT:ref:*, INT:value
if present and a volume name is supplied for name, returns the subvolume and file identifier
(the two rightmost parts of the file name) of the file on which the lock is set. maxlen gives the
length in bytes of the string variable locked-name.
locked-name-length
output
INT .EXT:ref:1
returns the length in bytes of the value of locked-name.
Returned Value
INT
A file-system error code that indicates the outcome of the call. Possible values include:
Information for one locked file and all its lock holders/waiters was returned without error. More locks might
exist; continue calling FILE_GETLOCKINFO_.
0
End of information about locks associated with a process or transid.1
The operation specified is not allowed on this type of file.2
Lock information for the file, process, or transaction was not found. If any information has been returned
already, it is now invalid.
11
The disk-process lock tables were changed between calls, so any previously returned information might be
invalid. To start over, set control to 0 and call FILE_GETLOCKINFO_ again.
12
Invalid value specified for max-participants.21
Checksum error on control. The control parameter has been altered between calls to FILE_GETLOCKINFO_
or was not initialized before the first call.
41
Information for one locked record or file has been returned, but the participants buffer was too small to
hold all available information on lock holders/waiters. More locks might exist, so continue calling
FILE_GETLOCKINFO_ (with control unchanged).
45
FILE_GETLOCKINFO_ Procedure 437