Platform SDK: Exchange Server |
The CALLBACKPROGRESS structure contains information that is used by the calling application to display a progress indicator.
Header file: | DAPI.H |
typedef struct { DWORD dwFlags; LPVOID lpvAppDefined; PDAPI_FInitProgress pfnInitProgress; PDAPI_FUpdateProgress pfnUpdateProgress; PDAPI_FEndProgress pfnEndProgress; PDAPI_FResetProgress pfnResetProgress; PDAPI_FUpdateProgressText pfnUpdateProgressText; } CALLBACKPROGRESS, *PCALLBACKPROGRESS;
Directory functions can sometimes take a lot of time to execute because they are performing actions on large numbers of items. During this execution time, the calling application can display the operation's progress several ways. The default progress display is a modeless dialog box that the application can override by using the callback progress functionality. The application can also use the CALLBACKPROGRESS structure and display its own progress indicator by using functions based on the definitions of the EndProgressProc, InitProgressProc, ResetProgressProc, UpdateProgressProc, and UpdateProgressTextProc function prototypes.
For additional information on this structure, see Using Directory Access Functions.
EndProgressProc, InitProgressProc, ResetProgressProc, UpdateProgressProc, UpdateProgressTextProc