关于硬盘序列号 [英] About Hard disk serial Number

查看:93
本文介绍了关于硬盘序列号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

文章链接获取没有WMI的物理硬盘序列号 [ ^ ]

我读过这篇文章并希望在VS2010中运行相关代码但是当我想创建DriveInFoEx.Dll时,会显示以下消息

错误C2011:'_ SENDCMDOUTPARAMS ':'struct'type redefinitio unmanagedcode.h 105 1

错误C2011:'_ SENDCMDINPARAMS':'struct'类型重定义unmanagedcode.h 76 1









有什么问题?我运行本文中的评论和说明?我怎样才能解决这个问题?

你能为VS2010改变这篇文章的源代码吗?

解决方案

我希望这个链接是一个有点想法怎么做你想要的.. http://social.msdn.microsoft.com/Forums/en-US/88f5b55b-8fc1-4ab5-97c4-e6645ac2cb53/harddrive-serial-info?forum=vclanguage [ ^ ]

Article Link is Get Physical HDD Serial Number without WMI[^]
I read this article and want to Run related Code In VS2010 But when I Want to Create DriveInFoEx.Dll the below messages are shown
error C2011: '_SENDCMDOUTPARAMS' : 'struct' type redefinitio unmanagedcode.h 105 1
error C2011: '_SENDCMDINPARAMS' : 'struct' type redefinition unmanagedcode.h 76 1
.
.
.

what is problem? I run comments and instructions that are in this article? how can i resolve this problem?
Can you Change Source Code Of this Article for VS2010?

解决方案

I hope this link will be a bit idea how can done this as you want..http://social.msdn.microsoft.com/Forums/en-US/88f5b55b-8fc1-4ab5-97c4-e6645ac2cb53/harddrive-serial-info?forum=vclanguage[^]


这篇关于关于硬盘序列号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆