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
a02ff4b5
Commit
a02ff4b5
authored
Nov 08, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Remove DECLSPEC_HIDDEN from standard Dll* functions.
parent
d4223b25
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
dll_main.c
dlls/winecrt0/dll_main.c
+1
-1
objbase.h
include/objbase.h
+2
-2
shlwapi.h
include/shlwapi.h
+2
-2
winbase.h
include/winbase.h
+1
-1
No files found.
dlls/winecrt0/dll_main.c
View file @
a02ff4b5
...
...
@@ -22,7 +22,7 @@
#include "windef.h"
#include "winbase.h"
BOOL
WINAPI
D
ECLSPEC_HIDDEN
D
llMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
if
(
reason
==
DLL_PROCESS_ATTACH
)
DisableThreadLibraryCalls
(
inst
);
return
TRUE
;
...
...
include/objbase.h
View file @
a02ff4b5
...
...
@@ -420,8 +420,8 @@ WINOLE32API HRESULT WINAPI StringFromIID(REFIID riid, LPOLESTR*);
/*****************************************************************************
* COM Server dll - exports
*/
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
DllCanUnloadNow
(
void
);
/*****************************************************************************
* Data Object
...
...
include/shlwapi.h
View file @
a02ff4b5
...
...
@@ -1089,7 +1089,7 @@ typedef HRESULT (CALLBACK *DLLGETVERSIONPROC)(DLLVERSIONINFO *);
#ifdef __WINESRC__
/* shouldn't be here, but is nice for type checking */
HRESULT
WINAPI
DllGetVersion
(
DLLVERSIONINFO
*
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
DllGetVersion
(
DLLVERSIONINFO
*
);
#endif
typedef
struct
_DLLVERSIONINFO2
{
...
...
@@ -1106,7 +1106,7 @@ typedef struct _DLLVERSIONINFO2 {
#define MAKEDLLVERULL(mjr, mnr, bld, qfe) (((ULONGLONG)(mjr)<< 48)| \
((ULONGLONG)(mnr)<< 32) | ((ULONGLONG)(bld)<< 16) | (ULONGLONG)(qfe))
HRESULT
WINAPI
DllInstall
(
BOOL
,
LPCWSTR
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
DllInstall
(
BOOL
,
LPCWSTR
);
/* IsOS definitions */
...
...
include/winbase.h
View file @
a02ff4b5
...
...
@@ -3048,7 +3048,7 @@ int WINAPI wWinMain(HINSTANCE,HINSTANCE,LPWSTR,int);
#ifdef __WINESRC__
/* shouldn't be here, but is nice for type checking */
BOOL
WINAPI
DllMain
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserved
)
DECLSPEC_HIDDEN
;
BOOL
WINAPI
DllMain
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserved
);
#endif
#ifdef __cplusplus
...
...
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