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
56692e9c
Commit
56692e9c
authored
Nov 12, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi: Add a stub for DXGID3D10RegisterLayers.
parent
ed418dc8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
0 deletions
+40
-0
dxgi.spec
dlls/dxgi/dxgi.spec
+1
-0
dxgi_main.c
dlls/dxgi/dxgi_main.c
+7
-0
dxgi_private.h
dlls/dxgi/dxgi_private.h
+32
-0
No files found.
dlls/dxgi/dxgi.spec
View file @
56692e9c
@ stdcall CreateDXGIFactory(ptr ptr)
@ stdcall DXGID3D10RegisterLayers(ptr long)
dlls/dxgi/dxgi_main.c
View file @
56692e9c
...
...
@@ -62,3 +62,10 @@ HRESULT WINAPI CreateDXGIFactory(REFIID riid, void **factory)
return
hr
;
}
HRESULT
WINAPI
DXGID3D10RegisterLayers
(
const
struct
dxgi_device_layer
*
layers
,
UINT
layer_count
)
{
FIXME
(
"layers %p, layer_count %u stub!
\n
"
,
layers
,
layer_count
);
return
E_NOTIMPL
;
}
dlls/dxgi/dxgi_private.h
View file @
56692e9c
...
...
@@ -63,4 +63,36 @@ struct dxgi_swapchain
LONG
refcount
;
};
/* Layered device */
enum
dxgi_device_layer_id
{
DXGI_DEVICE_LAYER_DEBUG1
=
0x8
,
DXGI_DEVICE_LAYER_THREAD_SAFE
=
0x10
,
DXGI_DEVICE_LAYER_DEBUG2
=
0x20
,
DXGI_DEVICE_LAYER_SWITCH_TO_REF
=
0x30
,
DXGI_DEVICE_LAYER_D3D10_DEVICE
=
0xffffffff
,
};
struct
layer_get_size_args
{
DWORD
unknown0
;
DWORD
unknown1
;
DWORD
*
unknown2
;
DWORD
*
unknown3
;
IDXGIAdapter
*
adapter
;
WORD
interface_major
;
WORD
interface_minor
;
WORD
version_build
;
WORD
version_revision
;
};
struct
dxgi_device_layer
{
enum
dxgi_device_layer_id
id
;
HRESULT
(
WINAPI
*
init
)(
enum
dxgi_device_layer_id
id
,
DWORD
*
count
,
DWORD
*
values
);
UINT
(
WINAPI
*
get_size
)(
enum
dxgi_device_layer_id
id
,
struct
layer_get_size_args
*
args
,
DWORD
unknown0
);
HRESULT
(
WINAPI
*
create
)(
enum
dxgi_device_layer_id
id
,
void
**
layer_base
,
DWORD
unknown0
,
void
*
device_object
,
REFIID
riid
,
void
**
device_layer
);
};
#endif
/* __WINE_DXGI_PRIVATE_H */
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