pub type SCardGetDeviceTypeIdA = unsafe extern "system" fn(hcontext: usize, szreadername: PCSTR, pdwdevicetypeid: *mut u32) -> i32;