mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-14 00:31:01 +03:00
virtual display: win10 trivial refactor
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
pub mod idd;
|
||||
use std::ffi::CStr;
|
||||
|
||||
pub const DRIVER_INSTALL_PATH: &str = "RustDeskIddDriver/RustDeskIddDriver.inf";
|
||||
pub const DRIVER_DOWNLOAD_URL: &str = "";
|
||||
|
||||
pub unsafe fn get_last_msg() -> Result<&'static str, std::str::Utf8Error> {
|
||||
CStr::from_ptr(idd::GetLastMsg()).to_str()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user