Lines Matching refs:aBuffer
47 BYTE aBuffer[1024];
62 DWORD dwToRead = sizeof(aBuffer);
63 BYTE * pBuffer = aBuffer;
76 //To test this case, give aBuffer a small odd size, e.g. aBuffer[3]
78 fSuccess = WriteConsoleW( console, aBuffer,
83 aBuffer[0] = aBuffer[dwRead - 1];
86 dwToRead = sizeof(aBuffer) - 1;
87 pBuffer = aBuffer + 1;
94 dwToRead = sizeof(aBuffer);
95 pBuffer = aBuffer;
97 aBuffer, dwRead / 2, &dwWritten, NULL );
115 BYTE aBuffer[256];
118 while ( ReadFile( hReadPipe, &aBuffer, sizeof(aBuffer), &dwRead, NULL ) )
123 fSuccess = WriteFile( GetStdHandle( STD_OUTPUT_HANDLE ), aBuffer, dwRead, &dwWritten, NULL );
142 BYTE aBuffer[256];
146 while ( ReadFile( hReadPipe, &aBuffer, sizeof(aBuffer), &dwRead, NULL ) )
151 fSuccess = WriteFile( GetStdHandle( STD_ERROR_HANDLE ), aBuffer, dwRead, &dwWritten, NULL );
236 BYTE aBuffer[256];
240 while ( ReadFile( GetStdHandle( STD_INPUT_HANDLE ), &aBuffer, sizeof(aBuffer), &dwRead, NULL ) )
245 fSuccess = WriteFile( hWritePipe, aBuffer, dwRead, &dwWritten, NULL );