win, clipboard wait timeout, debug
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
parent
47fa90741f
commit
aaca56c1f8
@ -1497,9 +1497,13 @@ UINT wait_response_event(wfClipboard *clipboard, HANDLE event, void **data)
|
||||
msg.details = NULL;
|
||||
clipboard->context->NotifyClipboardMsg(&msg);
|
||||
rc = ERROR_INTERNAL_ERROR;
|
||||
}
|
||||
|
||||
if ((*data) != NULL)
|
||||
if (!ResetEvent(event))
|
||||
{
|
||||
// NOTE: critical error here, crash may be better
|
||||
}
|
||||
}
|
||||
else if ((*data) != NULL)
|
||||
{
|
||||
if (!ResetEvent(event))
|
||||
{
|
||||
|
@ -1102,6 +1102,7 @@ fn msgbox_clipboard_(channel: &str, r#type: u32, msg: &str, details: &str) -> u3
|
||||
);
|
||||
let text = format!("{} {}", msg, details);
|
||||
if let Ok(event) = serde_json::ser::to_string(&HashMap::from([
|
||||
("name", "msgbox"),
|
||||
("type", &msgtype as &str),
|
||||
("title", "clipboard"),
|
||||
("text", &text),
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", "折叠工具栏"),
|
||||
("Accept and Elevate", "接受并提权"),
|
||||
("accept_and_elevate_btn_tooltip", "接受连接并提升 UAC 权限"),
|
||||
("clipboard_wait_response_timeout_tip", "等待拷贝响应超时"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", "Symbolleiste einklappen"),
|
||||
("Accept and Elevate", "Akzeptieren und Rechte erhöhen"),
|
||||
("accept_and_elevate_btn_tooltip", "Akzeptieren Sie die Verbindung und erhöhen Sie die UAC-Berechtigungen."),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -70,5 +70,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("resolution_fit_local_tip", "Fit local resolution"),
|
||||
("resolution_custom_tip", "Custom resolution"),
|
||||
("accept_and_elevate_btn_tooltip", "Accept the connection and elevate UAC permissions."),
|
||||
("clipboard_wait_response_timeout_tip", "Timed out waiting for copy response."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", "Contraer barra de herramientas"),
|
||||
("Accept and Elevate", "Aceptar y Elevar"),
|
||||
("accept_and_elevate_btn_tooltip", "Aceptar la conexión y elevar permisos UAC."),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", "جمع کردن نوار ابزار"),
|
||||
("Accept and Elevate", "بپذیرید و افزایش دهید"),
|
||||
("accept_and_elevate_btn_tooltip", "را افزایش دهید UAC اتصال را بپذیرید و مجوزهای."),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", "Comprimi barra strumenti"),
|
||||
("Accept and Elevate", "Accetta ed eleva"),
|
||||
("accept_and_elevate_btn_tooltip", "Accetta la connessione ed eleva le autorizzazioni UAC."),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", "Werkbalk samenvouwen"),
|
||||
("Accept and Elevate", "Accepteren en Verheffen"),
|
||||
("accept_and_elevate_btn_tooltip", "Accepteer de verbinding en verhoog de UAC-machtigingen."),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", "Zwiń pasek narzędzi"),
|
||||
("Accept and Elevate", "Akceptuj i Podnieś uprawnienia"),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", "Свернуть панель инструментов"),
|
||||
("Accept and Elevate", "Принять и повысить"),
|
||||
("accept_and_elevate_btn_tooltip", "Разрешить подключение и повысить права UAC."),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", ""),
|
||||
("Accept and Elevate", ""),
|
||||
("accept_and_elevate_btn_tooltip", ""),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -511,5 +511,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Collapse toolbar", "Thu nhỏ thanh công cụ"),
|
||||
("Accept and Elevate", "Chấp nhận và Cấp Quyền"),
|
||||
("accept_and_elevate_btn_tooltip", "Chấp nhận kết nối và cấp các quyền UAC."),
|
||||
("clipboard_wait_response_timeout_tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user