Leaked source code of windows server 2003
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

  1. // SMCys.h : Declaration of the CSMCys
  2. #ifndef _SMCYS_H
  3. #define _SMCYS_H
  4. #include "SMCysCom.h"
  5. #include "resource.h" // main symbols
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CSMCys
  8. class ATL_NO_VTABLE CSMCys :
  9. public CComObjectRootEx<CComSingleThreadModel>,
  10. public IDispatchImpl<ISMCys, &IID_ISMCys, &LIBID_SMCysComLib>,
  11. public CComCoClass<CSMCys, &CLSID_SMCys>
  12. {
  13. public:
  14. //CSmCys
  15. CSMCys();
  16. ~CSMCys();
  17. DECLARE_REGISTRY_RESOURCEID( IDR_SMCYSCOM )
  18. DECLARE_NOT_AGGREGATABLE( CSMCys )
  19. DECLARE_PROTECT_FINAL_CONSTRUCT( )
  20. BEGIN_COM_MAP(CSMCys)
  21. COM_INTERFACE_ENTRY(ISMCys)
  22. COM_INTERFACE_ENTRY(IDispatch)
  23. END_COM_MAP()
  24. public:
  25. // ISmCysm
  26. STDMETHOD(Install)( BSTR bstrDiskName );
  27. };
  28. #endif // _SMCYS_H