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.

41 lines
922 B

  1. //--------------------------------------------------------------------------
  2. // Copyright (C) Microsoft Corporation, 1998 - 1999
  3. //
  4. // progress.h
  5. //
  6. // IR ProgressBar object. Use the shell progress indicator for progress
  7. // during image transfer from the camera.
  8. //
  9. //--------------------------------------------------------------------------
  10. #include "resource.h"
  11. class CIrProgress
  12. {
  13. public:
  14. CIrProgress(VOID);
  15. ~CIrProgress(VOID);
  16. HRESULT Initialize( IN HINSTANCE hInstance,
  17. IN DWORD dwIdrAnimationAvi );
  18. HRESULT SetText( IN TCHAR *pText );
  19. HRESULT StartProgressDialog(VOID);
  20. HRESULT UpdateProgressDialog( IN DWORD dwCompleted,
  21. IN DWORD dwTotal );
  22. BOOL HasUserCancelled(VOID);
  23. HRESULT EndProgressDialog(VOID);
  24. private:
  25. HINSTANCE m_hInstance;
  26. IProgressDialog *m_pPD;
  27. };