windows-nt/Source/XPSP1/NT/ds/security/services/ca/include/progress.h
2020-09-26 16:20:57 +08:00

47 lines
1.1 KiB
C

//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1998 - 1999
//
// File: progress.h
//
//--------------------------------------------------------------------------
// progress bar on MMC window
HANDLE
StartProgressDlg(
HINSTANCE hInstance,
HWND hwndParent,
DWORD dwTickerSeconds,
DWORD dwTimeoutSeconds,
UINT iRscJobDescription);
BOOL FProgressDlgRunning();
void EndProgressDlg(HANDLE hThread);
HANDLE
StartPercentCompleteDlg(
HINSTANCE hInstance,
HWND hwndParent,
UINT iRscJobDescription,
DBBACKUPPROGRESS *pdbp);
void EndPercentCompleteDlg(HANDLE hProgressThread);
inline
HANDLE StartProgressDlg(HINSTANCE hInstance, HWND hwndParent, DWORD dwTickerSeconds, DWORD dwTimeoutSeconds)
{ return StartProgressDlg(hInstance, hwndParent, dwTickerSeconds, dwTimeoutSeconds, 0); }
inline
HANDLE
StartPercentCompleteDlg(
HINSTANCE hInstance,
HWND hwndParent,
DBBACKUPPROGRESS *pdbp)
{ return StartPercentCompleteDlg(hInstance, hwndParent, 0, pdbp); }