Lines Matching refs:lpName
80 static HANDLE CreatePipeDataMutex( LPCTSTR lpName, BOOL bInitialOwner );
81 static HANDLE CreatePipeDataMapping( LPCTSTR lpName );
82 static HANDLE OpenPipeDataMapping( LPCTSTR lpName );
83 …static HANDLE CreatePipeConnectionSemaphore( LPCTSTR lpName, LONG lInitialCount, LONG lMaximumcoun…
126 static ClientPipe* Create( LPCTSTR lpName );
140 …ServerPipe( LPCTSTR lpName, HANDLE hMapping, HANDLE hSynchronize, HANDLE hReadPipe, HANDLE hWriteP…
144 static ServerPipe *Create( LPCTSTR lpName );
153 HANDLE Pipe::CreatePipeDataMapping( LPCTSTR lpName ) in CreatePipeDataMapping() argument
156 …LPTSTR lpMappingName = (LPTSTR)alloca( _tcslen(lpName) * sizeof(TCHAR) + sizeof(PIPE_NAME_PREFIX_M… in CreatePipeDataMapping()
161 _tcscat( lpMappingName, lpName ); in CreatePipeDataMapping()
169 if ( MAX_PATH + _tcslen(lpName) < nChars + 1 ) in CreatePipeDataMapping()
171 lpMappingFileName = (LPTSTR)alloca( (nChars + 1 + _tcslen(lpName)) * sizeof(TCHAR) ); in CreatePipeDataMapping()
219 HANDLE Pipe::OpenPipeDataMapping( LPCTSTR lpName ) in OpenPipeDataMapping() argument
222 …LPTSTR lpMappingName = (LPTSTR)alloca( _tcslen(lpName) * sizeof(TCHAR) + sizeof(PIPE_NAME_PREFIX_M… in OpenPipeDataMapping()
227 _tcscat( lpMappingName, lpName ); in OpenPipeDataMapping()
239 HANDLE Pipe::CreatePipeDataMutex( LPCTSTR lpName, BOOL bInitialOwner ) in CreatePipeDataMutex() argument
242 …LPTSTR lpMutexName = (LPTSTR)alloca( _tcslen(lpName) * sizeof(TCHAR) + sizeof(PIPE_NAME_PREFIX_SYN… in CreatePipeDataMutex()
247 _tcscat( lpMutexName, lpName ); in CreatePipeDataMutex()
259 HANDLE Pipe::CreatePipeConnectionSemaphore( LPCTSTR lpName, LONG lInitialCount, LONG lMaximumCount ) in CreatePipeConnectionSemaphore() argument
262 …LPTSTR lpSemaphoreName = (LPTSTR)alloca( _tcslen(lpName) * sizeof(TCHAR) + sizeof(PIPE_NAME_PREFIX… in CreatePipeConnectionSemaphore()
267 _tcscat( lpSemaphoreName, lpName ); in CreatePipeConnectionSemaphore()
454 ClientPipe *ClientPipe::Create( LPCTSTR lpName ) in Create() argument
458 HANDLE hMapping = OpenPipeDataMapping( lpName ); in Create()
500 HANDLE hConnectionRequest = CreatePipeConnectionSemaphore( lpName, 0, 1 ); in Create()
524 ServerPipe::ServerPipe( LPCTSTR lpName, HANDLE hMapping, HANDLE hSynchronize, HANDLE hReadPipe, HAN… in ServerPipe() argument
547 m_lpName = new TCHAR[_tcslen(lpName) + 1]; in ServerPipe()
549 _tcscpy( m_lpName, lpName ); in ServerPipe()
631 ServerPipe *ServerPipe::Create( LPCTSTR lpName ) in Create() argument
635 HANDLE hMapping = CreatePipeDataMapping( lpName ); in Create()
641 HANDLE hSynchronize = CreatePipeDataMutex( lpName, FALSE); in Create()
675 pPipe = new ServerPipe( lpName, hMapping, hSynchronize, hServerReadPipe, hServerWritePipe ); in Create()
707 extern "C" HANDLE WINAPI CreateSimplePipe( LPCTSTR lpName ) in CreateSimplePipe() argument
710 if ( 0 == _tcsnicmp( lpName, LOCAL_PIPE_PREFIX, nPrefixLen ) ) in CreateSimplePipe()
711 lpName += nPrefixLen; in CreateSimplePipe()
712 return (HANDLE)ServerPipe::Create( lpName ); in CreateSimplePipe()
715 extern "C" HANDLE WINAPI OpenSimplePipe( LPCTSTR lpName ) in OpenSimplePipe() argument
718 if ( 0 == _tcsnicmp( lpName, LOCAL_PIPE_PREFIX, nPrefixLen ) ) in OpenSimplePipe()
719 lpName += nPrefixLen; in OpenSimplePipe()
720 return (HANDLE)ClientPipe::Create( lpName ); in OpenSimplePipe()