Searched refs:viewer_process (Results 1 – 2 of 2) sorted by relevance
28 base::ProcessHandle viewer_process = NULL; in TerminateViewer() local32 &viewer_process); in TerminateViewer()33 if (viewer_process) { in TerminateViewer()34 ::TerminateProcess(viewer_process, 0); in TerminateViewer()35 ::WaitForSingleObject(viewer_process, INFINITE); in TerminateViewer()36 ::CloseHandle(viewer_process); in TerminateViewer()
71 base::ProcessHandle viewer_process = NULL; in ~MetroViewerProcessHost() local75 &viewer_process); in ~MetroViewerProcessHost()76 if (viewer_process) { in ~MetroViewerProcessHost()77 ::WaitForSingleObject(viewer_process, INFINITE); in ~MetroViewerProcessHost()78 ::CloseHandle(viewer_process); in ~MetroViewerProcessHost()