Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

kpm驱动-rust用户层示例,附带imgui实现。加入群聊:417157345!喵

Notifications You must be signed in to change notification settings

NullPtr-fix/rust_kernel

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usage

  • 1.自己编译android_native_window库下的android_native_control_support项目,将生成的libnative-window-control.a复制到\target\cxxbuild目录下
  • 2.修改android_native_window 库的pub struct Window 结构体的 new函数,增加一个 bool值参数 用来传输是否开启防录制,然后将修改下面的这个地方。
    let ptr = core::ptr::NonNull::new_unchecke(safe_create_native_window(title, res, res, screenshot,));//screenshot为加入的bool变量
  • 3.配置好 cargo的ndk 环境变量,然后运行 ./build.bat 编译。

view

  • alt text
  • alt text

About

kpm驱动-rust用户层示例,附带imgui实现。加入群聊:417157345!喵

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.