DAPI_FNExportEntry

The DAPI_FNExportEntry function is invoked by BatchExport each time it exports an object in the directory.

Quick Info

Header file: DAPI.H
Library: DAPI.LIB

BOOL DAPI_FNExportEntry(
  EXP_TYPE ExportDataType,  
  LPVOID lpvAppDefined,  
  PDAPI_ENTRY pExportEntry  
);
 

Parameters

ExportDataType
Input parameter. Specifies the type of data being exported:
EXPORT_HEADER
The first header line
EXPORT_ENTRY
Subsequent data lines
lpvAppDefined
Input parameter. Points to an application-defined parameter, passed in the EXPORT_CALLBACK structure on initialization.
pExportEntry
Input parameter. Points to a DAPI_ENTRY structure describing the exported entry data. Data in this structure is not valid after this function returns.

Return Values

TRUE
The operation completed successfully.
FALSE
Aborts the import or export operation.

Remarks

The DAPI_FNExportEntry callback function is based on the DAPI_FNExportEntry prototype. You set the lpBexportParms->ErrorCallback parameter member of the BatchExport function to point to this function.

For more information on this function, see Using Directory Access Functions.

See Also

InitProgressProc, UpdateProgressProc