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
080abfcd
Commit
080abfcd
authored
Sep 25, 2001
by
Ove Kaaven
Committed by
Alexandre Julliard
Sep 25, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added ICOM_[C]THIS_MULTI macros to make it easier to implement objects
that expose multiple interfaces. Added prototypes for CoGetPSClsid and IUnknown_*_Proxy.
parent
e0fa0369
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
obj_base.h
include/wine/obj_base.h
+11
-2
No files found.
include/wine/obj_base.h
View file @
080abfcd
...
...
@@ -584,8 +584,11 @@ INT WINAPI StringFromGUID2(REFGUID id, LPOLESTR str, INT cmax);
#endif
/* ICOM_MSVTABLE_COMPAT */
#define ICOM_THIS(impl,iface) impl* const This=(impl*)iface
#define ICOM_CTHIS(impl,iface) const impl* const This=(const impl*)iface
#define ICOM_THIS(impl,iface) impl* const This=(impl*)(iface)
#define ICOM_CTHIS(impl,iface) const impl* const This=(const impl*)(iface)
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
#define ICOM_CTHIS_MULTI(impl,field,iface) const impl* const This=(const impl*)((char*)(iface) - offsetof(impl,field))
#endif
/*ICOM_CINTERFACE */
...
...
@@ -676,6 +679,10 @@ struct IUnknown {
#define IUnknown_AddRef(p) ICOM_CALL (AddRef,p)
#define IUnknown_Release(p) ICOM_CALL (Release,p)
HRESULT
CALLBACK
IUnknown_QueryInterface_Proxy
(
IUnknown
*
This
,
REFIID
riid
,
LPVOID
*
ppvObj
);
ULONG
CALLBACK
IUnknown_AddRef_Proxy
(
IUnknown
*
This
);
ULONG
CALLBACK
IUnknown_Release_Proxy
(
IUnknown
*
This
);
/*****************************************************************************
* IClassFactory interface
*/
...
...
@@ -797,6 +804,8 @@ HRESULT WINAPI CoRegisterClassObject(REFCLSID rclsid,LPUNKNOWN pUnk,DWORD dwClsC
HRESULT
WINAPI
CoRevokeClassObject
(
DWORD
dwRegister
);
HRESULT
WINAPI
CoGetPSClsid
(
REFIID
riid
,
CLSID
*
pclsid
);
/*****************************************************************************
* COM Server dll - exports
*/
...
...
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