Lines Matching refs:nBytes
386 var cbWritten, nBytes : DWORD;
395 nBytes := Min( 15*4096, count); // 16 would exceed the limit
398 while nBytes > 0 do begin
399 if not WriteFile( FPipe, pData^, nBytes, cbWritten, nil)
404 nBytes := Min( nBytes, count);
410 var cbWritten, dwWait, dwError, nBytes : DWORD;
420 nBytes := Min( 15*4096, count); // 16 would exceed the limit
423 while nBytes > 0 do begin
425 if not WriteFile( FPipe, pData^, nBytes, cbWritten, overlapped.OverlappedPtr)
447 ASSERT( DWORD(nBytes) = cbWritten);
451 nBytes := Min( nBytes, count);