pub unsafe extern "cdecl" fn SetupWriteTextLogError(
    logtoken: u64,
    category: u32,
    logflags: u32,
    error: u32,
    messagestr: PCSTR,
    ...
)