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
b06a1ec1
Commit
b06a1ec1
authored
Nov 03, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use proper dllimports for olectl functions.
parent
333ced98
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
26 deletions
+21
-26
olectl.h
include/olectl.h
+21
-26
No files found.
include/olectl.h
View file @
b06a1ec1
...
...
@@ -27,7 +27,13 @@
extern
"C"
{
#endif
#ifdef _OLEAUT32_
#define WINOLECTLAPI STDAPI
#define WINOLECTLAPI_(type) STDAPI_(type)
#else
#define WINOLECTLAPI DECLSPEC_IMPORT STDAPI
#define WINOLECTLAPI_(type) DECLSPEC_IMPORT STDAPI_(type)
#endif
/*
* Ole Control Interfaces
...
...
@@ -183,44 +189,33 @@ typedef VARIANT_BOOL OLE_ENABLEDEFAULTBOOL;
#define LP_VGACOLOR 0x2
#define LP_COLOR 0x4
HRESULT
WINAPI
DllRegisterServer
(
void
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
DllUnregisterServer
(
void
)
DECLSPEC_HIDDEN
;
HCURSOR
WINAPI
OleIconToCursor
(
HINSTANCE
hinstExe
,
HICON
hicon
);
HRESULT
WINAPI
OleCreatePropertyFrameIndirect
(
LPOCPFIPARAMS
lpParams
);
HRESULT
WINAPI
DllRegisterServer
(
void
);
HRESULT
WINAPI
DllUnregisterServer
(
void
);
HRESULT
WINAPI
OleCreatePropertyFrame
(
WINOLECTLAPI_
(
HCURSOR
)
OleIconToCursor
(
HINSTANCE
hinstExe
,
HICON
hicon
);
WINOLECTLAPI
OleCreatePropertyFrameIndirect
(
LPOCPFIPARAMS
lpParams
);
WINOLECTLAPI
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
,
WINOLECTLAPI
OleLoadPicture
(
LPSTREAM
lpstream
,
LONG
lSize
,
BOOL
fRunmode
,
REFIID
riid
,
LPVOID
*
lplpvObj
);
HRESULT
WINAPI
OleLoadPictureEx
(
LPSTREAM
lpstream
,
LONG
lSize
,
BOOL
fRunMode
,
WINOLECTLAPI
OleLoadPictureEx
(
LPSTREAM
lpstream
,
LONG
lSize
,
BOOL
fRunMode
,
REFIID
riid
,
DWORD
xSizeDesired
,
DWORD
ySizeDesired
,
DWORD
dwFlags
,
LPVOID
*
lplpvObj
);
HRESULT
WINAPI
OleLoadPictureFile
(
VARIANT
varFilename
,
IDispatch
**
ppdispPicture
);
HRESULT
WINAPI
OleLoadPictureFileEx
(
VARIANT
varFilename
,
DWORD
xSizeDesired
,
WINOLECTLAPI
OleLoadPictureFile
(
VARIANT
varFilename
,
IDispatch
**
ppdispPicture
);
WINOLECTLAPI
OleLoadPictureFileEx
(
VARIANT
varFilename
,
DWORD
xSizeDesired
,
DWORD
ySizeDesired
,
DWORD
dwFlags
,
IDispatch
**
ppdispPicture
);
HRESULT
WINAPI
OleSavePictureFile
(
IDispatch
*
pdispPicture
,
BSTR
bstrFilename
);
HRESULT
WINAPI
OleLoadPicturePath
(
LPOLESTR
szURLorPath
,
LPUNKNOWN
punkCaller
,
WINOLECTLAPI
OleSavePictureFile
(
IDispatch
*
pdispPicture
,
BSTR
bstrFilename
);
WINOLECTLAPI
OleLoadPicturePath
(
LPOLESTR
szURLorPath
,
LPUNKNOWN
punkCaller
,
DWORD
dwReserved
,
OLE_COLOR
clrReserved
,
REFIID
riid
,
LPVOID
*
ppvRet
);
HRESULT
WINAPI
OleCreatePictureIndirect
(
LPPICTDESC
lpPictDesc
,
REFIID
riid
,
WINOLECTLAPI
OleCreatePictureIndirect
(
LPPICTDESC
lpPictDesc
,
REFIID
riid
,
BOOL
fOwn
,
LPVOID
*
lplpvObj
);
HRESULT
WINAPI
OleCreateFontIndirect
(
LPFONTDESC
lpFontDesc
,
REFIID
riid
,
WINOLECTLAPI
OleCreateFontIndirect
(
LPFONTDESC
lpFontDesc
,
REFIID
riid
,
LPVOID
*
lplpvObj
);
HRESULT
WINAPI
OleTranslateColor
(
OLE_COLOR
clr
,
HPALETTE
hpal
,
WINOLECTLAPI
OleTranslateColor
(
OLE_COLOR
clr
,
HPALETTE
hpal
,
COLORREF
*
lpcolorref
);
/* Reflected Window Message IDs */
...
...
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