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
a1c460f8
Commit
a1c460f8
authored
Nov 21, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Nov 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Document a Microsoft header bug.
parent
4153fc19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
d3d9.h
include/d3d9.h
+8
-0
No files found.
include/d3d9.h
View file @
a1c460f8
...
...
@@ -241,7 +241,15 @@ DECLARE_INTERFACE_(IDirect3D9Ex,IDirect3D9)
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/*** IDirect3D9 methods ***/
/* Note: Microsoft's d3d9.h does not declare IDirect3D9Ex::RegisterSoftwareDevice . This would mean that
* the offsets of the other methods in the Vtable change too. This is wrong. In Microsoft's
* d3d9.dll, the offsets for the other functions are still compatible with IDirect3D9.
* This is probably because even in MS's header IDirect3D9Ex inherits from IDirect3D9, which makes the
* C++ inferface compatible, and nobody uses the C interface in Windows world.
*/
STDMETHOD
(
RegisterSoftwareDevice
)(
THIS_
void
*
pInitializeFunction
)
PURE
;
STDMETHOD_
(
UINT
,
GetAdapterCount
)(
THIS
)
PURE
;
STDMETHOD
(
GetAdapterIdentifier
)(
THIS_
UINT
Adapter
,
DWORD
Flags
,
D3DADAPTER_IDENTIFIER9
*
pIdentifier
)
PURE
;
STDMETHOD_
(
UINT
,
GetAdapterModeCount
)(
THIS_
UINT
Adapter
,
D3DFORMAT
Format
)
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