Lines Matching refs:lpName
75 static HANDLE CreatePipeDataMutex( LPCTSTR lpName, BOOL bInitialOwner );
76 static HANDLE CreatePipeDataMapping( LPCTSTR lpName );
77 static HANDLE OpenPipeDataMapping( LPCTSTR lpName );
78 …static HANDLE CreatePipeConnectionSemaphore( LPCTSTR lpName, LONG lInitialCount, LONG lMaximumcoun…
121 static ClientPipe* Create( LPCTSTR lpName );
135 …ServerPipe( LPCTSTR lpName, HANDLE hMapping, HANDLE hSynchronize, HANDLE hReadPipe, HANDLE hWriteP…
139 static ServerPipe *Create( LPCTSTR lpName );
148 HANDLE Pipe::CreatePipeDataMapping( LPCTSTR lpName ) in CreatePipeDataMapping() argument
151 …LPTSTR lpMappingName = (LPTSTR)alloca( _tcslen(lpName) * sizeof(TCHAR) + sizeof(PIPE_NAME_PREFIX_M… in CreatePipeDataMapping()
156 _tcscat( lpMappingName, lpName ); in CreatePipeDataMapping()
164 if ( MAX_PATH + _tcslen(lpName) < nChars + 1 ) in CreatePipeDataMapping()
166 lpMappingFileName = (LPTSTR)alloca( (nChars + 1 + _tcslen(lpName)) * sizeof(TCHAR) ); in CreatePipeDataMapping()
214 HANDLE Pipe::OpenPipeDataMapping( LPCTSTR lpName ) in OpenPipeDataMapping() argument
217 …LPTSTR lpMappingName = (LPTSTR)alloca( _tcslen(lpName) * sizeof(TCHAR) + sizeof(PIPE_NAME_PREFIX_M… in OpenPipeDataMapping()
222 _tcscat( lpMappingName, lpName ); in OpenPipeDataMapping()
234 HANDLE Pipe::CreatePipeDataMutex( LPCTSTR lpName, BOOL bInitialOwner ) in CreatePipeDataMutex() argument
237 …LPTSTR lpMutexName = (LPTSTR)alloca( _tcslen(lpName) * sizeof(TCHAR) + sizeof(PIPE_NAME_PREFIX_SYN… in CreatePipeDataMutex()
242 _tcscat( lpMutexName, lpName ); in CreatePipeDataMutex()
254 HANDLE Pipe::CreatePipeConnectionSemaphore( LPCTSTR lpName, LONG lInitialCount, LONG lMaximumCount ) in CreatePipeConnectionSemaphore() argument
257 …LPTSTR lpSemaphoreName = (LPTSTR)alloca( _tcslen(lpName) * sizeof(TCHAR) + sizeof(PIPE_NAME_PREFIX… in CreatePipeConnectionSemaphore()
262 _tcscat( lpSemaphoreName, lpName ); in CreatePipeConnectionSemaphore()
449 ClientPipe *ClientPipe::Create( LPCTSTR lpName ) in Create() argument
453 HANDLE hMapping = OpenPipeDataMapping( lpName ); in Create()
495 HANDLE hConnectionRequest = CreatePipeConnectionSemaphore( lpName, 0, 1 ); in Create()
519 ServerPipe::ServerPipe( LPCTSTR lpName, HANDLE hMapping, HANDLE hSynchronize, HANDLE hReadPipe, HAN… in ServerPipe() argument
542 m_lpName = new TCHAR[_tcslen(lpName) + 1]; in ServerPipe()
544 _tcscpy( m_lpName, lpName ); in ServerPipe()
626 ServerPipe *ServerPipe::Create( LPCTSTR lpName ) in Create() argument
630 HANDLE hMapping = CreatePipeDataMapping( lpName ); in Create()
636 HANDLE hSynchronize = CreatePipeDataMutex( lpName, FALSE); in Create()
670 pPipe = new ServerPipe( lpName, hMapping, hSynchronize, hServerReadPipe, hServerWritePipe ); in Create()
702 extern "C" HANDLE WINAPI CreateSimplePipe( LPCTSTR lpName ) in CreateSimplePipe() argument
705 if ( 0 == _tcsnicmp( lpName, LOCAL_PIPE_PREFIX, nPrefixLen ) ) in CreateSimplePipe()
706 lpName += nPrefixLen; in CreateSimplePipe()
707 return (HANDLE)ServerPipe::Create( lpName ); in CreateSimplePipe()
710 extern "C" HANDLE WINAPI OpenSimplePipe( LPCTSTR lpName ) in OpenSimplePipe() argument
713 if ( 0 == _tcsnicmp( lpName, LOCAL_PIPE_PREFIX, nPrefixLen ) ) in OpenSimplePipe()
714 lpName += nPrefixLen; in OpenSimplePipe()
715 return (HANDLE)ClientPipe::Create( lpName ); in OpenSimplePipe()