Lines Matching defs:m_handles
211 wxPipe() { m_handles[Read] = m_handles[Write] = INVALID_HANDLE_VALUE; }
223 if ( !::CreatePipe(&m_handles[0], &m_handles[1], &security, 0) )
234 bool IsOk() const { return m_handles[Read] != INVALID_HANDLE_VALUE; }
237 HANDLE operator[](Direction which) const { return m_handles[which]; }
243 HANDLE handle = m_handles[which];
244 m_handles[which] = INVALID_HANDLE_VALUE;
252 for ( size_t n = 0; n < WXSIZEOF(m_handles); n++ )
254 if ( m_handles[n] != INVALID_HANDLE_VALUE )
256 ::CloseHandle(m_handles[n]);
257 m_handles[n] = INVALID_HANDLE_VALUE;
266 HANDLE m_handles[2];