⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testwdm3.vbs

📁 windows wdm 设备驱动开发指南(武安河)
💻 VBS
字号:
REM Note that missing classes in log file mean tthe hat WMI cannot access them.REM Most likely this indicates a problem with the driver.REM See %windir%\system32\wbem\wmiprov.log and nt eventlog for more details.REM You could also delete the line On Error Resume Next and examine theREM specific VBScript errorOn Error Resume NextSet fso = CreateObject("Scripting.FileSystemObject")Set a = fso.CreateTextFile("hex.log", True)Set Service = GetObject("winmgmts:{impersonationLevel=impersonate}!root/wmi")Rem Wdm3Information - Wdm3 informationSet enumSet = Service.InstancesOf ("Wdm3Information")a.WriteLine("Wdm3Information")for each instance in enumSet    a.WriteLine("    InstanceName=" & instance.InstanceName)    a.WriteLine("        instance.BufferLen=" & instance.BufferLen)    a.WriteLine("        instance.BufferFirstWord=" & instance.BufferFirstWord)    a.WriteLine("        instance.SymbolicLinkName=" & instance.SymbolicLinkName)next 'instancea.CloseWscript.Echo "hex Test Completed, see hex.log for details"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -