首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏FreeBuf

    命令行下的“蒙面歌王”rundll32.exe

    HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Run,KAVRun,0x00000000,c:/muma.exe 然后我们运行 rundll32.exe setupapi [My_DelReg_Name]HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Run,KAVRun 运行以下命令就可以删掉了 rundll32.exe setupapi 它和setupapi之间只有一个逗号,没有空格。128表示给定路径,该参数其他取值及含义参见MSDN。特别注意,最后一个参数,必须是inf文件的全路径,不要用相对路径。 rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 c:/srv.inf 几点说明: ServiceType表示服务类型:0x10为独立进程服务 Signature="$WINDOWS NT$"[DefaultInstall.Services]DelService=inetsvr 执行完以下命令就会删掉了 rundll32.exe setupapi

    1.7K90发布于 2018-02-07
  • C/C++ 实现遍历当前设备

    include <cstdlib> #include <string> #include <mutex> #include <atlbase.h> #include <atlconv.h> #include <SetupAPI.h 无法解析的外部符号 HidD_GetAttributes、HidD_GetHidGuid } #pragma comment(lib,"hid.lib") #pragma comment(lib,"Setupapi.lib

    1K00编辑于 2022-12-28
  • 来自专栏J博士的博客

    error LNK2019: 无法解析的外部符号

    再查看自己的程序源代码哪些符号没有解析,其中一个函数是SetupDiGetClassDevs,然后上网查到这个函数包含在setupapi.lib中,所以需要在VS2013的链接器设置中添加这个库文件。

    4.2K10发布于 2020-03-12
  • 来自专栏Windows技术交流

    渲染业务镜像优化

    null del "C:\cvm_init.log" 2>$null del "C:\Windows\Logs\WindowsUpdate\*" 2>$null del "C:\Windows\INF\setupapi.dev.log " 2>$null del "C:\Windows\INF\setupapi.setup.log" 2>$null del "C:\Windows\INF\setupapi.setup.log" 2>$ null del "C:\Windows\INF\setupapi*.log" 2>$null $NICName=(Get-WmiObject Win32_NetworkAdapter -Filter

    96150编辑于 2024-10-28
  • 来自专栏全栈程序员必看

    解决主页被 hao.360.cn 劫持 及 分析[通俗易懂]

    通过C:\WINDOWS\setupapi.log 可以看出如下信息. 流氓软件;首先创建了 拦截驱动 ,然后将拦截驱动安装启动。

    7.1K20编辑于 2022-09-17
  • 来自专栏花狗在Qt

    QT使用windowsAPI函数提示error LNK2019: 无法解析的外部符号 该符号在函数 _main 中被引用解决方案

    参考博文:Qt调用头文件setupapi.h的函数SetupDiGetClassDevs()编译出错

    5.1K20发布于 2021-01-13
  • 来自专栏Windows技术交流

    系统里有多套nvidia显卡驱动nvlddmkm.sys可能会有nvidia-smi.exe位置变化的困惑

    图片发现旧的版本突然消失,是由于系统触发了Device and Driver Disk Cleanup,会检测到系统中不需要的设备或驱动,oem7.inf(这个case中是oem7.inf,如C:\Windows\INF\setupapi.dev.log 由于每个驱动都有自己的底层逻辑,Windows只能从C:\Windows\INF\setupapi.dev.log日志看到驱动的安装和卸载过程,关于显卡驱动和nvidia-smi.exe会如何去匹配,这种情况还是建议咨询下

    4.3K50编辑于 2022-08-19
  • 来自专栏林德熙的博客

    推荐官方开源 PInvoke 库 包含大量 win32 封装

    Installation ntdll.dll PInvoke.NTDll Windows NTDll psapi.dll PInvoke.Psapi Windows Process Status API setupapi.dll PInvoke.SetupApi Windows setup API SHCore.dll PInvoke.SHCore Windows Shell shell32.dll PInvoke.Shell32

    1.7K20发布于 2020-07-28
  • 来自专栏walterlv - 吕毅的博客

    Windows 10 自带那么多图标,去哪里找呢?

    networkexplorer.dll %systemroot%\system32\pnidui.dll %systemroot%\system32\sensorscpl.dll %systemroot%\system32\setupapi.dll pnidui.dll 不要被这些空白迷惑了,这都是白色的网络指示图标(有线、无线、飞行模式等) ▲ sensorscpl.dll 各种传感器图标(如温度、亮度、声音、指纹、地理位置等) ▲ setupapi.dll

    6.1K10发布于 2018-09-18
  • 来自专栏全栈程序员必看

    windows驱动开发教程_windows内核驱动开发

    在驱动的安装过程中,系统会自动记录安装的日志,在INF目录(路径一般在 C:\Windows\inf下)下可以找到两个日志文件 setupapi.app.log 和 Setupapi.dev.log ,

    2.5K21编辑于 2022-09-27
  • 来自专栏四月天的专栏

    Windows设备信息获取:(摄像头,声卡为例)Qt,WindowsAPI对比说明(1)

    系统环境 Windows:Win10 Qt:5.8.5 VS:vs2013 相关资料 USB 获取设备VID,HID windows SetupAPI 介绍和使用 获取指定USB设备的VID PID 注意事项: SetupAPI.lib库记得添加到附加库目录,否则会提示为未识别符号。 因为在源码里边没有包含,所以需要注意自己手动在附加库里边添加。 hid.c里边添加 #pragma comment(lib,"SetupAPI.lib"); 因为只是查询设备信息,所以只用了一下几个相关函数: int HID_API_EXPORT hid_init( 0x30) * 16 * 16 * 16 + (szDIS[18] - 0x30) * 16 * 16 + (szDIS[19] - 0x30) * 16 + (szDIS[20] - 0x30); setupAPI

    2.8K20编辑于 2023-03-10
  • 来自专栏全栈程序员必看

    驱动开发利器Microsoft Windows Driver Kit 7.1.0下载

    hidsdi.h hidusage.h hidpi.h 从NTDDK\libchk\i386拷贝hid.lib,在PROJECT SETTING中添加hid.lib setupapi.lib

    1.1K10编辑于 2022-07-15
  • 来自专栏Dotnet9

    【推荐】.NET类库“Vanara”:简单易用的Windows API封装库

    Vanara.PInvoke.Rpc[50] RstrtMgr.dll Vanara.PInvoke.RstrtMgr[51] SearchApi Vanara.PInvoke.SearchApi[52] SetupAPI.dll Vanara.PInvoke.SetupAPI[53] SHCore.dll Vanara.PInvoke.SHCore[54] shell32.dll, url.dll Vanara.PInvoke.Shell32 https://github.com/dahall/Vanara/blob/master/PInvoke/SearchApi/CorrelationReport.md [53] Vanara.PInvoke.SetupAPI : https://github.com/dahall/Vanara/blob/master/PInvoke/SetupAPI/CorrelationReport.md [54] Vanara.PInvoke.SHCore

    2.5K10发布于 2021-12-01
  • 来自专栏技术杂记

    不用inf安装ndis filter驱动

    CRT_SECURE_NO_WARNINGS#include <winsock2.h>#include <netioapi.h>#include <stdio.h>#include <Shlwapi.h>#include <setupapi.h > #pragma comment(lib, "setupapi.lib")#pragma comment(lib, "iphlpapi.lib") DWORD OsVerMajor,OsVerMinor 数据里面没有刚注册的 NDIS Filter    //Config 读写位于 netcfgx.dll    //关键字 WRITING CONFIG BLOB 日志写入 C:\Windows\inf\setupapi.dev.log

    74130发布于 2021-08-10
  • 来自专栏全栈程序员必看

    gg修改器自动点击脚本_gg修改器变速教程

    11CF-AAFA-00AA00B6015C}\IsInstalled”, 0, “REG_DWORD” End If If X=6 OR Y=6 Then WshShell.Run (“rundll32.exe setupapi

    2.2K30编辑于 2022-10-04
  • C/C++ 获取 MAC 地址的几种方法

    stdio.h> #include <locale.h> #include <tchar.h> #include <windows.h> #include <shlwapi.h> #include <setupapi.h > #pragma comment(lib, "setupapi.lib") #include <devguid.h> #pragma comment(lib, "uuid.lib") #include

    1.8K21编辑于 2022-12-28
  • 来自专栏c#学习笔记

    C#进阶——记一次USB HID的各种坑(x86,x64,win10,win7)

    </param> /// <returns>a handle to a device information set </returns> [DllImport("setupapi.dll Otherwise, it returns FALSE </returns> [DllImport("setupapi.dll", CharSet = CharSet.Auto, SetLastError interface that meets the search parameters</param> /// <returns></returns> [DllImport("setupapi.dll device that supports the requested interface</param> /// <returns></returns> [DllImport("setupapi.dll

    3.5K30编辑于 2022-05-10
  • 来自专栏后端知识开放麦

    Java 读取 Windows 设备的唯一性标识及定位

    #include <windows.h> #include <setupapi.h> #include <stdio.h> extern "C" { __declspec

    1.2K20编辑于 2025-01-08
  • 来自专栏HACK学习

    干货 | Windows取证分析基础知识大全,赶快收藏!

    CurrentControlSet\Enum\USBSTOR • SYSTEM\CurrentControlSet\Enum\USB 2 插入/拔出时间 1)即插即用日志文件(第一次) XP: C:\Windows\setupapi.log Win7/8/10: C:\Windows\inf\setupapi.dev.log 2)(第一次,最后一次,拔出)(在Win7/8/10) System Hive: \CurrentControlSet

    5.5K50发布于 2020-03-27
  • 来自专栏前端达人

    7个高效的TypeScript工具类型,你会用了吗?

    AppConfig = ReturnType<typeof loadAppConfig>; // AppConfig 现在代表我们的配置对象类型,我们可以在应用程序的其他部分安全地使用该类型 function setupApi '启用' : '禁用'}`); } const config = loadAppConfig(); setupApi(config); 在这个例子中,我们定义了一个 loadAppConfig 函数,

    1.7K10编辑于 2024-06-26
领券