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
29191436
Commit
29191436
authored
Aug 15, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi: Use nameless unions/structs.
parent
b5edd148
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
devenum.c
dlls/mmdevapi/devenum.c
+3
-4
spatialaudio.c
dlls/mmdevapi/spatialaudio.c
+0
-1
No files found.
dlls/mmdevapi/devenum.c
View file @
29191436
...
...
@@ -18,7 +18,6 @@
#include <stdarg.h>
#define NONAMELESSUNION
#define COBJMACROS
#include "windef.h"
#include "winbase.h"
...
...
@@ -1546,13 +1545,13 @@ static ULONG WINAPI PB_Release(IPropertyBag *iface)
static
HRESULT
WINAPI
PB_Read
(
IPropertyBag
*
iface
,
LPCOLESTR
name
,
VARIANT
*
var
,
IErrorLog
*
log
)
{
IPropertyBagImpl
*
This
=
impl_from_IPropertyBag
(
iface
);
TRACE
(
"Trying to read %s, type %u
\n
"
,
debugstr_w
(
name
),
var
->
n1
.
n2
.
vt
);
TRACE
(
"Trying to read %s, type %u
\n
"
,
debugstr_w
(
name
),
var
->
vt
);
if
(
!
lstrcmpW
(
name
,
L"DSGuid"
))
{
WCHAR
guidstr
[
39
];
StringFromGUID2
(
&
This
->
devguid
,
guidstr
,
ARRAY_SIZE
(
guidstr
));
var
->
n1
.
n2
.
vt
=
VT_BSTR
;
var
->
n1
.
n2
.
n3
.
bstrVal
=
SysAllocString
(
guidstr
);
var
->
vt
=
VT_BSTR
;
var
->
bstrVal
=
SysAllocString
(
guidstr
);
return
S_OK
;
}
ERR
(
"Unknown property '%s' queried
\n
"
,
debugstr_w
(
name
));
...
...
dlls/mmdevapi/spatialaudio.c
View file @
29191436
...
...
@@ -17,7 +17,6 @@
*/
#define COBJMACROS
#define NONAMELESSUNION
#include <stdarg.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