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.7 KiB

  1. //--------------------------------------------------------------------
  2. // Microsoft OLE-DB Monarch
  3. // (C) Copyright 1997 Microsoft Corporation. All Rights Reserved.
  4. //
  5. // @doc
  6. //
  7. // @module IPARSER.H | IParser base object and contained interface
  8. // definitions
  9. //
  10. //
  11. #ifndef _IPARSER_H_
  12. #define _IPARSER_H_
  13. // Includes ------------------------------------------------------------------
  14. //----------------------------------------------------------------------------
  15. // @class IParser |
  16. // CoType Object
  17. //
  18. class CImpIParser : public IParser
  19. {
  20. private: //@access private member data
  21. LONG m_cRef;
  22. CViewList* m_pGlobalViewList;
  23. CPropertyList* m_pGlobalPropertyList;
  24. public: //@access public
  25. CImpIParser();
  26. ~CImpIParser();
  27. //@cmember Request an Interface
  28. STDMETHODIMP QueryInterface(REFIID, LPVOID *);
  29. //@cmember Increments the Reference count
  30. STDMETHODIMP_(ULONG) AddRef(void);
  31. //@cmember Decrements the Reference count
  32. STDMETHODIMP_(ULONG) Release(void);
  33. //@cmember CreateSession method
  34. STDMETHODIMP CreateSession
  35. (
  36. const GUID* pGuidDialect, // in | dialect for this session
  37. LPCWSTR pwszMachine, // in | provider's current machine
  38. IParserVerify* pIPVerify, // in | unknown part of ParserInput
  39. IColumnMapperCreator* pIColMapCreator,
  40. IParserSession** ppIParserSession// out | a unique session of the parser
  41. );
  42. };
  43. #endif