Platform SDK: Exchange Server |
The file-based batch processing functions of the directory functions invoke a callback function based on the ResetProgressProc prototype to reset the user-defined progress display when a new stage of the batch operation has started.
Header file: | DAPI.H |
Library: | DAPI.LIB |
BOOL (* ResetProgressProc)( LPVOID lpvAppDefined, INT nMac );
Return FALSE if the user cancels the operation; otherwise, return TRUE.
If nMac is 0, the display shows only that n items have been processed, as opposed to showing the progress as a portion of the total processing to be performed.
For example, if nMac is 50, and the application displays a progress bar that is 500 pixels across, the display width could be broken into increments of 10 pixels, to have the display updated each time the UpdateProgressProc function is called.
For more information on this function, see Using Directory Access Functions.
BatchExport, BatchImport, BEXPORT_PARMS, BIMPORT_PARMS, CALLBACKPROGRESS, InitProgressProc, NTExport, NTEXPORT_PARMS, NWExport, NWEXPORT_PARMS, ResetProgressProc, UpdateProgressProc