Lines Matching refs:OVERLAPPED
133 OVERLAPPED overlapped;
136 deMemset(&overlapped, 0, sizeof(overlapped));
137 overlapped.hEvent = ioEvent.getHandle();
145 if (!WriteFile(m_dst, &m_caseList[curPos], (DWORD)numToWrite, NULL, &overlapped))
159 if (!GetOverlappedResult(m_dst, &overlapped, &numBytesWritten, FALSE))
228 OVERLAPPED overlapped;
230 deUint64 offset = 0; // Overlapped IO requires manual offset keeping.
232 deMemset(&overlapped, 0, sizeof(overlapped));
233 overlapped.hEvent = ioEvent.getHandle();
240 overlapped.Offset = (DWORD)(offset & 0xffffffffu);
241 overlapped.OffsetHigh = (DWORD)(offset >> 32);
243 if (!ReadFile(m_handle, &tmpBuf[0], (DWORD)tmpBuf.size(), NULL, &overlapped))
270 if (!GetOverlappedResult(m_handle, &overlapped, &numBytesRead, FALSE))