pub type CryptDuplicateKey = unsafe extern "system" fn(hkey: usize, pdwreserved: *const u32, dwflags: u32, phkey: *mut usize) -> BOOL;