virtual display: idd add uninstall && example1

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-03-12 20:18:57 +08:00
parent b734e8aee9
commit 1eb696356e
4 changed files with 133 additions and 6 deletions

View File

@@ -104,7 +104,7 @@ fn main() {
println!("Create device begin");
if h_sw_device != invalid_device {
println!("Device created before");
break;
continue;
}
if idd::FALSE == idd::DeviceCreate(&mut h_sw_device) {
println!("{}", CStr::from_ptr(idd::GetLastMsg()).to_str().unwrap());