随笔分类 -  Windows

Windows overlay icon
摘要:https://developpaper.com/how-to-create-overlay-icon/ https://stackoverflow.com/questions/5817380/overlays-icon-on-different-files-based-on-statuses ht 阅读全文

posted @ 2021-01-20 14:12 liujx2019 阅读(110) 评论(0) 推荐(0)

Windows API 获取网卡的MAC地址,GetAdaptersInfo function (iphlpapi.h)
摘要:https://docs.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-getadaptersinfo 要调用两次。 第一次调用失败,但是可以获取所需的buffer大小,按所获得的大小分配空间。 第二次获得一个链表,每个节点指向 阅读全文

posted @ 2021-01-06 18:15 liujx2019 阅读(1433) 评论(0) 推荐(0)

extern (C++) MSDN
摘要:https://docs.microsoft.com/en-us/cpp/cpp/extern-cpp?view=msvc-160 阅读全文

posted @ 2020-12-24 17:55 liujx2019 阅读(92) 评论(0) 推荐(0)

Windows 加密函数 只能用于本机同一个用户名密码
摘要:CryptProtectData CryptUnprotectData 阅读全文

posted @ 2020-12-24 17:53 liujx2019 阅读(100) 评论(0) 推荐(0)

[编译错误:warning C4005]ws2def.h(91): warning C4005: “AF_IPX”: 宏重定义 winsock.h(460) : 参见“AF_IPX”的前一个定义
摘要:By taotaoyouarebaby 出处:https://blog.csdn.net/taotaoyouarebaby/article/details/25156861 【问题】 ws2def.h(91): warning C4005: “AF_IPX”: 宏重定义; winsock2.h(46 阅读全文

posted @ 2020-12-23 17:52 liujx2019 阅读(699) 评论(0) 推荐(0)

Windows Error Reporting, Mini dump 2, Full dump 1
摘要:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\xxx.exe DumpType Specify one of the following dump types: 0: Custom d 阅读全文

posted @ 2020-12-16 16:16 liujx2019 阅读(131) 评论(0) 推荐(0)

“listening” to file changes in C/C++ (on Windows)
摘要:Absolutely. See FindFirstChangeNotification, ReadDirectoryChangesW, Example. https://stackoverflow.com/questions/1083372/listening-to-file-changes-in- 阅读全文

posted @ 2020-10-30 10:45 liujx2019 阅读(64) 评论(0) 推荐(0)

如何导出 Windows EventLog
摘要:Saving Events to a Log File https://docs.microsoft.com/en-us/windows/win32/wes/saving-events-to-a-log-file 阅读全文

posted @ 2020-10-27 15:59 liujx2019 阅读(554) 评论(0) 推荐(0)

winsock server 示例代码中 shutdown 的选项
摘要:When the server is done sending data to the client, the shutdown function can be called specifying SD_SEND to shutdown the sending side of the socket. 阅读全文

posted @ 2020-09-16 18:03 liujx2019 阅读(193) 评论(0) 推荐(0)

winsock 的 SO_REUSEADDR 选项
摘要:by Nikolai Fetissov First, make sure you set SO_REUSEADDR option on the server socket to be able to re-start listening. Then, I'm guessing, your probl 阅读全文

posted @ 2020-09-16 18:01 liujx2019 阅读(340) 评论(0) 推荐(0)

Windows 按键
摘要:SendKeys in C++ https://www.codeproject.com/articles/6819/sendkeys-in-c Elias Bachaalany Rate this: 4.87 (127 votes) 4.87 (127 votes) 14 Jun 2004 A C+ 阅读全文

posted @ 2020-09-16 13:48 liujx2019 阅读(199) 评论(0) 推荐(0)

[Windows]模拟按键
摘要:Find the handle to the button that you want to click (by using FindWindowEx), and just send click message: SendMessage(hButton, WM_LBUTTONDOWN, MK_LBU 阅读全文

posted @ 2020-09-16 13:31 liujx2019 阅读(381) 评论(0) 推荐(0)

0xC0000006
摘要:Applications crash or become unresponsive if another user logs off a Remote Desktop session in Windows Server 2012/R2 or Windows Server 2008/R2 09/08/ 阅读全文

posted @ 2020-09-14 10:38 liujx2019 阅读(508) 评论(0) 推荐(0)

Windows API 获取 WIFI 信号强度 (C++)
摘要:WlanQueryInterface function https://docs.microsoft.com/zh-cn/windows/win32/api/wlanapi/nf-wlanapi-wlanqueryinterface?redirectedfrom=MSDN 2018/12/05 Th 阅读全文

posted @ 2020-09-02 15:35 liujx2019 阅读(1441) 评论(0) 推荐(0)

windows 进程参数查看
摘要:在windows下查看某个运行程序(或进程)的命令行参数使用下面的命令:wmic process get caption,commandline /value 如果想查询某一个进程的命令行参数,使用下列方式:wmic process where caption=”svchost.exe” get c 阅读全文

posted @ 2020-08-25 16:35 liujx2019 阅读(400) 评论(0) 推荐(0)

Resource monitor 内存 commit private 涵义
摘要:The Memory tab's Processes section displays key metrics related to how the system's processes use memory. Here's information about the metrics: Image. 阅读全文

posted @ 2020-08-18 17:19 liujx2019 阅读(187) 评论(0) 推荐(0)

Exception code: 0xE0434352
摘要:0xE0434352 is the exception code for all .NET exceptions so that won't tell you much. How did you got this exception code? The event log? Your best be 阅读全文

posted @ 2020-07-28 15:40 liujx2019 阅读(862) 评论(0) 推荐(0)

Milestone 不能卸载,修复 Counter 即可
摘要:XProtect installer may fail with the error "Category does not exist" or "Cannot load Counter Name data because an invalid index" When running the XPro 阅读全文

posted @ 2020-07-17 18:13 liujx2019 阅读(393) 评论(0) 推荐(0)

GE 遇到的 UAC 导致不能自动启动的问题
摘要:iFix Is Not Starting Automatically On Windows 10 Id: 000019222 Average User Rating: (*) (*) (*) ( ) ( ) Your Rating: (*) ( ) ( ) ( ) ( ) Last Updated: 阅读全文

posted @ 2020-07-13 16:44 liujx2019 阅读(206) 评论(0) 推荐(0)

关于 UAC,Mark Russinovich on the Future of Security
摘要:https://www.eweek.com/security/mark-russinovich-on-the-future-of-security Windows IT people everywhere owe thanks to Dr. Mark Russinovich, now a techn 阅读全文

posted @ 2020-07-13 16:40 liujx2019 阅读(147) 评论(0) 推荐(0)

导航