_SYSTEM_THREAD_INFORMATION redefinition error

The structure is defined twice, once by OBS and once by the SDK now. An easy solution is to rename the OBS defined structure and add a 2 at the end, it'll still work as before.
 
The structure, _SYSTEM_THREAD_INFORMATION, is define twice.
One is in winternl.h(Windows v10.0.16232 SDK), the other is in win-capture/nt-stuff.h.
C2011 redefinition error occurs.

ps)
struct _SYSTEM_PROCESS_INFORMATION2 is in win-capture/nt-stuff.h as well.
 
Last edited:
Back
Top