Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
15382c5e
Commit
15382c5e
authored
Feb 13, 1999
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 13, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the REFxxx types const even in C. Also add FMTID.
parent
a4e29e5b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
objbase.h
include/objbase.h
+1
-1
wtypes.h
include/wtypes.h
+12
-10
No files found.
include/objbase.h
View file @
15382c5e
...
...
@@ -63,7 +63,7 @@ HRESULT WINAPI CoRegisterClassObject32(REFCLSID rclsid,LPUNKNOWN pUnk,DWORD dwCl
HRESULT
WINAPI
CoRevokeClassObject32
(
DWORD
dwRegister
);
#define CoRevokeClassObject WINELIB_NAME(CoRevokeClassObject)
HRESULT
WINAPI
CoGetClassObject
(
REFCLSID
rclsid
,
DWORD
dwClsContext
,
LPVOID
pvReserved
,
const
REFIID
iid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
CoGetClassObject
(
REFCLSID
rclsid
,
DWORD
dwClsContext
,
LPVOID
pvReserved
,
REFIID
iid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
CoCreateInstance
(
REFCLSID
rclsid
,
LPUNKNOWN
pUnkOuter
,
DWORD
dwClsContext
,
REFIID
iid
,
LPVOID
*
ppv
);
...
...
include/wtypes.h
View file @
15382c5e
...
...
@@ -34,27 +34,29 @@ DECL_WINELIB_TYPE(LPBSTR)
#ifndef GUID_DEFINED
#define GUID_DEFINED
typedef
struct
_GUID
struct
_GUID
{
DWORD
Data1
;
WORD
Data2
;
WORD
Data3
;
BYTE
Data4
[
8
];
}
GUID
;
};
#endif
typedef
GUID
*
LPGUID
;
typedef
GUID
CLSID
,
*
LPCLSID
;
typedef
GUID
IID
,
*
LPIID
;
typedef
struct
_GUID
GUID
,
*
LPGUID
;
typedef
struct
_
GUID
CLSID
,
*
LPCLSID
;
typedef
struct
_
GUID
IID
,
*
LPIID
;
typedef
struct
_GUID
FMTID
,
*
LPFMTID
;
#ifdef __cplusplus
#define REFGUID const GUID &
#define REFIID const IID &
#define REFCLSID const CLSID &
#define REFIID const IID &
#define REFFMTID const FMTID &
#else // !__cplusplus
#define REFGUID GUID *
#define REFIID IID *
#define REFCLSID CLSID *
#define REFGUID const GUID* const
#define REFCLSID const CLSID* const
#define REFIID const IID* const
#define REFFMTID const FMTID* const
#endif // !__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