1、ParameterAnswer_Parse(...) 下 FlistParameterOffset.clear(); 出错(list<DWORD>.clear()) (https://blog.csdn.net/lazyclough/article/details/7547610) ZC:Qt中 ...
分类:
其他好文 时间:
2018-05-07 19:29:04
阅读次数:
168
在控制台程序的函数中使用ExitProcess函数,退出函数,调用者接收返回值: DWORD?nResult;
SHELLEXECUTEINFO?ShExeInfo?=?{?0?};
ShExeInfo.cbSize?=?sizeof(SHELLEXECUTEINFO);
ShExeInfo.fMask
分类:
其他好文 时间:
2018-05-02 13:11:45
阅读次数:
131
转载:http://raylinn.iteye.com/blog/570274 BOOL Result; // used to read bad DeviceIoControl calls DWORD szReturned; unsigned int SectorSize = 512; LARGE_ ...
分类:
其他好文 时间:
2018-04-17 15:11:36
阅读次数:
427
枚举计算机的所有打印机PRINTER_INFO_5*?prninfo?=?NULL;
void?CMFCApplication1Dlg::OnBnClickedButton8()
{
DWORD?dwNeeded=0,?dwReturned=0;
EnumPrinters(PRINTER_ENUM_LOCAL,?NULL,&
分类:
其他好文 时间:
2018-04-13 13:28:45
阅读次数:
170
一、分析上一篇程序的现象 我们先从 "上一篇" 文章中的最后一个程序开始分析。 c++ include include const unsigned int THREAD_NUM = 10; DWORD WINAPI ThreadFunc(LPVOID); int main() { printf(" ...
分类:
编程语言 时间:
2018-04-12 00:24:08
阅读次数:
275
HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\ DWORD: AllowInsecureGuestAuth Value: 1 ...
命名管道进程通信 效果:server读取client发送的字符串。 server: // named-pipe-server.cpp #include #include using namespace std; char buf[100]; HANDLE hpipe; DWORD rlen=0,wl ...
分类:
系统相关 时间:
2018-03-15 14:18:19
阅读次数:
222
一、禁止WindowsDefender开机启动regadd"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsDefender"/v"DisableAntiSpyware"/d1/tREG_DWORD/f重启电脑即可生效二、修改策略组/注册表屏蔽Win10升级解决方法regadd"HKEY_
修改远程桌面端口号3389修改reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp" /v "portnumber" /t REG_DWORD /d "37000" /freg add "HKE
分类:
其他好文 时间:
2018-03-01 19:59:02
阅读次数:
126
1、环境: 操作系统:Windows 10 x64 编译器:VS2015 2、关键函数 字段说明 _In_ HKEY hKey, 打开注册表项的句柄。 _In_ LPCTSTR lpSubKey, 一子项,此功能打开或创建名称。 _Reserved_ DWORD Reserved, 此参数已保留,必 ...