Lines Matching refs:HANDLE
49 HANDLE hReadPipe;
50 HANDLE hWritePipe;
70 HANDLE m_hReadPipe; // Handle to use for reading
71 HANDLE m_hWritePipe; // Handle to use for writing
73 Pipe( HANDLE hReadPipe, HANDLE hWritePipe );
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…
119 ClientPipe( HANDLE hReadPipe, HANDLE hWritePipe );
131 HANDLE m_hMapping;
132 HANDLE m_hSynchronize;
135 …ServerPipe( LPCTSTR lpName, HANDLE hMapping, HANDLE hSynchronize, HANDLE hReadPipe, HANDLE hWriteP…
148 HANDLE Pipe::CreatePipeDataMapping( LPCTSTR lpName ) in CreatePipeDataMapping()
150 HANDLE hMapping = NULL; in CreatePipeDataMapping()
180 HANDLE hFile = CreateFile( in CreatePipeDataMapping()
192 (HANDLE)hFile, in CreatePipeDataMapping()
214 HANDLE Pipe::OpenPipeDataMapping( LPCTSTR lpName ) in OpenPipeDataMapping()
216 HANDLE hMapping = NULL; in OpenPipeDataMapping()
234 HANDLE Pipe::CreatePipeDataMutex( LPCTSTR lpName, BOOL bInitialOwner ) in CreatePipeDataMutex()
236 HANDLE hMutex = NULL; in CreatePipeDataMutex()
254 HANDLE Pipe::CreatePipeConnectionSemaphore( LPCTSTR lpName, LONG lInitialCount, LONG lMaximumCount ) in CreatePipeConnectionSemaphore()
256 HANDLE hSemaphore = NULL; in CreatePipeConnectionSemaphore()
331 Pipe::Pipe( HANDLE hReadPipe, HANDLE hWritePipe ) : in Pipe()
441 ClientPipe::ClientPipe( HANDLE hReadPipe, HANDLE hWritePipe ) : Pipe( hReadPipe, hWritePipe ) in ClientPipe()
453 HANDLE hMapping = OpenPipeDataMapping( lpName ); in Create()
461 HANDLE hSourceProcess = OpenProcess( PROCESS_DUP_HANDLE, FALSE, pData->dwProcessId ); in Create()
466 HANDLE hReadPipe = INVALID_HANDLE_VALUE, hWritePipe = INVALID_HANDLE_VALUE; 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()
567 HANDLE hConnectionRequest = CreatePipeConnectionSemaphore( m_lpName, 0, 1 ); in AcceptConnection()
576 HANDLE hClientWritePipe = NULL, hServerReadPipe = NULL; in AcceptConnection()
585 HANDLE hClientReadPipe = NULL, hServerWritePipe = NULL; in AcceptConnection()
594 HANDLE hSynchronize = CreatePipeDataMutex( m_lpName, TRUE ); in AcceptConnection()
630 HANDLE hMapping = CreatePipeDataMapping( lpName ); in Create()
636 HANDLE hSynchronize = CreatePipeDataMutex( lpName, FALSE); in Create()
653 HANDLE hServerReadPipe = NULL, hClientWritePipe = NULL; in Create()
661 HANDLE hServerWritePipe = NULL, hClientReadPipe = NULL; in Create()
702 extern "C" HANDLE WINAPI CreateSimplePipe( LPCTSTR lpName ) in CreateSimplePipe()
707 return (HANDLE)ServerPipe::Create( lpName ); in CreateSimplePipe()
710 extern "C" HANDLE WINAPI OpenSimplePipe( LPCTSTR lpName ) in OpenSimplePipe()
715 return (HANDLE)ClientPipe::Create( lpName ); in OpenSimplePipe()
718 extern "C" HANDLE WINAPI AcceptSimplePipeConnection( HANDLE hPipe ) in AcceptSimplePipeConnection()
723 return (HANDLE)pPipe->AcceptConnection(); in AcceptSimplePipeConnection()
736 extern "C" BOOL WINAPI WriteSimplePipe( HANDLE hPipe, LPCVOID lpBuffer, DWORD dwBytesToWrite, LPDWO… in WriteSimplePipe()
749 extern "C" BOOL WINAPI ReadSimplePipe( HANDLE hPipe, LPVOID lpBuffer, DWORD dwBytesToRead, LPDWORD … in ReadSimplePipe()
762 extern "C" BOOL WINAPI CloseSimplePipe( HANDLE hPipe ) in CloseSimplePipe()