Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.1 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: progress.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // progress bar on MMC window
  11. HANDLE
  12. StartProgressDlg(
  13. HINSTANCE hInstance,
  14. HWND hwndParent,
  15. DWORD dwTickerSeconds,
  16. DWORD dwTimeoutSeconds,
  17. UINT iRscJobDescription);
  18. BOOL FProgressDlgRunning();
  19. void EndProgressDlg(HANDLE hThread);
  20. HANDLE
  21. StartPercentCompleteDlg(
  22. HINSTANCE hInstance,
  23. HWND hwndParent,
  24. UINT iRscJobDescription,
  25. DBBACKUPPROGRESS *pdbp);
  26. void EndPercentCompleteDlg(HANDLE hProgressThread);
  27. inline
  28. HANDLE StartProgressDlg(HINSTANCE hInstance, HWND hwndParent, DWORD dwTickerSeconds, DWORD dwTimeoutSeconds)
  29. { return StartProgressDlg(hInstance, hwndParent, dwTickerSeconds, dwTimeoutSeconds, 0); }
  30. inline
  31. HANDLE
  32. StartPercentCompleteDlg(
  33. HINSTANCE hInstance,
  34. HWND hwndParent,
  35. DBBACKUPPROGRESS *pdbp)
  36. { return StartPercentCompleteDlg(hInstance, hwndParent, 0, pdbp); }