ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/i686-w64-mingw32/include/ksguid.h
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
Content type: text/x-chdr
File size: 830 byte(s)
Log Message:
Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File Contents

# Content
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6 #define INITGUID
7 #include <guiddef.h>
8
9 #ifndef DECLSPEC_SELECTANY
10 #define DECLSPEC_SELECTANY __declspec(selectany)
11 #endif
12
13 #ifdef DEFINE_GUIDEX
14 #undef DEFINE_GUIDEX
15 #endif
16
17 #ifdef __cplusplus
18 #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID DECLSPEC_SELECTANY name = { STATICGUIDOF(name) }
19 #else
20 #define DEFINE_GUIDEX(name) const CDECL GUID DECLSPEC_SELECTANY name = { STATICGUIDOF(name) }
21 #endif
22 #ifndef STATICGUIDOF
23 #define STATICGUIDOF(guid) STATIC_##guid
24 #endif
25
26 #ifndef DEFINE_WAVEFORMATEX_GUID
27 #define DEFINE_WAVEFORMATEX_GUID(x) (USHORT)(x),0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71
28 #endif