pub type RtlCmEncodeMemIoResource = unsafe extern "system" fn(descriptor: *const CM_PARTIAL_RESOURCE_DESCRIPTOR, type: u8, length: u64, start: u64) -> NTSTATUS;