[WINMM_WINETEST][SDK][INCLUDE] Try to fix MSVC winmm:generated build

This commit is contained in:
Katayama Hirofumi MZ 2019-12-08 12:45:33 +09:00
parent 40db385716
commit 312d52277a

View file

@ -1151,12 +1151,12 @@ typedef struct midihdr_tag {
LPSTR lpData; LPSTR lpData;
DWORD dwBufferLength; DWORD dwBufferLength;
DWORD dwBytesRecorded; DWORD dwBytesRecorded;
DWORD dwUser; DWORD_PTR dwUser;
DWORD dwFlags; DWORD dwFlags;
struct midihdr_tag *lpNext; struct midihdr_tag *lpNext;
DWORD reserved; DWORD_PTR reserved;
DWORD dwOffset; DWORD dwOffset;
DWORD dwReserved[8]; DWORD_PTR dwReserved[8];
} MIDIHDR,*PMIDIHDR,*LPMIDIHDR; } MIDIHDR,*PMIDIHDR,*LPMIDIHDR;
typedef struct midievent_tag { typedef struct midievent_tag {
@ -1234,7 +1234,7 @@ typedef struct tagMIXERLINEA {
DWORD dwSource; DWORD dwSource;
DWORD dwLineID; DWORD dwLineID;
DWORD fdwLine; DWORD fdwLine;
DWORD dwUser; DWORD_PTR dwUser;
DWORD dwComponentType; DWORD dwComponentType;
DWORD cChannels; DWORD cChannels;
DWORD cConnections; DWORD cConnections;
@ -1257,7 +1257,7 @@ typedef struct tagMIXERLINEW {
DWORD dwSource; DWORD dwSource;
DWORD dwLineID; DWORD dwLineID;
DWORD fdwLine; DWORD fdwLine;
DWORD dwUser; DWORD_PTR dwUser;
DWORD dwComponentType; DWORD dwComponentType;
DWORD cChannels; DWORD cChannels;
DWORD cConnections; DWORD cConnections;
@ -1693,16 +1693,26 @@ typedef struct tagMCI_WAVE_SET_PARMS {
DWORD dwAudio; DWORD dwAudio;
UINT wInput; UINT wInput;
UINT wOutput; UINT wOutput;
#ifdef _WIN64
DWORD wFormatTag;
DWORD nChannels;
#else
WORD wFormatTag; WORD wFormatTag;
WORD wReserved2; WORD wReserved2;
WORD nChannels; WORD nChannels;
WORD wReserved3; WORD wReserved3;
#endif
DWORD nSamplesPerSec; DWORD nSamplesPerSec;
DWORD nAvgBytesPerSec; DWORD nAvgBytesPerSec;
#ifdef _WIN64
DWORD nBlockAlign;
DWORD wBitsPerSample;
#else
WORD nBlockAlign; WORD nBlockAlign;
WORD wReserved4; WORD wReserved4;
WORD wBitsPerSample; WORD wBitsPerSample;
WORD wReserved5; WORD wReserved5;
#endif
} MCI_WAVE_SET_PARMS,*PMCI_WAVE_SET_PARMS,*LPMCI_WAVE_SET_PARMS; } MCI_WAVE_SET_PARMS,*PMCI_WAVE_SET_PARMS,*LPMCI_WAVE_SET_PARMS;
typedef struct tagWAVEOUTCAPS2A { typedef struct tagWAVEOUTCAPS2A {