Lines Matching refs:nBytes
472 DWORD nBytes; in osl_receivePipe() local
485 if (! ReadFile(pPipe->m_File, pBuffer, BytesToRead, &nBytes, &os) && in osl_receivePipe()
487 ! GetOverlappedResult(pPipe->m_File, &os, &nBytes, TRUE))) in osl_receivePipe()
492 nBytes = BytesToRead; in osl_receivePipe()
496 nBytes = 0; in osl_receivePipe()
498 nBytes = (DWORD) -1; in osl_receivePipe()
506 BOOL fSuccess = ReadSimplePipe( pPipe->m_File, pBuffer, BytesToRead, &nBytes, TRUE ); in osl_receivePipe()
510 nBytes = 0; in osl_receivePipe()
516 return (nBytes); in osl_receivePipe()
526 DWORD nBytes; in osl_sendPipe() local
536 if (! WriteFile(pPipe->m_File, pBuffer, BytesToSend, &nBytes, &os) && in osl_sendPipe()
538 ! GetOverlappedResult(pPipe->m_File, &os, &nBytes, TRUE))) in osl_sendPipe()
541 nBytes = 0; in osl_sendPipe()
543 nBytes = (DWORD) -1; in osl_sendPipe()
550 BOOL fSuccess = WriteSimplePipe( pPipe->m_File, pBuffer, BytesToSend, &nBytes, TRUE ); in osl_sendPipe()
554 nBytes = 0; in osl_sendPipe()
559 return (nBytes); in osl_sendPipe()