pub use windows::{
Win32::System::Diagnostics::Debug::{CONTEXT, CONTEXT_FLAGS, EXCEPTION_POINTERS},
core::Error,
};
use std::ffi::c_void;
use windows::Win32::Foundation::{HANDLE, NTSTATUS};
pub(crate) type NtSetInformationProcessFn = unsafe extern "system" fn(
HANDLE, u32, *mut core::ffi::c_void, u32, ) -> NTSTATUS;
pub(crate) const PROCESS_INSTRUMENTATION_CALLBACK: u32 = 40;
#[repr(C)]
#[derive(Default, Clone, Copy)]
pub(crate) struct ProcessInstrumentationCallbackInfo {
pub version: u32,
pub reserved: u32,
pub callback: *const c_void,
}