#ifndef __CMyICLRDebuggingLibraryProvider_H__
#define __CMyICLRDebuggingLibraryProvider_H__

#include <CorDebug.h>


class CMyICLRDebuggingLibraryProvider : 
	public ICLRDebuggingLibraryProvider
    
{
private:
	long m_ref;
	ICLRRuntimeInfo *RuntimeInfo;

public:
	CMyICLRDebuggingLibraryProvider(ICLRRuntimeInfo *rti)
	{
		m_ref = 1;
		RuntimeInfo=rti;
		
	}

	~CMyICLRDebuggingLibraryProvider()
	{
	}

	// IUnknown
	STDMETHOD(QueryInterface)(__in REFIID InterfaceId, __out PVOID* Interface);
	STDMETHOD_(ULONG, AddRef)();
	STDMETHOD_(ULONG, Release)();

        virtual HRESULT STDMETHODCALLTYPE ProvideLibrary( 
            /* [in] */ const WCHAR *pwszFileName,
            /* [in] */ DWORD dwTimestamp,
            /* [in] */ DWORD dwSizeOfImage,
            /* [out] */ HMODULE *phModule);
        

};

#endif // __CMyICLRDebuggingLibraryProvider_H__
