25 lines
900 B
Plaintext
25 lines
900 B
Plaintext
/* for(int i=0;i<moduleInfoList.size();i++)
|
|
{
|
|
String strModuleFileName;
|
|
processAPI.getModuleFileName(processInfoList[index].processID(),moduleInfoList[i].module(),strModuleFileName);
|
|
|
|
MODULEINFO moduleInfo;
|
|
HANDLE hProcess;
|
|
|
|
hProcess=OpenProcess(PROCESS_QUERY_INFORMATION,false, processInfoList[index].processID().processID());
|
|
|
|
// processAPI.getModuleInformation(hProcess,moduleInfoList[i].module(),&moduleInfo,sizeof(MODULEINFO));
|
|
::CloseHandle(hProcess);
|
|
|
|
::OutputDebugString(strModuleFileName+String("\n"));
|
|
// ::OutputDebugString(moduleInfoList[i].moduleFileName());
|
|
} */
|
|
|
|
|
|
|
|
// Service::getInstance().startServiceControlDispatcher(serviceName);
|
|
// Service service;
|
|
// service.startServiceControlDispatcher();
|
|
// if(!serviceControlManager.startService(serviceName))
|
|
// ::OutputDebugString(serviceControlManager.getLastErrorCode()+String("\n"));
|