-
windows system access system information processes, including the host name, use...
windows系统下获取系统信息的程序,包括主机名,用户名,系统路径,环境变量等信息-windows system access system information processes, including the host name, user name, path, environment variables and other information
- 2022-06-30 20:49:05下载
- 积分:1
-
Windows 中创建空的备用列表
翻译:maninwest@Codeforge 作者:Member 10018957 @CodeProject如何在 Windows 中创建看空的备用列表。进程黑_客的制造者了解 Windows 内核的里里外外,他们也幸运地熟练掌握 Windows 内核的设计语言C++。而其他的人则努力通过 C# 执行相似的功能。其中一个功能就是释放来自 windows 备用内存的内存。这就是我们在此要做的。最难的部分是获取内核的优先权限。感谢Nick Lowe:http://processprivileges.codeplex.com/步骤1:设置内核优先权限Microsoft 设计了可以获取包含结构数组的结构的 API。没有适用于此的编组过程的捷径。要么假设数组是 length=1 要么要求数组大小在编译时预先确定。为此,我设计了一个类,它通过 System.IntPtr拥有微软在未管理的内存中需要的确切结构。当前,我不得不采用不安全的步骤,但是我确定,将来会有办法绕过。[return: MarshalAs(UnmanagedType.Bool)]
[SuppressUnmanagedCodeSecurity, DllImport("advapi32.dll", SetLastError = true)] internal static extern bool AdjustTokenPrivileges(AccessTokenHandle accessTokenHandle,
[MarshalAs(UnmanagedType.Bool)] bool disableAllPrivileges, IntPtr NewPriviledges, Int32 bufferLength, ref IntPtr PriorPriviledges, out Int32 returnLength); 将我的类和 Nick Lowe 的优先代码相结合,我们可以设置内核优先权限:
- 2022-05-07 13:17:48下载
- 积分:1
-
一个不错的词汇法分析程序,用了就会知道他好的,很容易就可以弄清词汇法分析的安排...
一个不错的词汇法分析程序,用了就会知道他好的,很容易就可以弄清词汇法分析的安排-a good vocabulary analysis procedures, with the good will he know, it is very easy to understand vocabulary analysis of the arrangements
- 2022-02-05 20:47:53下载
- 积分:1
-
Timing button and pop
定时开机、弹出光驱的程序,使用winapi进行控制,对初学者是个很好的例子-Timing button and pop-up drive, the use of winapi control, for beginners, is a very good example
- 2022-09-17 11:50:03下载
- 积分:1
-
利用多线程实现不同任务同时进行, 在系统开发中 应用广泛
利用多线程实现不同任务同时进行, 在系统开发中 应用广泛-use multithreading different tasks simultaneously, the system widely used development
- 2023-07-10 02:25:02下载
- 积分:1
-
C++标准库 Nicolai M,Josuttis 著
C++标准库 Nicolai M,Josuttis 著-C++ standard library Nicolai M, Josuttis the
- 2022-08-05 19:56:36下载
- 积分:1
-
通过消息传递数据,讲解消息机制,理论和开发过程
通过消息传递数据,讲解消息机制,理论和开发过程-through messaging data on the mechanism of information theory and the development process
- 2022-03-04 04:28:36下载
- 积分:1
-
实现物流信息系统的签单回单管理,自动跟踪客户签单跟踪的目的...
实现物流信息系统的签单回单管理,自动跟踪客户签单跟踪的目的-Implementation of logistics information system signing back to a single management, automatic tracking of the customer to track the purpose of signing
- 2022-03-05 00:17:44下载
- 积分:1
-
wm_copydata展示间
展示wm_copydata在进程间通信的应用-wm_copydata display in the inter-process communication application
- 2022-01-25 16:48:09下载
- 积分:1
-
目录遍历,每发现一个文件提供处理函数,方便遍历中的处理
目录遍历,每发现一个文件提供处理函数,方便遍历中的处理-Directory traversal, each found in a document processing function to facilitate the traversal of the treatment
- 2023-06-12 22:40:03下载
- 积分:1