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
1.1 KiB

  1. #pragma once
  2. #ifndef __BSINKEZ_H_INCLUDED__
  3. #define __BSINKEZ_H_INCLUDED__
  4. class CBindSinkEZ : public IAssemblyBindSink
  5. {
  6. public:
  7. CBindSinkEZ();
  8. virtual ~CBindSinkEZ();
  9. // IUnknown methods
  10. STDMETHODIMP QueryInterface(REFIID riid,void ** ppv);
  11. STDMETHODIMP_(ULONG) AddRef();
  12. STDMETHODIMP_(ULONG) Release();
  13. // IAssemblyBindSink
  14. STDMETHODIMP OnProgress(DWORD dwNotification, HRESULT hrNotification,
  15. LPCWSTR szNotification, DWORD dwProgress,
  16. DWORD dwProgressMax, IUnknown *pUnk);
  17. // Helpers
  18. HRESULT SetEventObj(HANDLE hEvent);
  19. private:
  20. DWORD _dwSig;
  21. ULONG _cRef;
  22. public:
  23. HRESULT _hrResult;
  24. IUnknown *_pUnk;
  25. private:
  26. HANDLE _hEvent;
  27. IAssemblyBinding *_pBinding;
  28. };
  29. #endif