1999-02-20 17:48:53 +01:00
|
|
|
#ifndef __WINE_OLECTL_H
|
|
|
|
#define __WINE_OLECTL_H
|
|
|
|
|
|
|
|
#include "wintypes.h"
|
|
|
|
#include "ole.h"
|
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
#define WINOLECTLAPI INT WINAPI
|
1999-02-20 17:48:53 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* FONTDESC is used as an OLE encapsulation of the GDI fonts
|
|
|
|
*/
|
|
|
|
typedef struct tagFONTDESC {
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT cbSizeofstruct;
|
|
|
|
LPOLESTR lpstrName;
|
1999-02-20 17:48:53 +01:00
|
|
|
CY cySize;
|
|
|
|
SHORT sWeight;
|
|
|
|
SHORT sCharset;
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL fItalic;
|
|
|
|
BOOL fUnderline;
|
|
|
|
BOOL fStrikeThrough;
|
1999-02-20 17:48:53 +01:00
|
|
|
} FONTDESC, *LPFONTDESC;
|
|
|
|
|
|
|
|
WINOLECTLAPI OleCreateFontIndirect(LPFONTDESC lpFontDesc, REFIID riid, VOID** ppvObj);
|
|
|
|
|
|
|
|
#endif /* __WINE_OLECTL_H */
|
|
|
|
|
|
|
|
|