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

#pragma once
#ifndef __BSINKEZ_H_INCLUDED__
#define __BSINKEZ_H_INCLUDED__
class CBindSinkEZ : public IAssemblyBindSink
{
public:
CBindSinkEZ();
virtual ~CBindSinkEZ();
// IUnknown methods
STDMETHODIMP QueryInterface(REFIID riid,void ** ppv);
STDMETHODIMP_(ULONG) AddRef();
STDMETHODIMP_(ULONG) Release();
// IAssemblyBindSink
STDMETHODIMP OnProgress(DWORD dwNotification, HRESULT hrNotification,
LPCWSTR szNotification, DWORD dwProgress,
DWORD dwProgressMax, IUnknown *pUnk);
// Helpers
HRESULT SetEventObj(HANDLE hEvent);
private:
DWORD _dwSig;
ULONG _cRef;
public:
HRESULT _hrResult;
IUnknown *_pUnk;
private:
HANDLE _hEvent;
IAssemblyBinding *_pBinding;
};
#endif