| 1 | // Licensed to the .NET Foundation under one or more agreements. |
| 2 | // The .NET Foundation licenses this file to you under the MIT license. |
| 3 | // See the LICENSE file in the project root for more information. |
| 4 | // |
| 5 | |
| 6 | // |
| 7 | // =========================================================================== |
| 8 | // File: guiddef.h |
| 9 | // |
| 10 | // =========================================================================== |
| 11 | // simplified guiddef.h for PAL |
| 12 | |
| 13 | #include "palrt.h" |
| 14 | |
| 15 | #ifdef DEFINE_GUID |
| 16 | #undef DEFINE_GUID |
| 17 | #endif |
| 18 | |
| 19 | #ifdef INITGUID |
| 20 | #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ |
| 21 | EXTERN_C const GUID DECLSPEC_SELECTANY name \ |
| 22 | = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } |
| 23 | #else |
| 24 | #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ |
| 25 | EXTERN_C const GUID FAR name |
| 26 | #endif // INITGUID |
| 27 | |