source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/ksguid.h@ 1194

Last change on this file since 1194 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 830 bytes
RevLine 
[1166]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
Note: See TracBrowser for help on using the repository browser.