XAudio2.h: likewise

This commit is contained in:
rofl0r 2024-12-06 02:28:04 +00:00
parent e8f1e60243
commit 6263cea61c
1 changed files with 15 additions and 0 deletions

View File

@ -68,6 +68,14 @@ GARBONZOBEAN(IXAudio2, 8bcf1f58-9fe7-4583-8ac6-e2adc465c8bb);
// All structures defined in this file use tight field packing
#pragma pack(push, 1)
#ifdef __MINGW32__ /* hack to provide some magic MSVC keywords */
#define __out
#define __in
#define __deref_out
#define __reserved
#endif
/**************************************************************************
*
@ -1273,6 +1281,13 @@ __inline HRESULT XAudio2Create(__deref_out IXAudio2** ppXAudio2, UINT32 Flags X2
#endif // #ifdef _XBOX
#ifdef __MINGW32__
#undef __out
#undef __in
#undef __deref_out
#undef __reserved
#endif
// Undo the #pragma pack(push, 1) directive at the top of this file
#pragma pack(pop)