public void CloseHandle() { int iRetValue; iRetValue = MemoryAPI.CloseHandle(m_hProcess); if (iRetValue == 0) throw new Exception("CloseHandle Failed"); }