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
19cc2439
Commit
19cc2439
authored
Nov 08, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Remove DECLSPEC_HIDDEN from GUID definitions.
parent
30ce97dd
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
36 deletions
+16
-36
dbs.idl
include/dbs.idl
+7
-9
devpropdef.h
include/devpropdef.h
+1
-3
guiddef.h
include/guiddef.h
+1
-11
knownfolders.h
include/knownfolders.h
+1
-3
netiodef.h
include/netiodef.h
+1
-3
propkeydef.h
include/propkeydef.h
+3
-3
rpcndr.h
include/rpcndr.h
+0
-1
rpcproxy.h
include/rpcproxy.h
+2
-3
No files found.
include/dbs.idl
View file @
19cc2439
...
@@ -501,22 +501,20 @@ enum DBPROPENUM26 {
...
@@ -501,22 +501,20 @@ enum DBPROPENUM26 {
cpp_quote
(
"#ifdef DBINITCONSTANTS"
)
cpp_quote
(
"#ifdef DBINITCONSTANTS"
)
cpp_quote
(
"#ifdef __cplusplus"
)
cpp_quote
(
"#ifdef __cplusplus"
)
cpp_quote
(
"#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \\"
)
cpp_quote
(
"#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \\"
)
cpp_quote
(
" EXTERN_C const GUID name DECLSPEC_HIDDEN; \\"
)
cpp_quote
(
" EXTERN_C const GUID name = \\"
)
cpp_quote
(
" EXTERN_C const GUID name = \\"
)
cpp_quote
(
" { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }"
)
cpp_quote
(
" { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }"
)
cpp_quote
(
"#else"
)
cpp_quote
(
"#else"
)
cpp_quote
(
"#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \\"
)
cpp_quote
(
"#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \\"
)
cpp_quote
(
" const GUID name DECLSPEC_HIDDEN; \\"
)
cpp_quote
(
" const GUID name = \\"
)
cpp_quote
(
" const GUID name = \\"
)
cpp_quote
(
" { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }"
)
cpp_quote
(
" { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }"
)
cpp_quote
(
"#endif"
)
cpp_quote
(
"#endif"
)
cpp_quote
(
"#define DEFINE_DBID(name, dbguid, kind, val) \\"
)
cpp_quote
(
"#define DEFINE_DBID(name, dbguid, kind, val) \\"
)
cpp_quote
(
" const DBID name
= { {dbguid}, kind, {(LPOLESTR)val} };
"
)
cpp_quote
(
" const DBID name
= { {dbguid}, kind, {(LPOLESTR)val} }
"
)
cpp_quote
(
"#else"
)
cpp_quote
(
"#else"
)
cpp_quote
(
"#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \\"
)
cpp_quote
(
"#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \\"
)
cpp_quote
(
" EXTERN_C const GUID name
DECLSPEC_HIDDEN
"
)
cpp_quote
(
" EXTERN_C const GUID name"
)
cpp_quote
(
"#define DEFINE_DBID(name, dbguid, kind, val) \\"
)
cpp_quote
(
"#define DEFINE_DBID(name, dbguid, kind, val) \\"
)
cpp_quote
(
" EXTERN_C const DBID name
;
"
)
cpp_quote
(
" EXTERN_C const DBID name"
)
cpp_quote
(
"#endif"
)
cpp_quote
(
"#endif"
)
cpp_quote
(
"#define DBCIDGUID {0x0c733a81, 0x2a1c, 0x11ce, {0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d}}"
)
cpp_quote
(
"#define DBCIDGUID {0x0c733a81, 0x2a1c, 0x11ce, {0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d}}"
)
...
@@ -544,10 +542,10 @@ cpp_quote("DEFINE_DBGUID(DBPROPSET_SESSIONALL, 0xc8b522c7, 0x5cf3, 0x11ce
...
@@ -544,10 +542,10 @@ cpp_quote("DEFINE_DBGUID(DBPROPSET_SESSIONALL, 0xc8b522c7, 0x5cf3, 0x11ce
cpp_quote
(
"DEFINE_DBGUID(DBPROPSET_DBINITALL, 0xc8b522ca, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);"
)
cpp_quote
(
"DEFINE_DBGUID(DBPROPSET_DBINITALL, 0xc8b522ca, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);"
)
cpp_quote
(
"DEFINE_DBGUID(DBPROPSET_PROPERTIESINERROR, 0xc8b522d4, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);"
)
cpp_quote
(
"DEFINE_DBGUID(DBPROPSET_PROPERTIESINERROR, 0xc8b522d4, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);"
)
cpp_quote
(
"DEFINE_DBID(DB_NULLID, DB_NULLGUID, 0, 0)"
)
cpp_quote
(
"DEFINE_DBID(DB_NULLID, DB_NULLGUID, 0, 0)
;
"
)
cpp_quote
(
"DEFINE_DBID(DBCOLUMN_BASECOLUMNNAME, DBCIDGUID, DBKIND_GUID_PROPID, 10)"
)
cpp_quote
(
"DEFINE_DBID(DBCOLUMN_BASECOLUMNNAME, DBCIDGUID, DBKIND_GUID_PROPID, 10)
;
"
)
cpp_quote
(
"DEFINE_DBID(DBCOLUMN_BASETABLENAME, DBCIDGUID, DBKIND_GUID_PROPID, 11)"
)
cpp_quote
(
"DEFINE_DBID(DBCOLUMN_BASETABLENAME, DBCIDGUID, DBKIND_GUID_PROPID, 11)
;
"
)
cpp_quote
(
"DEFINE_DBID(DBCOLUMN_KEYCOLUMN, DBCIDGUID, DBKIND_GUID_PROPID, 41)"
)
cpp_quote
(
"DEFINE_DBID(DBCOLUMN_KEYCOLUMN, DBCIDGUID, DBKIND_GUID_PROPID, 41)
;
"
)
cpp_quote
(
"#define DBPROMPT_PROMPT 0x01"
)
cpp_quote
(
"#define DBPROMPT_PROMPT 0x01"
)
cpp_quote
(
"#define DBPROMPT_COMPLETE 0x02"
)
cpp_quote
(
"#define DBPROMPT_COMPLETE 0x02"
)
...
...
include/devpropdef.h
View file @
19cc2439
...
@@ -82,18 +82,16 @@ typedef struct _DEVPROPKEY {
...
@@ -82,18 +82,16 @@ typedef struct _DEVPROPKEY {
#ifdef INITGUID
#ifdef INITGUID
#ifdef __cplusplus
#ifdef __cplusplus
#define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
#define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
EXTERN_C const DEVPROPKEY name DECLSPEC_HIDDEN; \
EXTERN_C const DEVPROPKEY DECLSPEC_SELECTANY name = \
EXTERN_C const DEVPROPKEY DECLSPEC_SELECTANY name = \
{ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
{ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
#else
#else
#define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
#define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
extern const DEVPROPKEY name DECLSPEC_HIDDEN; \
const DEVPROPKEY DECLSPEC_SELECTANY name = \
const DEVPROPKEY DECLSPEC_SELECTANY name = \
{ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
{ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
#endif
#endif
#else
#else
#define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
#define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
EXTERN_C const DEVPROPKEY name
DECLSPEC_HIDDEN
EXTERN_C const DEVPROPKEY name
#endif
#endif
#ifndef IsEqualDevPropKey
#ifndef IsEqualDevPropKey
...
...
include/guiddef.h
View file @
19cc2439
...
@@ -89,29 +89,19 @@ extern "C++" {
...
@@ -89,29 +89,19 @@ extern "C++" {
#undef DEFINE_GUID
#undef DEFINE_GUID
#ifndef DECLSPEC_HIDDEN
# if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__CYGWIN__)
# define DECLSPEC_HIDDEN __attribute__((visibility ("hidden")))
# else
# define DECLSPEC_HIDDEN
# endif
#endif
#ifdef INITGUID
#ifdef INITGUID
#ifdef __cplusplus
#ifdef __cplusplus
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
EXTERN_C const GUID name DECLSPEC_HIDDEN; \
EXTERN_C const GUID name = \
EXTERN_C const GUID name = \
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
#else
#else
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
const GUID name DECLSPEC_HIDDEN; \
const GUID name = \
const GUID name = \
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
#endif
#endif
#else
#else
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
EXTERN_C const GUID name
DECLSPEC_HIDDEN
EXTERN_C const GUID name
#endif
#endif
#define DEFINE_OLEGUID(name, l, w1, w2) \
#define DEFINE_OLEGUID(name, l, w1, w2) \
...
...
include/knownfolders.h
View file @
19cc2439
...
@@ -26,18 +26,16 @@
...
@@ -26,18 +26,16 @@
#ifdef INITGUID
#ifdef INITGUID
#ifdef __cplusplus
#ifdef __cplusplus
#define DEFINE_KNOWN_FOLDER(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
#define DEFINE_KNOWN_FOLDER(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
EXTERN_C const GUID name DECLSPEC_HIDDEN; \
EXTERN_C const GUID name = \
EXTERN_C const GUID name = \
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
#else
#else
#define DEFINE_KNOWN_FOLDER(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
#define DEFINE_KNOWN_FOLDER(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
const GUID name DECLSPEC_HIDDEN; \
const GUID name = \
const GUID name = \
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
#endif
#endif
#else
#else
#define DEFINE_KNOWN_FOLDER(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
#define DEFINE_KNOWN_FOLDER(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
EXTERN_C const GUID name
DECLSPEC_HIDDEN
EXTERN_C const GUID name
#endif
#endif
DEFINE_KNOWN_FOLDER
(
FOLDERID_AccountPictures
,
0x008ca0b1
,
0x55b4
,
0x4c56
,
0xb8
,
0xa8
,
0x4d
,
0xe4
,
0xb2
,
0x99
,
0xd3
,
0xbe
);
DEFINE_KNOWN_FOLDER
(
FOLDERID_AccountPictures
,
0x008ca0b1
,
0x55b4
,
0x4c56
,
0xb8
,
0xa8
,
0x4d
,
0xe4
,
0xb2
,
0x99
,
0xd3
,
0xbe
);
...
...
include/netiodef.h
View file @
19cc2439
...
@@ -60,18 +60,16 @@ static inline BOOLEAN NmrIsEqualNpiModuleId( const NPI_MODULEID *mod1, const NPI
...
@@ -60,18 +60,16 @@ static inline BOOLEAN NmrIsEqualNpiModuleId( const NPI_MODULEID *mod1, const NPI
#ifdef __WINE_INIT_NPI_MODULEID
#ifdef __WINE_INIT_NPI_MODULEID
#ifdef __cplusplus
#ifdef __cplusplus
#define DEFINE_NPI_GUID_MODULEID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
#define DEFINE_NPI_GUID_MODULEID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
EXTERN_C const NPI_MODULEID name DECLSPEC_HIDDEN; \
EXTERN_C const NPI_MODULEID name = \
EXTERN_C const NPI_MODULEID name = \
{ sizeof(NPI_MODULEID), MIT_GUID, { { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } } }
{ sizeof(NPI_MODULEID), MIT_GUID, { { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } } }
#else
#else
#define DEFINE_NPI_GUID_MODULEID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
#define DEFINE_NPI_GUID_MODULEID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
const NPI_MODULEID name DECLSPEC_HIDDEN; \
const NPI_MODULEID name = \
const NPI_MODULEID name = \
{ sizeof(NPI_MODULEID), MIT_GUID, { { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } } }
{ sizeof(NPI_MODULEID), MIT_GUID, { { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } } }
#endif
#endif
#else
/* __WINE_INIT_MODULEID */
#else
/* __WINE_INIT_MODULEID */
#define DEFINE_NPI_GUID_MODULEID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
#define DEFINE_NPI_GUID_MODULEID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
EXTERN_C const NPI_MODULEID name
DECLSPEC_HIDDEN
EXTERN_C const NPI_MODULEID name
#endif
/* __WINE_INIT_MODULEID */
#endif
/* __WINE_INIT_MODULEID */
#define DEFINE_NPI_MS_MODULEID(name, n) DEFINE_NPI_GUID_MODULEID(name, 0xeb004a00 + (n), 0x9b1a, 0x11d4, \
#define DEFINE_NPI_MS_MODULEID(name, n) DEFINE_NPI_GUID_MODULEID(name, 0xeb004a00 + (n), 0x9b1a, 0x11d4, \
...
...
include/propkeydef.h
View file @
19cc2439
...
@@ -33,16 +33,16 @@
...
@@ -33,16 +33,16 @@
#ifdef INITGUID
#ifdef INITGUID
#ifdef __cplusplus
#ifdef __cplusplus
#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
EXTERN_C const PROPERTYKEY DECLSPEC_SELECTANY name
DECLSPEC_HIDDEN
= \
EXTERN_C const PROPERTYKEY DECLSPEC_SELECTANY name = \
{ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
{ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
#else
#else
#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
const PROPERTYKEY DECLSPEC_SELECTANY name
DECLSPEC_HIDDEN
= \
const PROPERTYKEY DECLSPEC_SELECTANY name = \
{ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
{ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
#endif
#endif
#else
#else
#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
EXTERN_C const PROPERTYKEY name
DECLSPEC_HIDDEN
EXTERN_C const PROPERTYKEY name
#endif
#endif
#ifndef IsEqualPropertyKey
#ifndef IsEqualPropertyKey
...
...
include/rpcndr.h
View file @
19cc2439
...
@@ -40,7 +40,6 @@ extern "C" {
...
@@ -40,7 +40,6 @@ extern "C" {
#ifndef EXTERN_GUID
#ifndef EXTERN_GUID
#ifdef __cplusplus
#ifdef __cplusplus
#define EXTERN_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
#define EXTERN_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
EXTERN_C const GUID DECLSPEC_SELECTANY name DECLSPEC_HIDDEN; \
EXTERN_C const GUID DECLSPEC_SELECTANY name = \
EXTERN_C const GUID DECLSPEC_SELECTANY name = \
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
#else
#else
...
...
include/rpcproxy.h
View file @
19cc2439
...
@@ -242,11 +242,10 @@ ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \
...
@@ -242,11 +242,10 @@ ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \
/* define PROXY_CLSID_IS to specify the CLSID data of the PSFactoryBuffer */
/* define PROXY_CLSID_IS to specify the CLSID data of the PSFactoryBuffer */
/* define neither to use the GUID of the first interface */
/* define neither to use the GUID of the first interface */
#ifdef PROXY_CLSID
#ifdef PROXY_CLSID
# define CLSID_PSFACTORYBUFFER extern CLSID PROXY_CLSID
DECLSPEC_HIDDEN
;
# define CLSID_PSFACTORYBUFFER extern CLSID PROXY_CLSID;
#else
#else
# ifdef PROXY_CLSID_IS
# ifdef PROXY_CLSID_IS
# define CLSID_PSFACTORYBUFFER const CLSID CLSID_PSFactoryBuffer DECLSPEC_HIDDEN; \
# define CLSID_PSFACTORYBUFFER const CLSID CLSID_PSFactoryBuffer = PROXY_CLSID_IS;
const CLSID CLSID_PSFactoryBuffer = PROXY_CLSID_IS;
# define PROXY_CLSID CLSID_PSFactoryBuffer
# define PROXY_CLSID CLSID_PSFactoryBuffer
# else
# else
# define CLSID_PSFACTORYBUFFER
# define CLSID_PSFACTORYBUFFER
...
...
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