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.

51 lines
1.5 KiB

  1. // DEInsTab.h : Declaration of the CDEInsertTableParam
  2. // Copyright (c)1997-1999 Microsoft Corporation, All Rights Reserved
  3. #ifndef __DEINSERTTABLEPARAM_H_
  4. #define __DEINSERTTABLEPARAM_H_
  5. #include "resource.h" // main symbols
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CDEInsertTableParam
  8. class ATL_NO_VTABLE CDEInsertTableParam :
  9. public CComObjectRootEx<CComSingleThreadModel>,
  10. public CComCoClass<CDEInsertTableParam, &CLSID_DEInsertTableParam>,
  11. public IDispatchImpl<IDEInsertTableParam, &IID_IDEInsertTableParam, &LIBID_DHTMLEDLib>
  12. {
  13. public:
  14. CDEInsertTableParam();
  15. ~CDEInsertTableParam();
  16. private:
  17. ULONG m_nNumRows;
  18. ULONG m_nNumCols;
  19. BSTR m_bstrTableAttrs;
  20. BSTR m_bstrCellAttrs;
  21. BSTR m_bstrCaption;
  22. public:
  23. DECLARE_REGISTRY_RESOURCEID(IDR_DEINSERTTABLEPARAM)
  24. BEGIN_COM_MAP(CDEInsertTableParam)
  25. COM_INTERFACE_ENTRY(IDEInsertTableParam)
  26. COM_INTERFACE_ENTRY(IDispatch)
  27. END_COM_MAP()
  28. // IDEInsertTableParam
  29. public:
  30. STDMETHOD(get_Caption)(/*[out, retval]*/ BSTR *pVal);
  31. STDMETHOD(put_Caption)(/*[in]*/ BSTR newVal);
  32. STDMETHOD(get_CellAttrs)(/*[out, retval]*/ BSTR *pVal);
  33. STDMETHOD(put_CellAttrs)(/*[in]*/ BSTR newVal);
  34. STDMETHOD(get_TableAttrs)(/*[out, retval]*/ BSTR *pVal);
  35. STDMETHOD(put_TableAttrs)(/*[in]*/ BSTR newVal);
  36. STDMETHOD(get_NumCols)(/*[out, retval]*/ LONG *pVal);
  37. STDMETHOD(put_NumCols)(/*[in]*/ LONG newVal);
  38. STDMETHOD(get_NumRows)(/*[out, retval]*/ LONG *pVal);
  39. STDMETHOD(put_NumRows)(/*[in]*/ LONG newVal);
  40. };
  41. #endif //__DEINSERTTABLEPARAM_H_