Lines Matching refs:m_pBuffer
54 wchar_t* m_pBuffer; member in __anon87bd22bc0111::CurDirGuard
60 , m_pBuffer( NULL ) in CurDirGuard()
66 m_pBuffer = new wchar_t[m_nBufLen]; in CurDirGuard()
67 m_bValid = ( GetCurrentDirectoryW( m_nBufLen, m_pBuffer ) == ( m_nBufLen - 1 ) ); in CurDirGuard()
75 if ( m_pBuffer ) in ~CurDirGuard()
90 if ( m_nBufLen > 3 && m_pBuffer[0] == (wchar_t)'\\' && m_pBuffer[1] == (wchar_t)'\\' ) in ~CurDirGuard()
92 if ( m_pBuffer[2] == (wchar_t)'?' ) in ~CurDirGuard()
93 _snwprintf( pNewBuffer, nNewLen, L"%s", m_pBuffer ); in ~CurDirGuard()
95 _snwprintf( pNewBuffer, nNewLen, L"\\\\?\\UNC\\%s", m_pBuffer+2 ); in ~CurDirGuard()
98 _snwprintf( pNewBuffer, nNewLen, L"\\\\?\\%s", m_pBuffer ); in ~CurDirGuard()
105 bDirSet = SetCurrentDirectoryW( m_pBuffer ); in ~CurDirGuard()
108 delete [] m_pBuffer; in ~CurDirGuard()
109 m_pBuffer = NULL; in ~CurDirGuard()