Home
last modified time | relevance | path

Searched refs:hProcess (Results 1 – 25 of 40) sorted by relevance

12

/aoo41x/main/sal/systools/win32/kill/
H A Dkill.cxx76 FARPROC WINAPI GetProcAddressEx( HANDLE hProcess, HMODULE hModule, LPCSTR lpProcName ) in GetProcAddressEx() argument
82 DWORD dwProcessId = GetProcessId( hProcess ); in GetProcAddressEx()
94 if ( EnumProcessModules( hProcess, ahModules, sizeof(ahModules), &cbNeeded ) ) in GetProcAddressEx()
148 static BOOL RaiseSignalEx( HANDLE hProcess, int sig ) in RaiseSignalEx() argument
150 DWORD dwProcessId = GetProcessId( hProcess ); in RaiseSignalEx()
408 HANDLE hProcess; in _tmain() local
411 hProcess = OpenProcess( PROCESS_TERMINATE | PROCESS_CREATE_THREAD | SYNCHRONIZE | in _tmain()
415 if ( IsValidHandle( hProcess ) ) in _tmain()
418 TerminateProcess( hProcess, 255 ); in _tmain()
421 if ( RaiseSignalEx( hProcess, sig ) ) in _tmain()
[all …]
/aoo41x/main/migrationanalysis/src/wizard/
H A DAnalyse.bas79 hProcess As Long
100 (ByVal hProcess As Long, lpExitCode As Long) As Long
303 ret = WaitForSingleObject(proc.hProcess, 100)
310 ret = WaitForSingleObject(proc.hProcess, 1000)
314 ret = WaitForSingleObject(proc.hProcess, 1000)
316 ret = TerminateProcess(proc.hProcess, "0")
322 Call HandleAbort(proc.hProcess, curApplication)
331 Call GetExitCodeProcess(proc.hProcess, ret&)
334 Call CloseHandle(proc.hProcess)
551 Sub HandleAbort(hProcess As Long, curApplication As String)
[all …]
/aoo41x/main/sal/qa/rtl/process/
H A Drtl_Process.cxx100 oslProcess hProcess = NULL; in getAppCommandArg_001() local
123 &hProcess ); in getAppCommandArg_001()
131 osl_joinProcess(hProcess); in getAppCommandArg_001()
141 osl_error = osl_getProcessInfo( hProcess, osl_Process_EXITCODE, pInfo ); in getAppCommandArg_001()
239 oslProcess hProcess = NULL; in getGlobalProcessId_002() local
253 &hProcess, in getGlobalProcessId_002()
264 osl_joinProcess(hProcess); in getGlobalProcessId_002()
/aoo41x/main/sal/systools/win32/uwinapi/
H A DGetProcessId.cpp110 EXTERN_C DWORD WINAPI GetProcessId_WINDOWS( HANDLE hProcess ) in GetProcessId_WINDOWS() argument
112 if ( GetCurrentProcess() == hProcess ) in GetProcessId_WINDOWS()
120 DWORD dwHandleNumber = (DWORD)hProcess >> 2; in GetProcessId_WINDOWS()
122 if ( 0 == ((DWORD)hProcess & 0x03) && dwHandleNumber < pPDB->pHandleTable->cEntries ) in GetProcessId_WINDOWS()
138 EXTERN_C DWORD WINAPI GetProcessId_NT( HANDLE hProcess ) in GetProcessId_NT() argument
160 DEFINE_CUSTOM_THUNK( kernel32, GetProcessId, DWORD, WINAPI, GetProcessId, ( HANDLE hProcess ) );
H A DGetModuleFileNameExA.cpp32 IMPLEMENT_THUNK( psapi, WINDOWS, DWORD, WINAPI, GetModuleFileNameExA, (HANDLE hProcess, HMODULE hMo…
37 …if ( !hProcess || hProcess == GetCurrentProcess() || GetCurrentProcessId() == (dwProcessId = GetPr…
H A DGetModuleFileNameExW.cpp31 IMPLEMENT_THUNK( psapi, WINDOWS, DWORD, WINAPI, GetModuleFileNameExW, (HANDLE hProcess, HMODULE hMo…
35 if ( GetModuleFileNameExA( hProcess, hModule, lpFileNameA, 2 * nSize ) )
/aoo41x/main/setup_native/source/win32/customactions/quickstarter/
H A Dquickstarter.cxx198 static DWORD WINAPI _GetModuleFileNameExA( HANDLE hProcess, HMODULE hModule, LPSTR lpFileName, DWOR… in _GetModuleFileNameExA() argument
200 typedef DWORD (WINAPI *FN_PROC)( HANDLE hProcess, HMODULE hModule, LPSTR lpFileName, DWORD nSize ); in _GetModuleFileNameExA()
213 return lpProc( hProcess, hModule, lpFileName, nSize ); in _GetModuleFileNameExA()
223 HANDLE hProcess = OpenProcess( PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, FALSE, dwProcessId ); in GetProcessImagePath_NT() local
225 if ( IsValidHandle( hProcess ) ) in GetProcessImagePath_NT()
229 if ( _GetModuleFileNameExA( hProcess, NULL, szPathBuffer, sizeof(szPathBuffer) ) ) in GetProcessImagePath_NT()
232 CloseHandle( hProcess ); in GetProcessImagePath_NT()
H A Dshutdown_quickstart.cxx51 HANDLE hProcess = OpenProcess( SYNCHRONIZE, FALSE, dwProcessId ); in EnumWindowsProc() local
53 if ( hProcess ) in EnumWindowsProc()
55 WaitForSingleObject( hProcess, 30000 ); // Wait at most 30 seconds for process to terminate in EnumWindowsProc()
56 CloseHandle( hProcess ); in EnumWindowsProc()
/aoo41x/main/sal/osl/w32/
H A Dprocess.cxx68 HANDLE hProcess = OpenProcess( in osl_getProcess() local
71 if (hProcess) in osl_getProcess()
74 pProcImpl->m_hProcess = hProcess; in osl_getProcess()
100 HANDLE hProcess; in osl_getProcessInfo() local
105 hProcess = GetCurrentProcess(); in osl_getProcessInfo()
110 hProcess = ((oslProcessImpl*)Process)->m_hProcess; in osl_getProcessInfo()
127 if (GetExitCodeProcess(hProcess, &(pInfo->Code)) && (pInfo->Code != STILL_ACTIVE)) in osl_getProcessInfo()
140 if (VirtualQueryEx(hProcess, lpAddress, &Info, sizeof(Info)) == 0) in osl_getProcessInfo()
157 if (GetProcessTimes(hProcess, &CreationTime, &ExitTime, in osl_getProcessInfo()
H A Dsecurity.c590 HANDLE hProcess = GetCurrentProcess(); in osl_loadUserProfile() local
592 if (hProcess != NULL) in osl_loadUserProfile()
594 OpenProcessToken(hProcess, TOKEN_IMPERSONATE, &hAccessToken); in osl_loadUserProfile()
595 CloseHandle(hProcess); in osl_loadUserProfile()
655 HANDLE hProcess = GetCurrentProcess(); in osl_unloadUserProfile() local
657 if (hProcess != NULL) in osl_unloadUserProfile()
659 OpenProcessToken(hProcess, TOKEN_IMPERSONATE, &hAccessToken); in osl_unloadUserProfile()
660 CloseHandle(hProcess); in osl_unloadUserProfile()
H A Dmodule.cxx298 HANDLE hProcess,
304 HANDLE hProcess
308 HANDLE hProcess,
409 HANDLE hProcess, // handle to the process
416 HANDLE hProcess, // handle to the process
/aoo41x/main/crashrep/source/win32/
H A Dsoreport.cpp461 IN HANDLE hProcess,
1712 hProcess, in WriteStackFile()
1719 hProcess, in WriteStackFile()
1745 hProcess, in WriteStackFile()
1811 SymCleanup( hProcess ); in WriteStackFile()
1813 CloseHandle( hProcess ); in WriteStackFile()
1914 if ( IsValidHandle(hProcess) ) in WriteDumpFile()
1947 hProcess, in WriteDumpFile()
1955 hProcess, in WriteDumpFile()
1979 CloseHandle( hProcess ); in WriteDumpFile()
[all …]
/aoo41x/main/setup_native/source/win32/stwrapper/
H A Dstwrapper.cxx395 WaitForSingleObject( aProcessInfo.hProcess, INFINITE ); in _tWinMain()
405 GetExitCodeProcess( aProcessInfo.hProcess, &dwSTClientExitCode ); in _tWinMain()
408 CloseHandle( aProcessInfo.hProcess ); in _tWinMain()
474 WaitForSingleObject( aProcessInfo.hProcess, INFINITE ); in _tWinMain()
477 GetExitCodeProcess( aProcessInfo.hProcess, &dwSTClientExitCode ); in _tWinMain()
480 CloseHandle( aProcessInfo.hProcess ); in _tWinMain()
/aoo41x/main/migrationanalysis/src/msokill/
H A Dmsokill.cpp137 HANDLE hProcess; // Handle to existing process in KillAppFromWindow() local
139 hProcess = OpenProcess(SYNCHRONIZE | PROCESS_ALL_ACCESS, TRUE, pid); in KillAppFromWindow()
140 if (hProcess == NULL) { in KillAppFromWindow()
146 if (!TerminateProcess(hProcess, 0)) { in KillAppFromWindow()
/aoo41x/main/framework/source/jobs/
H A Dshelljob.cxx180 oslProcess hProcess(0); in impl_execute() local
185 …Error = osl_executeProcess(sCommand.pData, pArgs, nArgs, nOptions, NULL, NULL, NULL, 0, &hProcess); in impl_execute()
197 eError = osl_getProcessInfo(hProcess, osl_Process_EXITCODE, &aInfo); in impl_execute()
204 osl_freeProcessHandle(hProcess); in impl_execute()
/aoo41x/main/idlc/source/
H A Didlccompile.cxx326 oslProcess hProcess = NULL; in compileFile() local
342 0, startDir.pData, 0, 0, &hProcess); in compileFile()
346 if (osl_getProcessInfo(hProcess, osl_Process_EXITCODE, &hInfo) in compileFile()
364 osl_freeProcessHandle(hProcess); in compileFile()
368 osl_freeProcessHandle(hProcess); in compileFile()
/aoo41x/main/desktop/win32/source/guistdio/
H A Dguistdio.inc258 HANDLE hProcess = (HANDLE)pParam;
262 WaitForInputIdle( hProcess, INFINITE );
383 hTargetProcess = aProcessInfo.hProcess;
397 …HANDLE hWaitForUIThread = CreateThread( NULL, 0, WaitForUIThread, (LPVOID)aProcessInfo.hProcess, 0…
441 GetExitCodeProcess( aProcessInfo.hProcess, &dwExitCode );
442 CloseHandle( aProcessInfo.hProcess );
/aoo41x/main/desktop/win32/source/guiloader/
H A Dgenericloader.cxx131 …dwWaitResult = MsgWaitForMultipleObjects( 1, &aProcessInfo.hProcess, FALSE, INFINITE, QS_ALLEVENTS… in GenericMain()
142 GetExitCodeProcess( aProcessInfo.hProcess, &dwExitCode ); in GenericMain()
144 CloseHandle( aProcessInfo.hProcess ); in GenericMain()
/aoo41x/main/setup_native/source/win32/customactions/shellextensions/
H A Dregisterextensions.cxx214 WaitForSingleObject( pi.hProcess, INFINITE ); in ExecuteCommand()
216 if (!GetExitCodeProcess( pi.hProcess, out_exitCode)) in ExecuteCommand()
219 CloseHandle( pi.hProcess ); in ExecuteCommand()
H A Dpostuninstall.cxx92 WaitForSingleObject( pi.hProcess, INFINITE ); in ExecuteCommand()
94 CloseHandle( pi.hProcess ); in ExecuteCommand()
/aoo41x/main/desktop/win32/source/officeloader/
H A Dofficeloader.cxx400 …dwWaitResult = MsgWaitForMultipleObjects( 1, &aProcessInfo.hProcess, FALSE, INFINITE, QS_ALLEVENTS… in WinMain()
411 GetExitCodeProcess( aProcessInfo.hProcess, &dwExitCode ); in WinMain()
413 CloseHandle( aProcessInfo.hProcess ); in WinMain()
/aoo41x/main/vos/source/
H A Dprocess.cxx252 oslProcess hProcess = osl_getProcess(Identifier); in getProcess() local
254 if (hProcess) in getProcess()
258 pProcess->m_Process = hProcess; in getProcess()
/aoo41x/main/desktop/win32/source/applauncher/
H A Dlauncher.cxx111 WaitForSingleObject( aProcessInfo.hProcess, INFINITE ); in WinMain()
113 CloseHandle( aProcessInfo.hProcess ); in WinMain()
/aoo41x/main/sal/qa/rtl/bootstrap/
H A Drtl_Bootstrap.cxx325 oslProcess hProcess = NULL; in ini_execProcess() local
353 &hProcess ); in ini_execProcess()
360 osl_joinProcess(hProcess); in ini_execProcess()
363 osl_error = osl_getProcessInfo( hProcess, osl_Process_EXITCODE, pInfo ); in ini_execProcess()
/aoo41x/main/desktop/win32/source/
H A Dwrapper.h165 WaitForSingleObject( aProcessInfo.hProcess, INFINITE ); in Main()
166 fSuccess = GetExitCodeProcess( aProcessInfo.hProcess, &dwExitCode ); in Main()

Completed in 143 milliseconds

12