construct
construct (poid, docid, reserved, ud)
This callback corresponds to the
dobj_construct function and constructs a document object handle (
docobj) for the document object in the repository.
• poid — the logical ID for the repository object
• docid — the document used for context information; required even when you are constructing a document object handle for a folder
• reserved — for internal use only
• ud — user defined information; strings must match the adapter encoding
The construct callback returns the following integer values:
• less than 0 — an error has occurred
• 0 — the normal construct routine should be performed
• greater than 0 — the callback succeeded and has returned the docobj
Related Topics