救命!如何在Windows 7上安装Ihvsample.dll和ihvsampleUI.dll [英] help! how to install Ihvsample.dll and ihvsampleUI.dll on windows 7
问题描述
我是初学者。通过我在MSDN上搜索 ,我不知道如何安装ihvsample.dll和ihvsampleUI.dll。我已经根据MSDN更改了我的inf文件,
但它不起作用。可能有人给我一些建议!
谢谢!
来自原生Wifi IHV服务 [ ^ ]
安装
常规
编译样本后,必须将二进制文件复制到目标系统,并将它们与匹配的支持Native Wifi的适配器关联起来。您可以通过在INF文件的DDInstall部分中添加适当的
CopyFiles指令来复制二进制文件,以便安装适配器。您可以通过在INF文件的DDInstall部分添加适当的AddReg指令来关联二进制文件
来安装适配器。
CopyFiles指令
CopyFiles指令应该命名一个File-List-Section。这部分的内容应该是
以下:
IHVSpecifiedDLLName ,,, 2
IHVSpecifiedOtherFile ,,, 2
DestinationDirs部分应该有一个关联条目,指定要将文件复制到b
的目的地。此部分应具有如下之一的指令:
File-List-Section = 11; \ system32目录
DefaultDestDir = 11; \ system32目录
AddReg指令
AddReg指令应该命名一个Add-Registry-Section。
Miniport INF文件的内容必须包含以下内容,以便启动正确的IHV服务
:
HKR,Ndi \ IHVExtensions,ExtensibilityDLL,0,%SystemRoot%\ systemL \ _hhvExt.dll
此注册表项用于确定
IHVSample.dll 的位置。
HKR,Ndi \ IHVExtensions,UIExtensibilityCLSID,0,< CLSID>
此注册表项为用于确定扩展802.11
配置UI的COM接口的类ID。
HKR,Ndi \ IHVExtensions,GroupName,0,IHV提供的组名
HKR,Ndi \ IHVExtensions,AdapterOUI,0x00010001,0x00123456
此注册表项i用于在配置文件应用于适配器时验证OUI。如果注册表中的
AdapterOUI值为0x ?? 123456,则需要在配置文件中显示如下内容:
< OUIHeader> ;
< OUI> 123456< / OUI>
< type> ??< / type> ;
< / OUIHeader>
注意??代表忽略的位。
HKR,Ndi \ IHVExtensions,DiagnosticsID,0,< Diagnostics ID GUID>
卸载说明
要卸载此示例,必须撤消AddReg指令并撤消CopyFiles指令。
I < span class =code-leadattribute> am 尝试 运行 这些 native wifi extension samples as < span class =code-leadattribute>他们 Windows 7 示例 athwifi 找到 DDK src\\\
etworking \\ \
dis。 驱动程序 本身 working fine 。 我 access 无线网络跨度>。 但是, 应该 发生 一次 DLL 已安装 ? 我不参见 任何 < span class =code-leadattribute> wlanext 。 exe 已启动。 I 参见 任何 UI 增强 个人资料 配置 页。 DLL 安装 似乎 确定。
BTW , do do 我们 debug 这些 < span class =code-leadattribute> extension DLL ? it wlanext 。 exe 我们 attach to 或 start 来自 windbg ?
C:\> netsh wlan show drivers
Interface name: 无线 网络 连接
驱动程序 : Atheros AR5007EG 无线 网络 适配器 (Sampl
e)
供应商 : Atheros 通信 Inc 。
提供商 : Microsoft
日期 : 4/30/2009
版本 : 6 。 1 . 7000 。 0
INF file : C:\ Windows \INF \oem7。 inf
文件 : 4 total
C:\ Windows \system32 \DRIVERS \athwfpci。 sys
C:\ Windows \ system32 \DRIVERS \athhal。 sys
C:\ Windows \ system32 \ ihvsample。 dll
C:\ Windows \ system32 \IHVSampleUI。 dll
键入 : 原生 Wi-Fi 驱动程序
无线电 types 支持 : 802 。 11g 802 。< span class =code-leadattribute> 11b
FIPS 140-2 mode 支持 : 是
托管 network 支持 : 是
身份验证 和 cipher 支持 infrastructure mode:
打开 无
打开 WEP-40bit
共享 WEP-40位
打开 WEP-104bit
共享 WEP-104bit
打开 WEP
共享 <跨度 class =code-leadattribute> WEP
WPA-Enterprise TKIP
WPA-Personal TKIP
WPA2 -Enterprise TKIP
WPA2-Personal TKIP
WPA-Enterprise CCMP
WPA-Personal CCMP
WPA2-Enterprise CCMP
WPA2-Personal CCMP
身份验证 和 cipher 支持 ad-hoc mode:
打开 无
打开 WEP-40bit
打开 WEP -104bit
打开 WEP
WPA2-Personal CCMP
IHV service present : 是
IHV < span class =code-leadattribute> adapter OUI : [12 34 56],类型: [00]
IHV 可扩展性 DLL 路径: C:\ Windows \ system32 \ ihvs ample。 dll
IHV UI 可扩展性 ClSID: { 4a01f9f9-6012-4343-a8c4 -10b5df32672a }
IHV 诊断 CLSID : { 4a01f9f9-6012-4343-a8c4-10b5df32672a }
hi,
I am a beginner.Althrough I search on MSDN, i don't know how to install ihvsample.dll and ihvsampleUI.dll.I had change my inf file based on MSDN,
but it does not work .Could someone give me some advice!
Thanks!
From Native Wifi IHV Service[^]
Installation
General
After the sample is compiled, you must copy the binaries on to the target system and associate them
with the matching Native Wifi-capable adapter. You can copy the binaries by adding an appropriate
CopyFiles directive in the DDInstall section in the INF file for installing the adapter. You can
associate the binaries by adding an appropriate AddReg directive in the DDInstall section in the INF file
for installing the adapter.
CopyFiles Directive
The CopyFiles Directive should name a File-List-Section. The contents of this section should have the
following:
IHVSpecifiedDLLName,,,2
IHVSpecifiedOtherFile,,,2
There should be an associated entry in the DestinationDirs section that specifies the destination to
copy the file to. This section should have a directive like one of the following:
File-List-Section= 11 ; \system32 directory
DefaultDestDir= 11 ; \system32 directory
AddReg Directive
The AddReg directive should name an Add-Registry-Section.
The contents of the Miniport INF file must include the following, in order for the correct IHV Service
to be started:
HKR,Ndi\IHVExtensions, ExtensibilityDLL,0,"%SystemRoot%\system32\IhvExt.dll"
This registry key is used to determine the location of the
IHVSample.dll.
HKR,Ndi\IHVExtensions,UIExtensibilityCLSID,0, "<CLSID>"
This registry key is used to determine the class ID of the COM interface that extends the 802.11
configuration UI.
HKR,Ndi\IHVExtensions,GroupName,0, "IHV provided group name"
HKR,Ndi\IHVExtensions, AdapterOUI, 0x00010001, 0x00123456
This registry key is used to verify the OUI when the profile is applied to the adapter. If the
AdapterOUI value is 0x??123456 in the registry, it needs to look like the following in the profile:
<OUIHeader>
<OUI>123456</OUI>
<type>??</type>
</OUIHeader>
Note that ?? stands for bits ignored.
HKR,Ndi\IHVExtensions, DiagnosticsID,0, "<Diagnostics ID GUID>"
Uninstallation Instructions
To uninstall this sample, you must undo the AddReg directive and undo the CopyFiles directive.
I am trying to run these native wifi extension samples as they are on Windows 7 along with the sample athwifi found in DDK src\networking\ndis. Driver itself is working fine. I can access wifi. But, what should happen once the DLLs are installed ? I don't see any wlanext.exe started. Neither do I see any UI enhancements in the profile configuration pages. DLL installation seems ok. BTW, how do we debug these extension DLLs ? Is it wlanext.exe that we attach to or start from windbg ? C:\>netsh wlan show drivers Interface name: Wireless Network Connection Driver : Atheros AR5007EG Wireless Network Adapter (Sampl e) Vendor : Atheros Communications Inc. Provider : Microsoft Date : 4/30/2009 Version : 6.1.7000.0 INF file : C:\Windows\INF\oem7.inf Files : 4 total C:\Windows\system32\DRIVERS\athwfpci.sys C:\Windows\system32\DRIVERS\athhal.sys C:\Windows\system32\ihvsample.dll C:\Windows\system32\IHVSampleUI.dll Type : Native Wi-Fi Driver Radio types supported : 802.11g 802.11b FIPS 140-2 mode supported : Yes Hosted network supported : Yes Authentication and cipher supported in infrastructure mode: Open None Open WEP-40bit Shared WEP-40bit Open WEP-104bit Shared WEP-104bit Open WEP Shared WEP WPA-Enterprise TKIP WPA-Personal TKIP WPA2-Enterprise TKIP WPA2-Personal TKIP WPA-Enterprise CCMP WPA-Personal CCMP WPA2-Enterprise CCMP WPA2-Personal CCMP Authentication and cipher supported in ad-hoc mode: Open None Open WEP-40bit Open WEP-104bit Open WEP WPA2-Personal CCMP IHV service present : Yes IHV adapter OUI : [12 34 56], type: [00] IHV extensibility DLL path: C:\Windows\system32\ihvsample.dll IHV UI extensibility ClSID: {4a01f9f9-6012-4343-a8c4-10b5df32672a} IHV diagnostics CLSID : {4a01f9f9-6012-4343-a8c4-10b5df32672a}
这篇关于救命!如何在Windows 7上安装Ihvsample.dll和ihvsampleUI.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!