_WIN32_WINNT
conditionals can basically be ignored because winapi does not support restricting the API for older versions
use winapi::um::minwinbase::SECURITY_ATTRIBUTES
:error[E0432]: unresolved import `winapi::um::minwinbase`
--> src/main.rs:4:17
|
4 | use winapi::um::minwinbase::SECURITY_ATTRIBUTES;
| ^^^^^^^^^^ Could not find `minwinbase` in `um`
WaitForDebugEvent
.DEBUG_EVENT
, but because DEBUG_EVENT.DEBUG_EVENT_u
doesn’t have anyway to create it, I can’t create a DEBUG_EVENT
, and so I can’t create an empty argument to pass to WaitForDebugEvent
.