Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9c92c7de
Commit
9c92c7de
authored
Feb 07, 2000
by
Sean Langley
Committed by
Alexandre Julliard
Feb 07, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made OleCreateFontIndirect have the same signature (exactly) as the
header file. Added olepro32 dll stubs.
parent
58c71d4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
7 deletions
+25
-7
olefont.c
dlls/oleaut32/olefont.c
+2
-2
olectl.h
include/olectl.h
+23
-5
No files found.
dlls/oleaut32/olefont.c
View file @
9c92c7de
...
...
@@ -227,10 +227,10 @@ static ICOM_VTABLE(IPersistStream) OLEFontImpl_IPersistStream_VTable =
/******************************************************************************
* OleCreateFontIndirect [OLEAUT32.420]
*/
IN
T
WINAPI
OleCreateFontIndirect
(
HRESUL
T
WINAPI
OleCreateFontIndirect
(
LPFONTDESC
lpFontDesc
,
REFIID
riid
,
VOID
*
*
ppvObj
)
LPVOID
*
ppvObj
)
{
OLEFontImpl
*
newFont
=
0
;
HRESULT
hr
=
S_OK
;
...
...
include/olectl.h
View file @
9c92c7de
...
...
@@ -2,6 +2,7 @@
#define __WINE_OLECTL_H
#include "windef.h"
#include "ocidl.h"
#ifdef __cplusplus
#define DUMMY_UNION_NAME
...
...
@@ -81,11 +82,6 @@ typedef struct tagFONTDESC {
#define FONTSIZE(n) { n##0000, 0 }
/* COREL MOD PQ mar 9 - redecl in mfc */
#if 0
WINAPI OleCreateFontIndirect(LPFONTDESC lpFontDesc, REFIID riid, VOID** ppvObj);
#endif
#define PICTYPE_UNINITIALIZED (-1)
#define PICTYPE_NONE 0
#define PICTYPE_BITMAP 1
...
...
@@ -135,6 +131,28 @@ typedef VARIANT_BOOL OLE_OPTEXCLUSIVE;
typedef
VARIANT_BOOL
OLE_CANCELBOOL
;
typedef
VARIANT_BOOL
OLE_ENABLEDEFAULTBOOL
;
HCURSOR
WINAPI
OleIconToCursor
(
HINSTANCE
hinstExe
,
HICON
hicon
);
HRESULT
WINAPI
OleCreatePropertyFrameIndirect
(
LPOCPFIPARAMS
lpParams
);
HRESULT
WINAPI
OleCreatePropertyFrame
(
HWND
hwndOwner
,
UINT
x
,
UINT
y
,
LPCOLESTR
lpszCaption
,
ULONG
cObjects
,
LPUNKNOWN
*
ppUnk
,
ULONG
cPages
,
LPCLSID
pPageClsID
,
LCID
lcid
,
DWORD
dwReserved
,
LPVOID
pvReserved
);
HRESULT
WINAPI
OleLoadPicture
(
LPSTREAM
lpstream
,
LONG
lSize
,
BOOL
fRunmode
,
REFIID
reed
,
LPVOID
*
lplpvObj
);
HRESULT
WINAPI
OleCreatePictureIndirect
(
LPPICTDESC
lpPictDesc
,
REFIID
riid
,
BOOL
fOwn
,
LPVOID
*
lplpvObj
);
HRESULT
WINAPI
OleCreateFontIndirect
(
LPFONTDESC
lpFontDesc
,
REFIID
riid
,
LPVOID
*
lplpvObj
);
HRESULT
WINAPI
OleTranslateColor
(
OLE_COLOR
clr
,
HPALETTE
hpal
,
COLORREF
*
lpcolorref
);
/* standard dispatch ID's */
#define DISPID_AUTOSIZE (-500)
#define DISPID_BACKCOLOR (-501)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment