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
43ed6c6d
Commit
43ed6c6d
authored
Jul 12, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Use nameless unions/structs.
parent
2bf29480
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
dmusic_private.h
dlls/dmusic/dmusic_private.h
+0
-3
port.c
dlls/dmusic/port.c
+4
-4
No files found.
dlls/dmusic/dmusic_private.h
View file @
43ed6c6d
...
@@ -25,9 +25,6 @@
...
@@ -25,9 +25,6 @@
#include <stdarg.h>
#include <stdarg.h>
#define COBJMACROS
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "winnt.h"
#include "winnt.h"
...
...
dlls/dmusic/port.c
View file @
43ed6c6d
...
@@ -725,18 +725,18 @@ static HRESULT WINAPI IKsControlImpl_KsProperty(IKsControl *iface, KSPROPERTY *p
...
@@ -725,18 +725,18 @@ static HRESULT WINAPI IKsControlImpl_KsProperty(IKsControl *iface, KSPROPERTY *p
ULONG
prop_len
,
void
*
data
,
ULONG
data_len
,
ULONG
*
ret_len
)
ULONG
prop_len
,
void
*
data
,
ULONG
data_len
,
ULONG
*
ret_len
)
{
{
TRACE
(
"(%p, %p, %lu, %p, %lu, %p)
\n
"
,
iface
,
prop
,
prop_len
,
data
,
data_len
,
ret_len
);
TRACE
(
"(%p, %p, %lu, %p, %lu, %p)
\n
"
,
iface
,
prop
,
prop_len
,
data
,
data_len
,
ret_len
);
TRACE
(
"prop = %s - %lu - %lu
\n
"
,
debugstr_guid
(
&
prop
->
u
.
s
.
Set
),
prop
->
u
.
s
.
Id
,
prop
->
u
.
s
.
Flags
);
TRACE
(
"prop = %s - %lu - %lu
\n
"
,
debugstr_guid
(
&
prop
->
Set
),
prop
->
Id
,
prop
->
Flags
);
if
(
prop
->
u
.
s
.
Flags
!=
KSPROPERTY_TYPE_GET
)
if
(
prop
->
Flags
!=
KSPROPERTY_TYPE_GET
)
{
{
FIXME
(
"prop flags %lu not yet supported
\n
"
,
prop
->
u
.
s
.
Flags
);
FIXME
(
"prop flags %lu not yet supported
\n
"
,
prop
->
Flags
);
return
S_FALSE
;
return
S_FALSE
;
}
}
if
(
data_len
<
sizeof
(
DWORD
))
if
(
data_len
<
sizeof
(
DWORD
))
return
E_NOT_SUFFICIENT_BUFFER
;
return
E_NOT_SUFFICIENT_BUFFER
;
FIXME
(
"Unknown property %s
\n
"
,
debugstr_guid
(
&
prop
->
u
.
s
.
Set
));
FIXME
(
"Unknown property %s
\n
"
,
debugstr_guid
(
&
prop
->
Set
));
*
(
DWORD
*
)
data
=
FALSE
;
*
(
DWORD
*
)
data
=
FALSE
;
*
ret_len
=
sizeof
(
DWORD
);
*
ret_len
=
sizeof
(
DWORD
);
...
...
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