摘要:
一般要包括#include 创建进程 1 bool CSysInfoHelper::RunProcess(const CString &commandLine, bool isWait, WORD showWindow, DWORD dwMilliseconds) 2 { 3 /* 4 ... 阅读全文
摘要:
1 // 启动GDI+,DestroyWindow函数进行析构2 GdiplusStartup(&m_ulGdiplusToken, &m_tGdiplusStartupInput, NULL);3 ... ...4 // 停止GDI+5 GdiplusShutdow... 阅读全文
摘要:
获取当前进程是否是其它进程的子进程(这边如当前进程是否是Excel的)// 获得当前进程信息 1 HMODULE hModule = LoadLibrary(L"NTdll.dll"); 2 if (hModule) 3 { 4 NTSTAT... 阅读全文