Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
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
Hide 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 @@
...
@@ -27,7 +27,13 @@
extern
"C"
{
extern
"C"
{
#endif
#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
* Ole Control Interfaces
...
@@ -183,44 +189,33 @@ typedef VARIANT_BOOL OLE_ENABLEDEFAULTBOOL;
...
@@ -183,44 +189,33 @@ typedef VARIANT_BOOL OLE_ENABLEDEFAULTBOOL;
#define LP_VGACOLOR 0x2
#define LP_VGACOLOR 0x2
#define LP_COLOR 0x4
#define LP_COLOR 0x4
HRESULT
WINAPI
DllRegisterServer
(
void
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
DllRegisterServer
(
void
);
HRESULT
WINAPI
DllUnregisterServer
(
void
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
DllUnregisterServer
(
void
);
HCURSOR
WINAPI
OleIconToCursor
(
HINSTANCE
hinstExe
,
HICON
hicon
);
HRESULT
WINAPI
OleCreatePropertyFrameIndirect
(
LPOCPFIPARAMS
lpParams
);
HRESULT
WINAPI
OleCreatePropertyFrame
(
WINOLECTLAPI_
(
HCURSOR
)
OleIconToCursor
(
HINSTANCE
hinstExe
,
HICON
hicon
);
WINOLECTLAPI
OleCreatePropertyFrameIndirect
(
LPOCPFIPARAMS
lpParams
);
WINOLECTLAPI
OleCreatePropertyFrame
(
HWND
hwndOwner
,
UINT
x
,
UINT
y
,
HWND
hwndOwner
,
UINT
x
,
UINT
y
,
LPCOLESTR
lpszCaption
,
ULONG
cObjects
,
LPUNKNOWN
*
ppUnk
,
LPCOLESTR
lpszCaption
,
ULONG
cObjects
,
LPUNKNOWN
*
ppUnk
,
ULONG
cPages
,
LPCLSID
pPageClsID
,
LCID
lcid
,
DWORD
dwReserved
,
ULONG
cPages
,
LPCLSID
pPageClsID
,
LCID
lcid
,
DWORD
dwReserved
,
LPVOID
pvReserved
);
LPVOID
pvReserved
);
WINOLECTLAPI
OleLoadPicture
(
LPSTREAM
lpstream
,
LONG
lSize
,
BOOL
fRunmode
,
HRESULT
WINAPI
OleLoadPicture
(
LPSTREAM
lpstream
,
LONG
lSize
,
BOOL
fRunmode
,
REFIID
riid
,
LPVOID
*
lplpvObj
);
REFIID
riid
,
LPVOID
*
lplpvObj
);
WINOLECTLAPI
OleLoadPictureEx
(
LPSTREAM
lpstream
,
LONG
lSize
,
BOOL
fRunMode
,
HRESULT
WINAPI
OleLoadPictureEx
(
LPSTREAM
lpstream
,
LONG
lSize
,
BOOL
fRunMode
,
REFIID
riid
,
DWORD
xSizeDesired
,
DWORD
ySizeDesired
,
REFIID
riid
,
DWORD
xSizeDesired
,
DWORD
ySizeDesired
,
DWORD
dwFlags
,
LPVOID
*
lplpvObj
);
DWORD
dwFlags
,
LPVOID
*
lplpvObj
);
WINOLECTLAPI
OleLoadPictureFile
(
VARIANT
varFilename
,
IDispatch
**
ppdispPicture
);
HRESULT
WINAPI
OleLoadPictureFile
(
VARIANT
varFilename
,
IDispatch
**
ppdispPicture
);
WINOLECTLAPI
OleLoadPictureFileEx
(
VARIANT
varFilename
,
DWORD
xSizeDesired
,
HRESULT
WINAPI
OleLoadPictureFileEx
(
VARIANT
varFilename
,
DWORD
xSizeDesired
,
DWORD
ySizeDesired
,
DWORD
dwFlags
,
IDispatch
**
ppdispPicture
);
DWORD
ySizeDesired
,
DWORD
dwFlags
,
IDispatch
**
ppdispPicture
);
WINOLECTLAPI
OleSavePictureFile
(
IDispatch
*
pdispPicture
,
BSTR
bstrFilename
);
HRESULT
WINAPI
OleSavePictureFile
(
IDispatch
*
pdispPicture
,
BSTR
bstrFilename
);
WINOLECTLAPI
OleLoadPicturePath
(
LPOLESTR
szURLorPath
,
LPUNKNOWN
punkCaller
,
HRESULT
WINAPI
OleLoadPicturePath
(
LPOLESTR
szURLorPath
,
LPUNKNOWN
punkCaller
,
DWORD
dwReserved
,
OLE_COLOR
clrReserved
,
REFIID
riid
,
DWORD
dwReserved
,
OLE_COLOR
clrReserved
,
REFIID
riid
,
LPVOID
*
ppvRet
);
LPVOID
*
ppvRet
);
WINOLECTLAPI
OleCreatePictureIndirect
(
LPPICTDESC
lpPictDesc
,
REFIID
riid
,
HRESULT
WINAPI
OleCreatePictureIndirect
(
LPPICTDESC
lpPictDesc
,
REFIID
riid
,
BOOL
fOwn
,
LPVOID
*
lplpvObj
);
BOOL
fOwn
,
LPVOID
*
lplpvObj
);
WINOLECTLAPI
OleCreateFontIndirect
(
LPFONTDESC
lpFontDesc
,
REFIID
riid
,
HRESULT
WINAPI
OleCreateFontIndirect
(
LPFONTDESC
lpFontDesc
,
REFIID
riid
,
LPVOID
*
lplpvObj
);
LPVOID
*
lplpvObj
);
WINOLECTLAPI
OleTranslateColor
(
OLE_COLOR
clr
,
HPALETTE
hpal
,
HRESULT
WINAPI
OleTranslateColor
(
OLE_COLOR
clr
,
HPALETTE
hpal
,
COLORREF
*
lpcolorref
);
COLORREF
*
lpcolorref
);
/* Reflected Window Message IDs */
/* 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