pub type TerminateEnclave = unsafe extern "system" fn(lpaddress: *const c_void, fwait: BOOL) -> BOOL;