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
80ee53bb
Commit
80ee53bb
authored
Jul 18, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmsystem: Use nameless unions/structs.
parent
7a82d78b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
mmsystem.c
dlls/mmsystem.dll16/mmsystem.c
+4
-6
No files found.
dlls/mmsystem.dll16/mmsystem.c
View file @
80ee53bb
...
@@ -29,8 +29,6 @@
...
@@ -29,8 +29,6 @@
#include <stdarg.h>
#include <stdarg.h>
#include <string.h>
#include <string.h>
#define NONAMELESSUNION
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "mmsystem.h"
#include "mmsystem.h"
...
@@ -471,8 +469,8 @@ UINT16 WINAPI mixerGetLineControls16(HMIXEROBJ16 hmix,
...
@@ -471,8 +469,8 @@ UINT16 WINAPI mixerGetLineControls16(HMIXEROBJ16 hmix,
mlcA
.
cbStruct
=
sizeof
(
mlcA
);
mlcA
.
cbStruct
=
sizeof
(
mlcA
);
mlcA
.
dwLineID
=
lpmlc16
->
dwLineID
;
mlcA
.
dwLineID
=
lpmlc16
->
dwLineID
;
mlcA
.
u
.
dwControlID
=
lpmlc16
->
u
.
dwControlID
;
mlcA
.
dwControlID
=
lpmlc16
->
u
.
dwControlID
;
mlcA
.
u
.
dwControlType
=
lpmlc16
->
u
.
dwControlType
;
mlcA
.
dwControlType
=
lpmlc16
->
u
.
dwControlType
;
mlcA
.
cControls
=
lpmlc16
->
cControls
;
mlcA
.
cControls
=
lpmlc16
->
cControls
;
mlcA
.
cbmxctrl
=
sizeof
(
MIXERCONTROLA
);
mlcA
.
cbmxctrl
=
sizeof
(
MIXERCONTROLA
);
mlcA
.
pamxctrl
=
HeapAlloc
(
GetProcessHeap
(),
0
,
mlcA
.
pamxctrl
=
HeapAlloc
(
GetProcessHeap
(),
0
,
...
@@ -482,8 +480,8 @@ UINT16 WINAPI mixerGetLineControls16(HMIXEROBJ16 hmix,
...
@@ -482,8 +480,8 @@ UINT16 WINAPI mixerGetLineControls16(HMIXEROBJ16 hmix,
if
(
ret
==
MMSYSERR_NOERROR
)
{
if
(
ret
==
MMSYSERR_NOERROR
)
{
lpmlc16
->
dwLineID
=
mlcA
.
dwLineID
;
lpmlc16
->
dwLineID
=
mlcA
.
dwLineID
;
lpmlc16
->
u
.
dwControlID
=
mlcA
.
u
.
dwControlID
;
lpmlc16
->
u
.
dwControlID
=
mlcA
.
dwControlID
;
lpmlc16
->
u
.
dwControlType
=
mlcA
.
u
.
dwControlType
;
lpmlc16
->
u
.
dwControlType
=
mlcA
.
dwControlType
;
lpmlc16
->
cControls
=
mlcA
.
cControls
;
lpmlc16
->
cControls
=
mlcA
.
cControls
;
lpmc16
=
MapSL
(
lpmlc16
->
pamxctrl
);
lpmc16
=
MapSL
(
lpmlc16
->
pamxctrl
);
...
...
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