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.

37 lines
1.1 KiB

  1. // DENames.h : Declaration of the CDEGetBlockFmtNamesParam
  2. // Copyright (c)1997-1999 Microsoft Corporation, All Rights Reserved
  3. #ifndef __DEGETBLOCKFMTNAMESPARAM_H_
  4. #define __DEGETBLOCKFMTNAMESPARAM_H_
  5. #include "resource.h" // main symbols
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CDEGetBlockFmtNamesParam
  8. class ATL_NO_VTABLE CDEGetBlockFmtNamesParam :
  9. public CComObjectRootEx<CComSingleThreadModel>,
  10. public CComCoClass<CDEGetBlockFmtNamesParam, &CLSID_DEGetBlockFmtNamesParam>,
  11. public IDispatchImpl<IDEGetBlockFmtNamesParam, &IID_IDEGetBlockFmtNamesParam, &LIBID_DHTMLEDLib>
  12. {
  13. public:
  14. CDEGetBlockFmtNamesParam();
  15. ~CDEGetBlockFmtNamesParam();
  16. private:
  17. SAFEARRAY* m_pNamesArray;
  18. public:
  19. DECLARE_REGISTRY_RESOURCEID(IDR_DEGETBLOCKFMTNAMESPARAM)
  20. BEGIN_COM_MAP(CDEGetBlockFmtNamesParam)
  21. COM_INTERFACE_ENTRY(IDEGetBlockFmtNamesParam)
  22. COM_INTERFACE_ENTRY(IDispatch)
  23. END_COM_MAP()
  24. // IDEGetBlockFmtNamesParam
  25. public:
  26. STDMETHOD(get_Names)(/*[out, retval]*/ VARIANT *pVal);
  27. STDMETHOD(put_Names)(/*[in]*/ VARIANT* newVal);
  28. };
  29. #endif //__DEGETBLOCKFMTNAMESPARAM_H_