* include/mmsystem.h (_LPCWAVEFORMATEX_DEFINED): Define.

Use as guard for the WAVEFORMATEX structure instead of
	_WAVEFORMATEX_ to avoid clashes with DirectSound. Keep
	_WAVEFORMATEX_ for compatibility.
	Thanks to:    Andrew Jones <guln at sf dot net>
This commit is contained in:
Dimitri Papadopoulos
2006-04-19 08:57:16 +00:00
parent cb784c8950
commit 9d723cf55e
2 changed files with 12 additions and 3 deletions

View File

@ -1009,7 +1009,8 @@ typedef struct pcmwaveformat_tag {
WAVEFORMAT wf;
WORD wBitsPerSample;
} PCMWAVEFORMAT, *PPCMWAVEFORMAT,*LPPCMWAVEFORMAT;
#ifndef _WAVEFORMATEX_
#ifndef _LPCWAVEFORMATEX_DEFINED
#define _LPCWAVEFORMATEX_DEFINED
#define _WAVEFORMATEX_
typedef struct tWAVEFORMATEX {
WORD wFormatTag;