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
23efdb76
Commit
23efdb76
authored
Oct 04, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed incompatible IDIRECTXFILEOBJECT_METHODS macro, and added
IUNKNOWN_METHODS.
parent
e7c3ab18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
11 deletions
+16
-11
dxfile.h
include/dxfile.h
+16
-11
No files found.
include/dxfile.h
View file @
23efdb76
...
...
@@ -121,14 +121,19 @@ DECLARE_INTERFACE_(IDirectXFileSaveObject,IUnknown) { IDirectXFileSaveObject_MET
#define IDirectXFileSaveObject_SaveData(p,a) (p)->lpVtbl->SaveData(p,a)
#endif
#define IDIRECTXFILEOBJECT_METHODS \
STDMETHOD(GetName) (THIS_ LPSTR, LPDWORD) PURE; \
STDMETHOD(GetId) (THIS_ LPGUID) PURE;
#define IUNKNOWN_METHODS(kind) \
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) kind; \
STDMETHOD_(ULONG,AddRef)(THIS) kind; \
STDMETHOD_(ULONG,Release)(THIS) kind
#define IDIRECTXFILEOBJECT_METHODS(kind) \
STDMETHOD(GetName) (THIS_ LPSTR, LPDWORD) kind; \
STDMETHOD(GetId) (THIS_ LPGUID) kind
#define INTERFACE IDirectXFileObject
#define IDirectXFileObject_METHODS \
IU
nknown_METHODS
\
IDIRECTXFILEOBJECT_METHODS
IU
NKNOWN_METHODS(PURE);
\
IDIRECTXFILEOBJECT_METHODS
(PURE);
DECLARE_INTERFACE_
(
IDirectXFileObject
,
IUnknown
)
{
IDirectXFileObject_METHODS
};
#undef INTERFACE
...
...
@@ -144,8 +149,8 @@ DECLARE_INTERFACE_(IDirectXFileObject,IUnknown) { IDirectXFileObject_METHODS };
#define INTERFACE IDirectXFileData
#define IDirectXFileData_METHODS \
IU
nknown_METHODS
\
IDIRECTXFILEOBJECT_METHODS \
IU
NKNOWN_METHODS(PURE);
\
IDIRECTXFILEOBJECT_METHODS
(PURE);
\
STDMETHOD(GetData) (THIS_ LPCSTR, DWORD *, void **) PURE; \
STDMETHOD(GetType) (THIS_ const GUID **) PURE; \
STDMETHOD(GetNextObject) (THIS_ LPDIRECTXFILEOBJECT *) PURE; \
...
...
@@ -174,8 +179,8 @@ DECLARE_INTERFACE_(IDirectXFileData,IDirectXFileObject) { IDirectXFileData_METHO
#define INTERFACE IDirectXFileDataReference
#define IDirectXFileDataReference_METHODS \
IU
nknown_METHODS
\
IDIRECTXFILEOBJECT_METHODS \
IU
NKNOWN_METHODS(PURE);
\
IDIRECTXFILEOBJECT_METHODS
(PURE);
\
STDMETHOD(Resolve) (THIS_ LPDIRECTXFILEDATA *) PURE;
DECLARE_INTERFACE_
(
IDirectXFileDataReference
,
IDirectXFileObject
)
{
IDirectXFileDataReference_METHODS
};
#undef INTERFACE
...
...
@@ -194,8 +199,8 @@ DECLARE_INTERFACE_(IDirectXFileDataReference,IDirectXFileObject) { IDirectXFileD
#define INTERFACE IDirectXFileBinary
#define IDirectXFileBinary_METHODS \
IU
nknown_METHODS
\
IDIRECTXFILEOBJECT_METHODS \
IU
NKNOWN_METHODS(PURE);
\
IDIRECTXFILEOBJECT_METHODS
(PURE);
\
STDMETHOD(GetSize) (THIS_ DWORD *) PURE; \
STDMETHOD(GetMimeType) (THIS_ LPCSTR *) PURE; \
STDMETHOD(Read) (THIS_ LPVOID, DWORD, LPDWORD) PURE;
...
...
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