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
7e2423e1
Commit
7e2423e1
authored
Feb 16, 2015
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi: Implement dxgi_output_SetPrivateData().
parent
00daa8bc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
dxgi_private.h
dlls/dxgi/dxgi_private.h
+1
-0
output.c
dlls/dxgi/output.c
+6
-2
No files found.
dlls/dxgi/dxgi_private.h
View file @
7e2423e1
...
...
@@ -119,6 +119,7 @@ struct dxgi_output
{
IDXGIOutput
IDXGIOutput_iface
;
LONG
refcount
;
struct
wined3d_private_store
private_store
;
struct
dxgi_adapter
*
adapter
;
};
...
...
dlls/dxgi/output.c
View file @
7e2423e1
...
...
@@ -68,6 +68,7 @@ static ULONG STDMETHODCALLTYPE dxgi_output_Release(IDXGIOutput *iface)
if
(
!
refcount
)
{
wined3d_private_store_cleanup
(
&
This
->
private_store
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
...
...
@@ -79,9 +80,11 @@ static ULONG STDMETHODCALLTYPE dxgi_output_Release(IDXGIOutput *iface)
static
HRESULT
STDMETHODCALLTYPE
dxgi_output_SetPrivateData
(
IDXGIOutput
*
iface
,
REFGUID
guid
,
UINT
data_size
,
const
void
*
data
)
{
FIXME
(
"iface %p, guid %s, data_size %u, data %p stub!
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
struct
dxgi_output
*
output
=
impl_from_IDXGIOutput
(
iface
);
return
E_NOTIMPL
;
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
dxgi_set_private_data
(
&
output
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
dxgi_output_SetPrivateDataInterface
(
IDXGIOutput
*
iface
,
...
...
@@ -289,5 +292,6 @@ void dxgi_output_init(struct dxgi_output *output, struct dxgi_adapter *adapter)
{
output
->
IDXGIOutput_iface
.
lpVtbl
=
&
dxgi_output_vtbl
;
output
->
refcount
=
1
;
wined3d_private_store_init
(
&
output
->
private_store
);
output
->
adapter
=
adapter
;
}
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