Fix mingw GUID definitions.

This commit is contained in:
Bartosz Taudul
2026-04-03 20:06:15 +02:00
parent c564b163d3
commit ab61777896

View File

@@ -30,9 +30,11 @@ typedef struct _EVENT_FILTER_EVENT_ID {
#define EVENT_ENABLE_PROPERTY_IGNORE_KEYWORD_0 (0x1)
// System provider GUIDs
DEFINE_GUID(SystemProcessProviderGuid, 0x22d6d368, 0x560a, 0x4a9b, 0x81, 0x4e, 0xd3, 0x6b, 0x5e, 0x88, 0x8c, 0x4e);
DEFINE_GUID(SystemProfileProviderGuid, 0xb6d70bbb, 0x4867, 0x4c13, 0x81, 0x93, 0x1d, 0x25, 0x2e, 0x5d, 0x5c, 0x7b);
DEFINE_GUID(SystemSchedulerProviderGuid, 0x69ff631b, 0xf8b7, 0x41f8, 0xb0, 0x5f, 0xf9, 0x2e, 0x7e, 0x8d, 0x29, 0x3d);
// MinGW's DEFINE_GUID only declares the GUID, we need to define it with actual storage
// Using GUID format: {l, w1, w2, d1, d2, d3, d4, d5, d6, d7, d8} where d1-d8 are bytes
static const GUID SystemProcessProviderGuid = {0x22d6d368, 0x560a, 0x4a9b, {0x81, 0x4e, 0xd3, 0x6b, 0x5e, 0x88, 0x8c, 0x4e}};
static const GUID SystemProfileProviderGuid = {0xb6d70bbb, 0x4867, 0x4c13, {0x81, 0x93, 0x1d, 0x25, 0x2e, 0x5d, 0x5c, 0x7b}};
static const GUID SystemSchedulerProviderGuid = {0x69ff631b, 0xf8b7, 0x41f8, {0xb0, 0x5f, 0xf9, 0x2e, 0x7e, 0x8d, 0x29, 0x3d}};
// System provider keyword constants
#define SYSTEM_PROCESS_KW_THREAD (0x0000000400000000ULL)