-
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
-
一个在windows上实现的看门狗。是软看门构。
一个在windows上实现的看门狗。是软看门构。-one of the windows on the realization of the watchdog. Soft structure is the gatekeeper.
- 2022-05-18 11:03:58下载
- 积分:1
-
通过使用winio驱动,实现对IO端口地读写。
通过使用winio驱动,实现对IO端口地读写。-By using winio drive, realize the IO port to read and write.
- 2022-04-24 12:59:06下载
- 积分:1
-
time clipboard viewer, you can view the clipboard last time access to the conten...
剑灵时空剪贴板查看器,可以查看剪贴板中最后一次获取的内容。是从剪贴板中调取信息的一个简单实例,通过这个实例,你可以学习到剪贴板的基本使用方法。 密码:www.swordelf.com(已经停用) 作者:剑灵 2003.3-time clipboard viewer, you can view the clipboard last time access to the content. From clipboard transfer of information a simple example, through this example, you can learn the basic clipboard to use. Password : www.swordelf.com (already out) Author : Jian Ling 2003.3
- 2022-11-18 10:45:03下载
- 积分:1
-
这是一个很好的动态链接库(dll)实例
这是一个很好的动态链接库(dll)实例-This is a good dynamic link library (dll) Example
- 2022-03-20 23:28:19下载
- 积分:1
-
替换windows的rsh服务的程序
替换windows的rsh服务的程序-Program which can replace the windows rsh service
- 2023-04-11 04:05:04下载
- 积分:1
-
millisecond time procedure
毫秒计时程序-millisecond time procedure
- 2023-09-03 06:40:03下载
- 积分:1
-
本程序实现了简单的注册表操作。 具体有编辑目录,键值,指定开机运行程序等。...
本程序实现了简单的注册表操作。 具体有编辑目录,键值,指定开机运行程序等。-realized by the simple operation of the registry. Specific editorial directory, keys, the designated boot operating procedures.
- 2022-01-26 03:33:28下载
- 积分:1
-
深入浅出动态库编程,文章详细介绍了动态库的理论,以及如何进行动态库编程...
深入浅出动态库编程,文章详细介绍了动态库的理论,以及如何进行动态库编程-Dynamic Library Programming in layman
- 2022-07-16 00:53:42下载
- 积分:1
-
简单的动态链接库实现!里面包含两种调用方式显示和隐式!...
简单的动态链接库实现!里面包含两种调用方式显示和隐式!-Simple realization of the dynamic link library! Which contains two types of call display and implicit way!
- 2022-02-18 16:34:14下载
- 积分:1