1 // VSSApp.h : Declaration of the CVSSApp
6 #include "resource.h" // main symbols
8 /////////////////////////////////////////////////////////////////////////////
10 class ATL_NO_VTABLE CVSSApp
:
11 public CComObjectRootEx
<CComSingleThreadModel
>,
12 public CComCoClass
<CVSSApp
, &CLSID_VSSApp
>,
13 public IDispatchImpl
<IVSS
, &IID_IVSS
, &LIBID_SourceSafeTypeLib
>
20 DECLARE_REGISTRY_RESOURCEID(IDR_VSSAPP
)
22 DECLARE_PROTECT_FINAL_CONSTRUCT()
24 BEGIN_COM_MAP(CVSSApp
)
25 COM_INTERFACE_ENTRY(IVSS
)
26 //DEL COM_INTERFACE_ENTRY(IDispatch)
27 COM_INTERFACE_ENTRY2(IDispatch
, IVSS
)
32 STDMETHOD(get_VSSDatabase
)(/*[out, retval]*/ IVSSDatabase
* *pVal
);