Re: [Mingw-w64-public] Error with evntrace.h

2018-08-29 Thread Ruslan Garipov
The struct `WNODE_HEADER` and the enumeration `WMIDPREQUESTCODE` are defined in ``wmistr.h'' file. File ``evntrace.h'' includes ``wmistr.h'' one using the following define-guard: mingw-w64: ``` #ifndef _EVNTRACE_KERNEL_MODE #include #endif ``` Microsoft Windows 10.0.17134 SDK: ``` #if !de

[Mingw-w64-public] Error with evntrace.h

2018-08-29 Thread Biswapriyo Nath
When I include `evntrace.h` gcc shows these errors: ``` In file included from TraceEvent.h:10:0, from main.h:4, from main.c:1: e:\mingw64\x86_64-w64-mingw32\include\evntrace.h:513:3: error: unknown type name 'WNODE_HEADER' WNODE_HEADER Wnode; ^ e:\mingw64\x8