type GetDeviceProcAddr = unsafe extern "C" fn(*mut c_void, *const c_char) -> Option<unsafe extern "C" fn()>;