ConnectActivity.h 393 B

12345678910111213141516
  1. #pragma once
  2. #include "../devices/ifc_deviceactivity.h"
  3. class ConnectActivity : public ifc_deviceactivity
  4. {
  5. public:
  6. BOOL GetActive();
  7. BOOL GetCancelable();
  8. HRESULT GetProgress(unsigned int *percentCompleted);
  9. HRESULT GetDisplayName(wchar_t *buffer, size_t bufferMax);
  10. HRESULT GetStatus(wchar_t *buffer, size_t bufferMax);
  11. HRESULT Cancel(HWND hostWindow);
  12. protected:
  13. RECVS_DISPATCH;
  14. };