< prev index next >

modules/fxpackager/src/main/native/library/common/WindowsPlatform.cpp

Print this page
rev 9619 : imported patch 9-jake-fxpackager.patch


 809                 // Close process and thread handles.
 810                 Cleanup();
 811             }
 812         }
 813     }
 814 
 815     return result;
 816 }
 817 
 818 bool WindowsProcess::Wait() {
 819     bool result = false;
 820 
 821     WaitForSingleObject(FProcessInfo.hProcess, INFINITE);
 822     return result;
 823 }
 824 
 825 TProcessID WindowsProcess::GetProcessID() {
 826     return FProcessInfo.dwProcessId;
 827 }
 828 















 829 #endif //WINDOWS


 809                 // Close process and thread handles.
 810                 Cleanup();
 811             }
 812         }
 813     }
 814 
 815     return result;
 816 }
 817 
 818 bool WindowsProcess::Wait() {
 819     bool result = false;
 820 
 821     WaitForSingleObject(FProcessInfo.hProcess, INFINITE);
 822     return result;
 823 }
 824 
 825 TProcessID WindowsProcess::GetProcessID() {
 826     return FProcessInfo.dwProcessId;
 827 }
 828 
 829 bool WindowsProcess::ReadOutput() {
 830     bool result = false;
 831     //TODO implement
 832     return result;
 833 }
 834 
 835 void WindowsProcess::SetInput(TString Value) {
 836     //TODO implement
 837 }
 838 
 839 std::list<TString> WindowsProcess::GetOutput() {
 840     ReadOutput();
 841     return Process::GetOutput();
 842 }
 843 
 844 #endif //WINDOWS
< prev index next >