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.

34 lines
906 B

  1. /*
  2. * b o d y u t i l . h
  3. *
  4. * Purpose:
  5. * Utility functions for body
  6. *
  7. * History
  8. * September '96: brettm - created
  9. *
  10. * Copyright (C) Microsoft Corp. 1995, 1996.
  11. */
  12. #ifndef _BODYUTIL_H
  13. #define _BODYUTIL_H
  14. interface IHTMLDocument2;
  15. interface IHTMLElement;
  16. interface IOleCommandTarget;
  17. HRESULT HrCmdTgtUpdateToolbar(IOleCommandTarget *pCmdTarget, HWND hwndToolbar);
  18. HRESULT HrConvertHTMLToPlainText(LPSTREAM pstmHtml, LPSTREAM *ppstm, CLIPFORMAT cf);
  19. HRESULT HrCheckForFramesets(LPMIMEMESSAGE pMsg, BOOL fWarnUser);
  20. HRESULT HrStripHTMLClipboardHeader(LPSTREAM pstm, BOOL *pfIsRealCFHTML);
  21. HRESULT HrGetSetCheck(BOOL fSet, IHTMLElement *pElem, VARIANT_BOOL *pfValue);
  22. struct URLSUB {
  23. LPCTSTR pszId;
  24. UINT ids;
  25. };
  26. HRESULT SubstituteURLs(IHTMLDocument2 *pDoc, const URLSUB *rgUrlSub, int cUrlSub);
  27. #endif //_BODYUTIL_H