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
5a097118
Commit
5a097118
authored
Apr 01, 1999
by
Adrian Thurston
Committed by
Alexandre Julliard
Apr 01, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initguid.h should only contain the macro that defines the guids.
Added olectl.h to guid.c so some needed guids get defined. Made GUID_NULL an actual guid set to 0,0,0...
parent
466cd444
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
16 deletions
+9
-16
initguid.h
include/initguid.h
+2
-11
shlguid.h
include/shlguid.h
+1
-1
obj_olefont.h
include/wine/obj_olefont.h
+0
-2
wtypes.h
include/wtypes.h
+2
-2
guid.c
ole/guid.c
+4
-0
No files found.
include/initguid.h
View file @
5a097118
...
...
@@ -14,19 +14,10 @@
/*****************************************************************************
* Macros to declare the GUIDs
*/
#ifdef INITGUID
#undef DEFINE_GUID
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
const GUID name = \
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
#else
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name
#endif
#define DEFINE_OLEGUID(name, l, w1, w2) \
DEFINE_GUID(name, l, w1, w2, 0xC0,0,0,0,0,0,0,0x46)
#define DEFINE_SHLGUID(name, l, w1, w2) DEFINE_OLEGUID(name,l,w1,w2)
#endif
include/shlguid.h
View file @
5a097118
#ifndef __WINE_SHLGUID_H
#define __WINE_SHLGUID_H
#include "
initguid
.h"
#include "
wine/obj_base
.h"
DEFINE_SHLGUID
(
CLSID_ShellDesktop
,
0x00021400L
,
0
,
0
);
DEFINE_SHLGUID
(
CLSID_ShellLink
,
0x00021401L
,
0
,
0
);
...
...
include/wine/obj_olefont.h
View file @
5a097118
...
...
@@ -13,8 +13,6 @@
/*****************************************************************************
* Predeclare the interfaces
*/
DEFINE_GUID
(
CLSID_StdFont
,
0x0BE35203
,
0x8F91
,
0x11CE
,
0x9D
,
0xE3
,
0x00
,
0xAA
,
0x00
,
0x4B
,
0xB8
,
0x51
);
DEFINE_GUID
(
IID_IFont
,
0xBEF6E002
,
0xA874
,
0x101A
,
0x8B
,
0xBA
,
0x00
,
0xAA
,
0x00
,
0x30
,
0x0C
,
0xAB
);
typedef
struct
IFont
IFont
,
*
LPFONT
;
...
...
include/wtypes.h
View file @
5a097118
...
...
@@ -63,8 +63,8 @@ typedef GUID FMTID,*LPFMTID;
#define REFFMTID const FMTID* const
#endif // !__cplusplus
#define GUID_NULL ((GUID*)NULL)
/* Is this right? */
#define CLSID_NULL
((REFCLSID)NULL)
extern
const
IID
GUID_NULL
;
#define CLSID_NULL
GUID_NULL
typedef
enum
tagDVASPECT
{
...
...
ole/guid.c
View file @
5a097118
...
...
@@ -9,6 +9,7 @@
*/
#include "oleidl.h"
#include "oaidl.h"
#include "olectl.h"
#include "ocidl.h"
#include "objbase.h"
#include "servprov.h"
...
...
@@ -21,4 +22,7 @@
#include "shlguid.h"
#include "shlobj.h"
/* FIXME: don't really know where to put this. */
DEFINE_GUID
(
GUID_NULL
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
#endif
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