mmsystem: Use nameless unions/structs.
This commit is contained in:
parent
7a82d78b17
commit
80ee53bb90
1 changed files with 4 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue