Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
2cd939d7
Commit
2cd939d7
authored
Jun 25, 2021
by
Huw Davies
Committed by
Alexandre Julliard
Jun 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uuid: Add a few NPI module ids.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bfdf115c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
uuid.c
dlls/uuid/uuid.c
+3
-0
netiodef.h
include/netiodef.h
+29
-0
No files found.
dlls/uuid/uuid.c
View file @
2cd939d7
...
...
@@ -92,6 +92,9 @@ DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
#include "comsvcs.h"
#include "directmanipulation.h"
#define __WINE_INIT_NPI_MODULEID
#include "netiodef.h"
/* FIXME: cguids declares GUIDs but does not define their values */
/* GUIDs not declared in an exported header file */
...
...
include/netiodef.h
View file @
2cd939d7
...
...
@@ -57,4 +57,33 @@ static inline BOOLEAN NmrIsEqualNpiModuleId( const NPI_MODULEID *mod1, const NPI
return
FALSE
;
}
#ifdef __WINE_INIT_NPI_MODULEID
#ifdef __cplusplus
#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 = \
{ sizeof(NPI_MODULEID), MIT_GUID, { { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } } }
#else
#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 = \
{ sizeof(NPI_MODULEID), MIT_GUID, { { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } } }
#endif
#else
/* __WINE_INIT_MODULEID */
#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
#endif
/* __WINE_INIT_MODULEID */
#define DEFINE_NPI_MS_MODULEID(name, n) DEFINE_NPI_GUID_MODULEID(name, 0xeb004a00 + (n), 0x9b1a, 0x11d4, \
0x91, 0x23, 0x00, 0x50, 0x04, 0x77, 0x59, 0xbc)
DEFINE_NPI_MS_MODULEID
(
NPI_MS_IPV4_MODULEID
,
0x00
);
DEFINE_NPI_MS_MODULEID
(
NPI_MS_IPV6_MODULEID
,
0x01
);
DEFINE_NPI_MS_MODULEID
(
NPI_MS_UDP_MODULEID
,
0x02
);
DEFINE_NPI_MS_MODULEID
(
NPI_MS_TCP_MODULEID
,
0x03
);
DEFINE_NPI_MS_MODULEID
(
NPI_MS_NDIS_MODULEID
,
0x11
);
#undef DEFINE_NPI_MS_MODULEID
#undef DEFINE_NPI_GUID_MODULEID
#endif
/* __WINE_NETIODEF_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