//! The Win32 code of the cancel event's creation failure.
use HRESULT;
use ERROR_NOT_ENOUGH_MEMORY;
/// A `CreateEventW` failure is `Io` with the plain Win32 code. The call cannot be made to fail, so
/// the failure is injected at `owned_event`.
///
/// Mutant: `owned_event` converts with `.into()`, so the code is `0x80070008`.