Skip to content

ARCHIVEDOCUMENTCALLBACK

Data Type : archiving service
ARCHIVEDOCUMENTCALLBACK - User-defined function called by ArchiveExportDatabase that used to pass an archive document to the implementor.

#include <archsvc.h>

Definition :

typedef STATUS (LNCALLBACKPTR ARCHIVEDOCUMENTCALLBACK)
     (
     HARCHIVEDOCUMENT hArchDoc,
     void *pUserCtx);

Description :

Implementors must call ArchiveDocumentDestroy when finished to free resources.

Inputs:
hArchDoc - Handle to archive document.
pUserCtx - Caller-defined context structure.
Return:
NOERROR return status means that it is successful.

See Also : ArchiveDocumentExport ArchiveExportDatabase