2019年3月19日

[Windows] Diskpart Scripts and Examples

摘要: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/diskpart-scripts-and-examples 阅读全文

posted @ 2019-03-19 18:12 liujx2019 阅读(165) 评论(0) 推荐(0) 编辑

[Windows] 对于 mount 到文件夹路径下的分区,也可以使用 GetDiskFreeSpaceExA 函数

摘要: 如题 阅读全文

posted @ 2019-03-19 18:11 liujx2019 阅读(306) 评论(0) 推荐(0) 编辑

[Windows] DiskPart commands

摘要: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/diskpart 阅读全文

posted @ 2019-03-19 18:10 liujx2019 阅读(133) 评论(0) 推荐(0) 编辑

[Windows] 如何用编程的方式格式化硬盘

摘要: If memory serves, you're looking for SHFormatDrive(). Use the Format method of the Win32_Volume class. Details here. If memory serves, you're looking 阅读全文

posted @ 2019-03-19 18:06 liujx2019 阅读(357) 评论(0) 推荐(0) 编辑

Windows API Index

摘要: https://docs.microsoft.com/en-us/windows/desktop/apiindex/windows-api-list 阅读全文

posted @ 2019-03-19 13:13 liujx2019 阅读(223) 评论(0) 推荐(0) 编辑

[Qt] QlineEdit 限制输入,例如只能输入整数

摘要: 要注意validor的作用域,如果超出作用域,则会无效。例如下面的代码,在UI的类的构造函数里。所以要new一个validtor. 或者 阅读全文

posted @ 2019-03-19 09:27 liujx2019 阅读(7360) 评论(0) 推荐(1) 编辑

导航