Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Yoann Laissus
wine
Commits
9c92c7de
Commit
9c92c7de
authored
25 years ago
by
Sean Langley
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Made OleCreateFontIndirect have the same signature (exactly) as the
header file. Added olepro32 dll stubs.
parent
58c71d4f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/oleaut32/olefont.c
+2
-2
2 additions, 2 deletions
dlls/oleaut32/olefont.c
include/olectl.h
+23
-5
23 additions, 5 deletions
include/olectl.h
with
25 additions
and
7 deletions
dlls/oleaut32/olefont.c
+
2
−
2
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
)
LP
VOID
*
ppvObj
)
{
OLEFontImpl
*
newFont
=
0
;
HRESULT
hr
=
S_OK
;
...
...
This diff is collapsed.
Click to expand it.
include/olectl.h
+
23
−
5
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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment