mmsystem: Use nameless unions/structs.

This commit is contained in:
Alexandre Julliard 2023-07-18 19:56:26 +02:00
parent 7a82d78b17
commit 80ee53bb90

View file

@ -29,8 +29,6 @@
#include <stdarg.h>
#include <string.h>
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "mmsystem.h"
@ -471,8 +469,8 @@ UINT16 WINAPI mixerGetLineControls16(HMIXEROBJ16 hmix,
mlcA.cbStruct = sizeof(mlcA);
mlcA.dwLineID = lpmlc16->dwLineID;
mlcA.u.dwControlID = lpmlc16->u.dwControlID;
mlcA.u.dwControlType = lpmlc16->u.dwControlType;
mlcA.dwControlID = lpmlc16->u.dwControlID;
mlcA.dwControlType = lpmlc16->u.dwControlType;
mlcA.cControls = lpmlc16->cControls;
mlcA.cbmxctrl = sizeof(MIXERCONTROLA);
mlcA.pamxctrl = HeapAlloc(GetProcessHeap(), 0,
@ -482,8 +480,8 @@ UINT16 WINAPI mixerGetLineControls16(HMIXEROBJ16 hmix,
if (ret == MMSYSERR_NOERROR) {
lpmlc16->dwLineID = mlcA.dwLineID;
lpmlc16->u.dwControlID = mlcA.u.dwControlID;
lpmlc16->u.dwControlType = mlcA.u.dwControlType;
lpmlc16->u.dwControlID = mlcA.dwControlID;
lpmlc16->u.dwControlType = mlcA.dwControlType;
lpmlc16->cControls = mlcA.cControls;
lpmc16 = MapSL(lpmlc16->pamxctrl);