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.
35 lines
1.0 KiB
35 lines
1.0 KiB
/*
|
|
* o l e u t i l . h
|
|
*
|
|
* Purpose:
|
|
* OLE utilities
|
|
*
|
|
* History
|
|
* Feb '97: brettm - created
|
|
*
|
|
* Copyright (C) Microsoft Corp. 1995, 1996.
|
|
*/
|
|
|
|
#ifndef _OLEUTIL_H
|
|
#define _OLEUTIL_H
|
|
|
|
HRESULT HrInitNew(LPUNKNOWN pUnk);
|
|
HRESULT HrGetDataStream(LPUNKNOWN pUnk, CLIPFORMAT cf, LPSTREAM *ppstm);
|
|
HRESULT HrIPersistStreamLoad(LPUNKNOWN pUnk, LPSTREAM pstm);
|
|
|
|
HRESULT HrIPersistFileSave(LPUNKNOWN pUnk, LPSTR pszFile);
|
|
HRESULT HrIPersistFileSaveW(LPUNKNOWN pUnk, LPWSTR pwszFile);
|
|
HRESULT HrIPersistFileLoad(LPUNKNOWN pUnk, LPSTR pszFile);
|
|
HRESULT HrIPersistFileLoadW(LPUNKNOWN pUnk, LPWSTR pwszFile);
|
|
|
|
void XformSizeInHimetricToPixels(HDC hDC,LPSIZEL lpSizeInHiMetric,LPSIZEL lpSizeInPix);
|
|
void XformSizeInPixelsToHimetric(HDC hDC, LPSIZEL lpSizeInPix, LPSIZEL lpSizeInHiMetric);
|
|
void DoNoteOleVerb(int iVerb);
|
|
|
|
#ifdef DEBUG
|
|
void DbgPrintInterface(REFIID riid, char *szPrefix, int iLevel);
|
|
#else
|
|
#define DbgPrintInterface 1 ? (void)0 : (void)
|
|
#endif
|
|
|
|
#endif //_OLEUTIL_H
|