Lines Matching refs:dwRead
48 DWORD dwRead = 0;
64 while ( ReadFile( hReadPipe, pBuffer, dwToRead, &dwRead, NULL ) )
70 dwRead++;
73 bIncompleteWchar = dwRead % 2 ? true : false;
79 (dwRead - 1) / 2, &dwWritten, NULL );
83 aBuffer[0] = aBuffer[dwRead - 1];
97 aBuffer, dwRead / 2, &dwWritten, NULL );
116 DWORD dwRead = 0;
118 while ( ReadFile( hReadPipe, &aBuffer, sizeof(aBuffer), &dwRead, NULL ) )
123 fSuccess = WriteFile( GetStdHandle( STD_OUTPUT_HANDLE ), aBuffer, dwRead, &dwWritten, NULL );
143 DWORD dwRead = 0;
146 while ( ReadFile( hReadPipe, &aBuffer, sizeof(aBuffer), &dwRead, NULL ) )
151 fSuccess = WriteFile( GetStdHandle( STD_ERROR_HANDLE ), aBuffer, dwRead, &dwWritten, NULL );
164 DWORD dwRead = 0;
188 curBufSize - readAll, &dwRead, NULL ) )
190 readAll += dwRead;
237 DWORD dwRead = 0;
240 while ( ReadFile( GetStdHandle( STD_INPUT_HANDLE ), &aBuffer, sizeof(aBuffer), &dwRead, NULL ) )
245 fSuccess = WriteFile( hWritePipe, aBuffer, dwRead, &dwWritten, NULL );