文件名称:getHDSN
- 所属分类:
- 系统编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 200kb
- 下载次数:
- 0次
- 提 供 者:
- 许**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
VC编写的DLL,可以获得硬盘的型号、序列号以及计算机 ID, 带Delphi的源程序,在Win2K下通过,但是没有在Win9X下试过, 感兴趣的朋友可以在Win9X 下试一下,或者编写一个VB的范例。 函数以及定义: function ReadPhysicalDrive(driveID:integer;buffer:Pointer;bufLen:integer):integer; stdcall; external DiskID.dll name ReadPhysicalDriveInNT ; 获得WinNT下的硬盘型号以及序列号。参数driveID为硬盘的位置, IDE1上的主盘为0,类推到IDE2上的从盘的driveID为3。 function ReadPhysicalDrive9X (driveID:integer;buffer:Pointer;bufLen:integer):integer; stdcall; external DiskID.dll name ReadDrivePortsInWin9X ; 获得Win9X下的硬盘型号以及序列号。参数同上 function getHardDriveComputerID:int64; stdcall; external DiskID.dll name getHardDriveComputerID ; 获得计算机的ID -VC prepared DLL, get the hard drive model, serial number and computer ID, with Delphi s source code, adopted in Win2K, but not under Win9X tried interested can try under Win9X, or prepare a VB example. Function as well as the definition: function ReadPhysicalDrive (driveID: integer buffer: Pointer bufLen: integer): integer stdcall external DiskID.dll name ReadPhysicalDriveInNT obtained under WinNT Model and serial number of the hard disk. DriveID parameters for the hard disk location, IDE1 on the main disk to 0, by analogy to IDE2 on driveID from the disk 3. function ReadPhysicalDrive9X (driveID: integer buffer: Pointer bufLen: integer): integer stdcall external DiskID.dll name ReadDrivePortsInWin9X obtained under Win9X Model and serial number of the hard disk. Ibid parameters function getHardDriveComputerID: int64 stdcall external DiskID.dll name getHardDriveComputerID access to the computer s ID
(系统自动生成,下载前可以参看下载内容)
下载文件列表
codechina.txt
DiskID.cpp
DiskID.def
DiskID.def.bak
DiskID.dsp
DiskID.dsw
DiskID.h
DiskID.ncb
DiskID.opt
DiskID.plg
diskid32.cpp
port32.h
ReadMe.txt
Release
.......\DiskID.dll
.......\diskidprj.cfg
.......\diskidprj.dof
.......\diskidprj.dpr
.......\diskidprj.exe
.......\diskidprj.res
.......\Unit1.dcu
.......\Unit1.dfm
.......\Unit1.pas
.......\Unit1.~dfm
.......\Unit1.~pas
StdAfx.cpp
StdAfx.h
winio.h
声明.html
新建 文本文档.txt
DiskID.cpp
DiskID.def
DiskID.def.bak
DiskID.dsp
DiskID.dsw
DiskID.h
DiskID.ncb
DiskID.opt
DiskID.plg
diskid32.cpp
port32.h
ReadMe.txt
Release
.......\DiskID.dll
.......\diskidprj.cfg
.......\diskidprj.dof
.......\diskidprj.dpr
.......\diskidprj.exe
.......\diskidprj.res
.......\Unit1.dcu
.......\Unit1.dfm
.......\Unit1.pas
.......\Unit1.~dfm
.......\Unit1.~pas
StdAfx.cpp
StdAfx.h
winio.h
声明.html
新建 文本文档.txt