资源简介
winio 3.0版本 内含WinIo64.dll、WinIo64.sys、WinIo32.dll、WinIo32.sys
代码片段和文件信息
// ---------------------------------------------------- //
// WinIo v3.0 //
// Direct Hardware Access Under Windows //
// Copyright 1998-2010 Yariv Kaplan //
// http://www.internals.com //
// ---------------------------------------------------- //
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace DumpPhys
{
public unsafe partial class Form1 : Form
{
[DllImport(“kernel32.dll“)]
private extern static IntPtr LoadLibrary(String DllName);
[DllImport(“kernel32.dll“)]
private extern static IntPtr GetProcAddress(IntPtr hModule String ProcName);
[DllImport(“kernel32“)]
private extern static bool FreeLibrary(IntPtr hModule);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
private delegate bool InitializeWinIoType();
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
private delegate bool GetPhysLongType(IntPtr PhysAddr UInt32 *pPhysVal);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
private delegate bool SetPhysLongType(IntPtr PhysAddr UInt32 PhysVal);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
private delegate bool ShutdownWinIoType();
IntPtr hMod;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender EventArgs e)
{
// Check if this is a 32 bit or 64 bit system
if (IntPtr.Size == 4)
{
hMod = LoadLibrary(“WinIo32.dll“);
txtPhysAddr.MaxLength = 8;
txtPhysAddr.Text = “00000000“;
}
else if (IntPtr.Size == 8)
{
hMod = LoadLibrary(“WinIo64.dll“);
txtPhysAddr.MaxLength = 16;
txtPhysAddr.Text = “0000000000000000“;
}
if (hMod == IntPtr.Zero)
{
MessageBox.Show(“Can‘t find WinIo dll.\nMake sure the WinIo library files are located in the same directory as your executable file.“ “DumpPhys“ MessageBoxButtons.OK MessageBoxIcon.Error);
this.Close();
}
IntPtr pFunc = GetProcAddress(hMod “InitializeWinIo“);
if (pFunc != IntPtr.Zero)
{
InitializeWinIoType InitializeWinIo = (InitializeWinIoType)Marshal.GetDelegateForFunctionPointer(pFunc typeof(InitializeWinIoType));
bool Result = InitializeWinIo();
if (!Result)
{
MessageBox.Show(“Error returned from InitializeWinIo.\nMake su
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 13312 2017-07-05 11:27 winio-master\Binaries\DumpPhys.exe
....... 13312 2017-07-05 11:27 winio-master\Binaries\DumpPort.exe
....... 45568 2017-07-05 11:27 winio-master\Binaries\WinIo32.dll
....... 6656 2017-07-05 11:27 winio-master\Binaries\WinIo32.sys
....... 44544 2017-07-05 11:27 winio-master\Binaries\WinIo64.dll
....... 10920 2017-07-05 11:27 winio-master\Binaries\WinIo64.sys
....... 60620 2017-07-05 11:27 winio-master\Help\WinIo.chm
....... 49 2017-07-05 11:27 winio-master\README.md
文件 5879 2017-07-05 11:27 winio-master\Samples\DumpPhys\Backup\DumpPhys\DumpPhys.csproj
文件 389 2017-07-05 11:27 winio-master\Samples\DumpPhys\Backup\DumpPhys\DumpPhys.manifest
文件 5801 2017-07-05 11:27 winio-master\Samples\DumpPhys\Backup\DumpPhys\Form1.cs
文件 7705 2017-07-05 11:27 winio-master\Samples\DumpPhys\Backup\DumpPhys\Form1.Designer.cs
文件 5814 2017-07-05 11:27 winio-master\Samples\DumpPhys\Backup\DumpPhys\Form1.resx
文件 475 2017-07-05 11:27 winio-master\Samples\DumpPhys\Backup\DumpPhys\Program.cs
文件 1293 2017-07-05 11:27 winio-master\Samples\DumpPhys\Backup\DumpPhys\Properties\AssemblyInfo.cs
文件 2843 2017-07-05 11:27 winio-master\Samples\DumpPhys\Backup\DumpPhys\Properties\Resources.Designer.cs
文件 5612 2017-07-05 11:27 winio-master\Samples\DumpPhys\Backup\DumpPhys\Properties\Resources.resx
文件 1089 2017-07-05 11:27 winio-master\Samples\DumpPhys\Backup\DumpPhys\Properties\Settings.Designer.cs
文件 249 2017-07-05 11:27 winio-master\Samples\DumpPhys\Backup\DumpPhys\Properties\Settings.settings
文件 1268 2017-07-05 11:27 winio-master\Samples\DumpPhys\Backup\DumpPhys.sln
..A..H. 24576 2017-07-05 11:27 winio-master\Samples\DumpPhys\Backup\DumpPhys.v12.suo
文件 13824 2018-06-19 17:54 winio-master\Samples\DumpPhys\DumpPhys\bin\Release\DumpPhys.exe
文件 22016 2018-06-19 17:54 winio-master\Samples\DumpPhys\DumpPhys\bin\Release\DumpPhys.pdb
文件 22704 2018-06-19 17:57 winio-master\Samples\DumpPhys\DumpPhys\bin\Release\DumpPhys.vshost.exe
文件 389 2017-07-05 11:27 winio-master\Samples\DumpPhys\DumpPhys\bin\Release\DumpPhys.vshost.exe.manifest
文件 45568 2017-07-05 11:27 winio-master\Samples\DumpPhys\DumpPhys\bin\Release\WinIo32.dll
文件 6656 2017-07-05 11:27 winio-master\Samples\DumpPhys\DumpPhys\bin\Release\WinIo32.sys
文件 44544 2017-07-05 11:27 winio-master\Samples\DumpPhys\DumpPhys\bin\Release\WinIo64.dll
文件 10920 2017-07-05 11:27 winio-master\Samples\DumpPhys\DumpPhys\bin\Release\WinIo64.sys
文件 5979 2018-06-19 17:52 winio-master\Samples\DumpPhys\DumpPhys\DumpPhys.csproj
............此处省略79个文件信息
- 上一篇:天线选择算法
- 下一篇:北京市主要道路国道shp文件
相关资源
- 连接webservice数据接口,获取数据的小
- 资源管理器
- 喜马拉雅音频修改器有源码
- WinIo3.0完整版
- winio官方zip包
- WinIo 2.0 & 3.0
- Winio3.0完整版_支持64位操作系统
- .net考勤管理系统完整源码
- 航班管理系统
- 有道API翻译Demo
- 航班查询预订系统
- 随机播放模式的实现
- DesignerHosting
- 驱动级鼠标键盘模拟含最新WinIo资源及
- SVG批量转图片小工具
- winIO3.0源码案例
- devexpress7.1 winfrom控件破解版
- 魔兽世界挂机工具原创+源码可以后台
- 谷歌嵌入式浏览器(cef) CefSharp 73.
- 定时获取支付宝订单监控源码
- 树状表格TreeGridView自定义控件,源码
- 餐饮管理系统源程序.rar
- devexpress控件使用详细说明
- ico图标 32X32 48X48
- WinIo3.0代码
- WinIo资源,包含全部WinIo的文件
- 使用WinIo获取CPU温度
- DevExpress-18.2.4(18所有版本)破解补丁
- 32位和64位系统使用的WinIo3.0
- winform开源ribbon控件源码
评论
共有 条评论