pub type HalReadDmaCounter = unsafe extern "system" fn(adapterobject: *const _ADAPTER_OBJECT) -> u32;