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

  1. /*
  2. * o l e u t i l . h
  3. *
  4. * Purpose:
  5. * OLE utilities
  6. *
  7. * History
  8. * Feb '97: brettm - created
  9. *
  10. * Copyright (C) Microsoft Corp. 1995, 1996.
  11. */
  12. #ifndef _OLEUTIL_H
  13. #define _OLEUTIL_H
  14. HRESULT HrInitNew(LPUNKNOWN pUnk);
  15. HRESULT HrGetDataStream(LPUNKNOWN pUnk, CLIPFORMAT cf, LPSTREAM *ppstm);
  16. HRESULT HrIPersistStreamLoad(LPUNKNOWN pUnk, LPSTREAM pstm);
  17. HRESULT HrIPersistFileSave(LPUNKNOWN pUnk, LPSTR pszFile);
  18. HRESULT HrIPersistFileSaveW(LPUNKNOWN pUnk, LPWSTR pwszFile);
  19. HRESULT HrIPersistFileLoad(LPUNKNOWN pUnk, LPSTR pszFile);
  20. HRESULT HrIPersistFileLoadW(LPUNKNOWN pUnk, LPWSTR pwszFile);
  21. void XformSizeInHimetricToPixels(HDC hDC,LPSIZEL lpSizeInHiMetric,LPSIZEL lpSizeInPix);
  22. void XformSizeInPixelsToHimetric(HDC hDC, LPSIZEL lpSizeInPix, LPSIZEL lpSizeInHiMetric);
  23. void DoNoteOleVerb(int iVerb);
  24. #ifdef DEBUG
  25. void DbgPrintInterface(REFIID riid, char *szPrefix, int iLevel);
  26. #else
  27. #define DbgPrintInterface 1 ? (void)0 : (void)
  28. #endif
  29. #endif //_OLEUTIL_H