Searched refs:dwAvail (Results 1 – 2 of 2) sorted by relevance
230 DWORD dwAvail = 0; in ExecCmd() local233 if (!::PeekNamedPipe(hPipe, NULL, 0, NULL, &dwAvail, NULL)) in ExecCmd()238 if (!dwAvail) // no data available, return in ExecCmd()245 std::min<size_t>(sizeof(buf) - 1, size_t(dwAvail)), in ExecCmd()
134 FX_FILESIZE dwAvail = nSize - m_nCurPos; in ReadBlock() local135 if (dwAvail < (FX_FILESIZE)size) in ReadBlock()136 size = static_cast<size_t>(dwAvail); in ReadBlock()