lock
lock(dobj, lockflags, docid, ud)
This callback corresponds to the
dobj_lock function and locks the specified document object.
• dobj — an ACL document object handle for the document object to lock
• lockflags — a list of options for this parameter are available in the
dobj_lock function help topic
• docid — the document used for context information
• ud — user defined information; strings must match the adapter encoding
The lock callback returns the following integer values:
• less than 0 — an error has occurred
• 0 — the normal lock routine should be performed
• greater than 0 — the callback succeeded and has returned the docobj
Related Topics