Lines Matching refs:HANDLE

54 	HANDLE	hReadPipe;
55 HANDLE hWritePipe;
75 HANDLE m_hReadPipe; // Handle to use for reading
76 HANDLE m_hWritePipe; // Handle to use for writing
78 Pipe( HANDLE hReadPipe, HANDLE hWritePipe );
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…
124 ClientPipe( HANDLE hReadPipe, HANDLE hWritePipe );
136 HANDLE m_hMapping;
137 HANDLE m_hSynchronize;
140 …ServerPipe( LPCTSTR lpName, HANDLE hMapping, HANDLE hSynchronize, HANDLE hReadPipe, HANDLE hWriteP…
153 HANDLE Pipe::CreatePipeDataMapping( LPCTSTR lpName ) in CreatePipeDataMapping()
155 HANDLE hMapping = NULL; in CreatePipeDataMapping()
185 HANDLE hFile = CreateFile( in CreatePipeDataMapping()
197 (HANDLE)hFile, in CreatePipeDataMapping()
219 HANDLE Pipe::OpenPipeDataMapping( LPCTSTR lpName ) in OpenPipeDataMapping()
221 HANDLE hMapping = NULL; in OpenPipeDataMapping()
239 HANDLE Pipe::CreatePipeDataMutex( LPCTSTR lpName, BOOL bInitialOwner ) in CreatePipeDataMutex()
241 HANDLE hMutex = NULL; in CreatePipeDataMutex()
259 HANDLE Pipe::CreatePipeConnectionSemaphore( LPCTSTR lpName, LONG lInitialCount, LONG lMaximumCount ) in CreatePipeConnectionSemaphore()
261 HANDLE hSemaphore = NULL; in CreatePipeConnectionSemaphore()
336 Pipe::Pipe( HANDLE hReadPipe, HANDLE hWritePipe ) : in Pipe()
446 ClientPipe::ClientPipe( HANDLE hReadPipe, HANDLE hWritePipe ) : Pipe( hReadPipe, hWritePipe ) in ClientPipe()
458 HANDLE hMapping = OpenPipeDataMapping( lpName ); in Create()
466 HANDLE hSourceProcess = OpenProcess( PROCESS_DUP_HANDLE, FALSE, pData->dwProcessId ); in Create()
471 HANDLE hReadPipe = INVALID_HANDLE_VALUE, hWritePipe = INVALID_HANDLE_VALUE; 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()
572 HANDLE hConnectionRequest = CreatePipeConnectionSemaphore( m_lpName, 0, 1 ); in AcceptConnection()
581 HANDLE hClientWritePipe = NULL, hServerReadPipe = NULL; in AcceptConnection()
590 HANDLE hClientReadPipe = NULL, hServerWritePipe = NULL; in AcceptConnection()
599 HANDLE hSynchronize = CreatePipeDataMutex( m_lpName, TRUE ); in AcceptConnection()
635 HANDLE hMapping = CreatePipeDataMapping( lpName ); in Create()
641 HANDLE hSynchronize = CreatePipeDataMutex( lpName, FALSE); in Create()
658 HANDLE hServerReadPipe = NULL, hClientWritePipe = NULL; in Create()
666 HANDLE hServerWritePipe = NULL, hClientReadPipe = NULL; in Create()
707 extern "C" HANDLE WINAPI CreateSimplePipe( LPCTSTR lpName ) in CreateSimplePipe()
712 return (HANDLE)ServerPipe::Create( lpName ); in CreateSimplePipe()
715 extern "C" HANDLE WINAPI OpenSimplePipe( LPCTSTR lpName ) in OpenSimplePipe()
720 return (HANDLE)ClientPipe::Create( lpName ); in OpenSimplePipe()
723 extern "C" HANDLE WINAPI AcceptSimplePipeConnection( HANDLE hPipe ) in AcceptSimplePipeConnection()
728 return (HANDLE)pPipe->AcceptConnection(); in AcceptSimplePipeConnection()
741 extern "C" BOOL WINAPI WriteSimplePipe( HANDLE hPipe, LPCVOID lpBuffer, DWORD dwBytesToWrite, LPDWO… in WriteSimplePipe()
754 extern "C" BOOL WINAPI ReadSimplePipe( HANDLE hPipe, LPVOID lpBuffer, DWORD dwBytesToRead, LPDWORD … in ReadSimplePipe()
767 extern "C" BOOL WINAPI CloseSimplePipe( HANDLE hPipe ) in CloseSimplePipe()