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.

48 lines
2.1 KiB

  1. // --------------------------------------------------------------------------------
  2. // WebDocs.h
  3. // Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
  4. // --------------------------------------------------------------------------------
  5. #ifndef __WEBDOCS_H
  6. #define __WEBDOCS_H
  7. // --------------------------------------------------------------------------------
  8. // CMimeWebDocument
  9. // --------------------------------------------------------------------------------
  10. class CMimeWebDocument : public IMimeWebDocument
  11. {
  12. public:
  13. // ----------------------------------------------------------------------------
  14. // Construction
  15. // ----------------------------------------------------------------------------
  16. CMimeWebDocument(void);
  17. ~CMimeWebDocument(void);
  18. // ----------------------------------------------------------------------------
  19. // IUnknown Members
  20. // ----------------------------------------------------------------------------
  21. STDMETHODIMP QueryInterface(REFIID, LPVOID *);
  22. STDMETHODIMP_(ULONG) AddRef(void);
  23. STDMETHODIMP_(ULONG) Release(void);
  24. // ----------------------------------------------------------------------------
  25. // IMimeWebDocument Members
  26. // ----------------------------------------------------------------------------
  27. STDMETHODIMP GetURL(LPSTR *ppszURL);
  28. STDMETHODIMP BindToStorage(REFIID riid, LPVOID *ppvObject);
  29. // ----------------------------------------------------------------------------
  30. // CMimeWebDocument Members
  31. // ----------------------------------------------------------------------------
  32. HRESULT HrInitialize(LPCSTR pszBase, LPCSTR pszURL);
  33. private:
  34. // ----------------------------------------------------------------------------
  35. // Private Data
  36. // ----------------------------------------------------------------------------
  37. LONG m_cRef; // Reference Count
  38. LPSTR m_pszBase; // URL Base
  39. LPSTR m_pszURL; // URL
  40. CRITICAL_SECTION m_cs; // Thread Safety
  41. };
  42. #endif // __WEBDOCS_H