fufesou 27e7b57222 move virtual display to lib workspace
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-18 17:55:21 +08:00

10 lines
283 B
Rust

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()
}