windows-nt/Source/XPSP1/NT/inetsrv/iis/staxinc/pbag.h

31 lines
543 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//
// pbag.h
//
#pragma once
#include <atlbase.h>
extern CComModule _Module;
#include <atlcom.h>
#pragma warning (disable : 4786)
#include <string>
#include <map>
using namespace std;
#include "tunk.h"
class CPropBag : public TUnknown<IPropertyBag>
{
public:
CPropBag() : TUnknown<IPropertyBag> (IID_IPropertyBag) {};
STDMETHOD(Read)(LPCOLESTR pszPropName,VARIANT* pVar, IErrorLog* pErrorLog);
STDMETHOD(Write)(LPCOLESTR pszPropName, VARIANT* pVar);
protected:
typedef map <wstring, CComVariant> BAGMAP;
BAGMAP m_map;
};