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.
36 lines
885 B
36 lines
885 B
// SMCys.h : Declaration of the CSMCys
|
|
|
|
#ifndef _SMCYS_H
|
|
#define _SMCYS_H
|
|
|
|
#include "SMCysCom.h"
|
|
#include "resource.h" // main symbols
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CSMCys
|
|
class ATL_NO_VTABLE CSMCys :
|
|
public CComObjectRootEx<CComSingleThreadModel>,
|
|
public IDispatchImpl<ISMCys, &IID_ISMCys, &LIBID_SMCysComLib>,
|
|
public CComCoClass<CSMCys, &CLSID_SMCys>
|
|
{
|
|
public:
|
|
//CSmCys
|
|
CSMCys();
|
|
~CSMCys();
|
|
|
|
DECLARE_REGISTRY_RESOURCEID( IDR_SMCYSCOM )
|
|
DECLARE_NOT_AGGREGATABLE( CSMCys )
|
|
DECLARE_PROTECT_FINAL_CONSTRUCT( )
|
|
|
|
BEGIN_COM_MAP(CSMCys)
|
|
COM_INTERFACE_ENTRY(ISMCys)
|
|
COM_INTERFACE_ENTRY(IDispatch)
|
|
END_COM_MAP()
|
|
|
|
|
|
public:
|
|
// ISmCysm
|
|
STDMETHOD(Install)( BSTR bstrDiskName );
|
|
};
|
|
|
|
#endif // _SMCYS_H
|