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
83a378f1
Commit
83a378f1
authored
Dec 07, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use proper dllimports for comdlg32 functions.
parent
c63f4853
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
32 deletions
+38
-32
Makefile.in
dlls/comdlg32/Makefile.in
+1
-0
commdlg.h
include/commdlg.h
+37
-32
No files found.
dlls/comdlg32/Makefile.in
View file @
83a378f1
EXTRADEFS
=
-D_COMDLG32_
MODULE
=
comdlg32.dll
IMPORTLIB
=
comdlg32
IMPORTS
=
uuid shell32 shlwapi comctl32 winspool user32 gdi32 advapi32
...
...
include/commdlg.h
View file @
83a378f1
...
...
@@ -30,6 +30,14 @@ extern "C" {
#include <pshpack1.h>
#endif
#ifndef WINCOMMDLGAPI
#ifdef _COMDLG32_
# define WINCOMMDLGAPI
#else
# define WINCOMMDLGAPI DECLSPEC_IMPORT
#endif
#endif
#ifndef SNDMSG
#ifdef __cplusplus
#define SNDMSG ::SendMessage
...
...
@@ -777,40 +785,37 @@ DECLARE_INTERFACE_(IPrintDialogServices,IUnknown)
#endif
/* STDMETHOD */
BOOL
WINAPI
ChooseColorA
(
LPCHOOSECOLORA
lpChCol
);
BOOL
WINAPI
ChooseColorW
(
LPCHOOSECOLORW
lpChCol
);
#define ChooseColor WINELIB_NAME_AW(ChooseColor)
DWORD
WINAPI
CommDlgExtendedError
(
void
);
HWND
WINAPI
FindTextA
(
LPFINDREPLACEA
lpFind
);
HWND
WINAPI
FindTextW
(
LPFINDREPLACEW
lpFind
);
#define FindText WINELIB_NAME_AW(FindText)
short
WINAPI
GetFileTitleA
(
LPCSTR
lpFile
,
LPSTR
lpTitle
,
WORD
cbBuf
);
short
WINAPI
GetFileTitleW
(
LPCWSTR
lpFile
,
LPWSTR
lpTitle
,
WORD
cbBuf
);
#define GetFileTitle WINELIB_NAME_AW(GetFileTitle)
BOOL
WINAPI
GetOpenFileNameA
(
LPOPENFILENAMEA
ofn
);
BOOL
WINAPI
GetOpenFileNameW
(
LPOPENFILENAMEW
ofn
);
WINCOMMDLGAPI
BOOL
WINAPI
ChooseColorA
(
LPCHOOSECOLORA
lpChCol
);
WINCOMMDLGAPI
BOOL
WINAPI
ChooseColorW
(
LPCHOOSECOLORW
lpChCol
);
#define ChooseColor
WINELIB_NAME_AW(ChooseColor)
WINCOMMDLGAPI
DWORD
WINAPI
CommDlgExtendedError
(
void
);
WINCOMMDLGAPI
HWND
WINAPI
FindTextA
(
LPFINDREPLACEA
lpFind
);
WINCOMMDLGAPI
HWND
WINAPI
FindTextW
(
LPFINDREPLACEW
lpFind
);
#define FindText
WINELIB_NAME_AW(FindText)
WINCOMMDLGAPI
short
WINAPI
GetFileTitleA
(
LPCSTR
lpFile
,
LPSTR
lpTitle
,
WORD
cbBuf
);
WINCOMMDLGAPI
short
WINAPI
GetFileTitleW
(
LPCWSTR
lpFile
,
LPWSTR
lpTitle
,
WORD
cbBuf
);
#define GetFileTitle
WINELIB_NAME_AW(GetFileTitle)
WINCOMMDLGAPI
BOOL
WINAPI
GetOpenFileNameA
(
LPOPENFILENAMEA
ofn
);
WINCOMMDLGAPI
BOOL
WINAPI
GetOpenFileNameW
(
LPOPENFILENAMEW
ofn
);
#define GetOpenFileName WINELIB_NAME_AW(GetOpenFileName)
BOOL
WINAPI
GetSaveFileNameA
(
LPOPENFILENAMEA
ofn
);
BOOL
WINAPI
GetSaveFileNameW
(
LPOPENFILENAMEW
ofn
);
WINCOMMDLGAPI
BOOL
WINAPI
GetSaveFileNameA
(
LPOPENFILENAMEA
ofn
);
WINCOMMDLGAPI
BOOL
WINAPI
GetSaveFileNameW
(
LPOPENFILENAMEW
ofn
);
#define GetSaveFileName WINELIB_NAME_AW(GetSaveFileName)
BOOL
WINAPI
PageSetupDlgA
(
LPPAGESETUPDLGA
);
BOOL
WINAPI
PageSetupDlgW
(
LPPAGESETUPDLGW
);
#define PageSetupDlg WINELIB_NAME_AW(PageSetupDlg)
BOOL
WINAPI
PrintDlgA
(
LPPRINTDLGA
printdlg
);
BOOL
WINAPI
PrintDlgW
(
LPPRINTDLGW
printdlg
);
#define PrintDlg WINELIB_NAME_AW(PrintDlg)
HRESULT
WINAPI
PrintDlgExA
(
LPPRINTDLGEXA
);
HRESULT
WINAPI
PrintDlgExW
(
LPPRINTDLGEXW
);
#define PrintDlgEx WINELIB_NAME_AW(PrintDlgEx)
HWND
WINAPI
ReplaceTextA
(
LPFINDREPLACEA
lpFind
);
HWND
WINAPI
ReplaceTextW
(
LPFINDREPLACEW
lpFind
);
#define ReplaceText WINELIB_NAME_AW(ReplaceText)
BOOL
WINAPI
ChooseFontA
(
LPCHOOSEFONTA
);
BOOL
WINAPI
ChooseFontW
(
LPCHOOSEFONTW
);
#define ChooseFont WINELIB_NAME_AW(ChooseFont)
void
COMDLG32_SetCommDlgExtendedError
(
DWORD
err
);
WINCOMMDLGAPI
BOOL
WINAPI
PageSetupDlgA
(
LPPAGESETUPDLGA
);
WINCOMMDLGAPI
BOOL
WINAPI
PageSetupDlgW
(
LPPAGESETUPDLGW
);
#define PageSetupDlg WINELIB_NAME_AW(PageSetupDlg)
WINCOMMDLGAPI
BOOL
WINAPI
PrintDlgA
(
LPPRINTDLGA
printdlg
);
WINCOMMDLGAPI
BOOL
WINAPI
PrintDlgW
(
LPPRINTDLGW
printdlg
);
#define PrintDlg WINELIB_NAME_AW(PrintDlg)
WINCOMMDLGAPI
HRESULT
WINAPI
PrintDlgExA
(
LPPRINTDLGEXA
);
WINCOMMDLGAPI
HRESULT
WINAPI
PrintDlgExW
(
LPPRINTDLGEXW
);
#define PrintDlgEx WINELIB_NAME_AW(PrintDlgEx)
WINCOMMDLGAPI
HWND
WINAPI
ReplaceTextA
(
LPFINDREPLACEA
lpFind
);
WINCOMMDLGAPI
HWND
WINAPI
ReplaceTextW
(
LPFINDREPLACEW
lpFind
);
#define ReplaceText WINELIB_NAME_AW(ReplaceText)
WINCOMMDLGAPI
BOOL
WINAPI
ChooseFontA
(
LPCHOOSEFONTA
);
WINCOMMDLGAPI
BOOL
WINAPI
ChooseFontW
(
LPCHOOSEFONTW
);
#define ChooseFont WINELIB_NAME_AW(ChooseFont)
#ifndef _WIN64
#include <poppack.h>
...
...
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