登录
首页 » Windows核心 » 详细的介绍了用windows API 函数编写串口通信的过程

详细的介绍了用windows API 函数编写串口通信的过程

于 2022-10-17 发布 文件大小:52.72 kB
0 191
下载积分: 2 下载次数: 1

代码说明:

详细的介绍了用windows API 函数编写串口通信的过程-Detailed introduction of the use of windows API function to prepare the process of serial communication

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • vb写的键盘纪录,简单,界面不错。对有兴趣的人可以参考一下。...
    vb写的键盘纪录,简单,界面不错。对有兴趣的人可以参考一下。----vb写的键盘记录----。-vb written record keyboard, simple interface well. For those who are interested in for reference. Vb-written records-keyboard.
    2022-08-19 15:35:49下载
    积分:1
  • a registered user login system, a very practical, but not a nobody
    一个用户注册登录系统,很实用,不知有没有人需要-a registered user login system, a very practical, but not a nobody
    2022-06-20 19:35:01下载
    积分: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
  • 用vc来操作excel 读取写入等功能 需要安装xml2.0 parser
    用vc来操作excel 读取写入等功能 需要安装xml2.0 parser-Vc to operate with read write excel functions need to install xml2.0 parser
    2022-03-31 17:17:57下载
    积分:1
  • 输入任意错误代码后显示其含义,有利于调试程序时了解出错原因...
    输入任意错误代码后显示其含义,有利于调试程序时了解出错原因-After the importation of any error codes show its meaning is conducive to understanding the debugger when an error causes
    2023-01-18 20:50:04下载
    积分:1
  • a teach you how to conceal the source process
    一个教你如何隐藏进程的源程序-a teach you how to conceal the source process
    2022-03-15 01:26:42下载
    积分:1
  • 教你如何做托盘~可以参考代码~teach you how to make the bottom ico
    教你如何做托盘~可以参考代码~teach you how to make the bottom ico-Teach you how to do so can refer to the code tray ~ ~ teach you how to make the bottom ico
    2022-12-12 11:35:03下载
    积分:1
  • 一个经典的管道例子,可实现DOS窗口中输入命令后输出的重定向...
    一个经典的管道例子,可实现DOS窗口中输入命令后输出的重定向-a classic example of the pipeline, can be realized DOS command window input output redirect
    2022-04-24 17:21:10下载
    积分:1
  • 嵌入进windows自带的任务管理器,增强任务管理器功能,强
    嵌入进windows自带的任务管理器,增强任务管理器功能,强-embedded into Microsoft"s Windows task manager, task management to enhance functionality, strong
    2023-08-15 04:10:03下载
    积分:1
  • Socket TCP UDP
    2022-11-19 11:55:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载