pub unsafe extern "system" fn EventWrite(
    reghandle: u64,
    eventdescriptor: *const EVENT_DESCRIPTOR,
    userdatacount: u32,
    userdata: *const EVENT_DATA_DESCRIPTOR
) -> u32