Home
last modified time | relevance | path

Searched refs:overlapped (Results 1 – 23 of 23) sorted by relevance

/reactos/modules/rostests/apitests/ws2_32/
H A DWSARecv.c47 WSAOVERLAPPED overlapped; in Test_WSARecv() local
94 memset(&overlapped, 0, sizeof(overlapped)); in Test_WSARecv()
95 overlapped.hEvent = WSACreateEvent(); in Test_WSARecv()
102 iResult = WSASend(sck, &buffers, 1, &dwSent, 0, &overlapped, NULL); in Test_WSARecv()
109 ret = WSAGetOverlappedResult(sck, &overlapped, &dwSent, TRUE, &dwFlags); in Test_WSARecv()
139 iResult = WSARecv(sck, &buffers, 1, &dwRecv, &dwFlags, &overlapped, NULL); in Test_WSARecv()
146 ret = WSAGetOverlappedResult(sck, &overlapped, &dwRecv, TRUE, &dwFlags); in Test_WSARecv()
155 WSAResetEvent(overlapped.hEvent); in Test_WSARecv()
157 iResult = WSARecv(sck, &buffers, 1, &dwRecv, &dwFlags, &overlapped, NULL); in Test_WSARecv()
172 WSAResetEvent(overlapped.hEvent); in Test_WSARecv()
[all …]
H A Drecv.c139 WSAOVERLAPPED overlapped; in Test_Overread() member
277 receivers[i].overlapped.hEvent = WSACreateEvent(); in Test_Overread()
283 &receivers[i].overlapped, in Test_Overread()
294 &receivers[i].overlapped, in Test_Overread()
314 &receivers[0].overlapped, in Test_Overread()
329 &receivers[i].overlapped, in Test_Overread()
348 &receivers[i].overlapped, in Test_Overread()
372 if (receivers[i].overlapped.hEvent != NULL) in Test_Overread()
374 WSACloseEvent(receivers[i].overlapped.hEvent); in Test_Overread()
/reactos/modules/rostests/winetests/kernel32/
H A Dpipe.c754 memset(&overlapped, 0, sizeof(overlapped)); in test_ReadFile()
763 memset(&overlapped, 0, sizeof(overlapped)); in test_ReadFile()
771 memset(&overlapped, 0, sizeof(overlapped)); in test_ReadFile()
2319 memset(&overlapped, 0, sizeof(overlapped)); in test_overlapped_error()
2348 memset(&overlapped, 0, sizeof(overlapped)); in test_overlapped_error()
2543 memset(&overlapped, 0, sizeof(overlapped)); in test_readfileex_pending()
2720 memset(&overlapped, 0, sizeof(overlapped)); in _overlapped_read_sync()
2749 memset(overlapped, 0, sizeof(*overlapped)); in _overlapped_read_async()
2765 memset(&overlapped, 0, sizeof(overlapped)); in _overlapped_write_sync()
2785 memset(overlapped, 0, sizeof(*overlapped)); in _overlapped_write_async()
[all …]
H A Dcomm.c1344 ZeroMemory( &overlapped, sizeof(overlapped)); in test_WaitRx()
1431 OVERLAPPED overlapped; in test_WaitCts() local
1471 ZeroMemory( &overlapped, sizeof(overlapped)); in test_WaitCts()
1537 OVERLAPPED overlapped; in test_AbortWaitCts() local
1566 ZeroMemory( &overlapped, sizeof(overlapped)); in test_AbortWaitCts()
1604 OVERLAPPED overlapped; in test_WaitDsr() local
1637 ZeroMemory( &overlapped, sizeof(overlapped)); in test_WaitDsr()
1686 OVERLAPPED overlapped; in test_WaitRing() local
1725 ZeroMemory( &overlapped, sizeof(overlapped)); in test_WaitRing()
1806 ZeroMemory( &overlapped, sizeof(overlapped)); in test_WaitDcd()
[all …]
H A Dfile.c2083 OVERLAPPED overlapped; in test_LockFile() local
2127 S(U(overlapped)).Offset = 100; in test_LockFile()
2128 S(U(overlapped)).OffsetHigh = 0; in test_LockFile()
2129 overlapped.hEvent = 0; in test_LockFile()
2132 if (LockFileEx( handle, 0, 0, 100, 0, &overlapped )) in test_LockFile()
2135 ok( LockFileEx( handle, 0, 0, 100, 0, &overlapped ), in test_LockFile()
2140 S(U(overlapped)).Offset = 150; in test_LockFile()
2145 0, 50, 0, &overlapped ), in test_LockFile()
2147 if (!UnlockFileEx( handle, 0, 100, 0, &overlapped )) in test_LockFile()
2149 S(U(overlapped)).Offset = 100; in test_LockFile()
[all …]
H A Dvirtual.c1564 OVERLAPPED overlapped; in test_write_watch() local
1719 memset( &overlapped, 0, sizeof(overlapped) ); in test_write_watch()
1720 overlapped.hEvent = CreateEventA( NULL, TRUE, FALSE, NULL ); in test_write_watch()
1727 success = ConnectNamedPipe( readpipe, &overlapped ); in test_write_watch()
1734 ret = WaitForSingleObject( overlapped.hEvent, 1000 ); in test_write_watch()
1744 success = ReadFile( readpipe, base, size, NULL, &overlapped ); in test_write_watch()
1759 success = GetOverlappedResult( readpipe, &overlapped, &num_bytes, TRUE ); in test_write_watch()
1773 CloseHandle( overlapped.hEvent ); in test_write_watch()
H A Dsync.c694 OVERLAPPED overlapped; in test_iocp_callback() local
732 memset(&overlapped, 0, sizeof(overlapped)); in test_iocp_callback()
733 retb = WriteFile(hFile, buffer, 4, &bytesWritten, &overlapped); in test_iocp_callback()
H A Dprocess.c2392 LPOVERLAPPED overlapped; in _test_completion() local
2397 ret = GetQueuedCompletionStatus(port, &key, &value, &overlapped, wait); in _test_completion()
2404 …ok_(__FILE__, line)(overlapped == (LPOVERLAPPED)eoverlapped, "unexpected overlapped %p\n", overlap… in _test_completion()
/reactos/sdk/lib/ucrt/lowio/
H A Dlocking.cpp19 OVERLAPPED overlapped = { 0 }; in locking_nolock() local
20 overlapped.Offset = static_cast<DWORD>(lock_offset); in locking_nolock()
21 overlapped.OffsetHigh = static_cast<DWORD>((lock_offset >> 32) & 0xffffffff); in locking_nolock()
41 &overlapped) == TRUE; in locking_nolock()
53 &overlapped) == TRUE; in locking_nolock()
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/
H A Dtcp.c74 OVERLAPPED overlapped; in tcp_send() local
75 memset(&overlapped, 0, sizeof(overlapped)); in tcp_send()
79 WriteFile((HANDLE)This->tcp.sock, s->data + total, length - total, NULL, &overlapped); in tcp_send()
99 if(!GetOverlappedResult((HANDLE)This->tcp.sock, &overlapped, &sent, TRUE)) in tcp_send()
159 OVERLAPPED overlapped; in tcp_recv() local
160 memset(&overlapped, 0, sizeof(overlapped)); in tcp_recv()
166 ReadFile((HANDLE)This->tcp.sock, s->end, length, NULL, &overlapped); in tcp_recv()
186 if(!GetOverlappedResult((HANDLE)This->tcp.sock, &overlapped, &rcvd, TRUE)) in tcp_recv()
/reactos/dll/win32/streamci/
H A Dstreamci.c21 OVERLAPPED overlapped; in PerformIO() local
24 ZeroMemory(&overlapped, sizeof(OVERLAPPED)); in PerformIO()
25 overlapped.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL); in PerformIO()
26 if (!overlapped.hEvent) in PerformIO()
32 …, dwCtlCode, lpBufferIn, dwBufferSizeIn, lpBufferOut, dwBufferSizeOut, lpNumberBytes, &overlapped)) in PerformIO()
38 if (GetOverlappedResult(hDevice, &overlapped, lpNumberBytes, TRUE)) in PerformIO()
51 CloseHandle(overlapped.hEvent); in PerformIO()
/reactos/modules/rostests/winetests/hid/
H A Ddevice.c241 OVERLAPPED overlapped; in test_read_device() local
271 memset(&overlapped, 0, sizeof(overlapped)); in test_read_device()
272 overlapped.hEvent = CreateEventA(NULL, FALSE, FALSE, NULL); in test_read_device()
287 ReadFile(device, data, Caps.InputReportByteLength, NULL, &overlapped); in test_read_device()
288 if (WaitForSingleObject(overlapped.hEvent, timeout) != WAIT_OBJECT_0) in test_read_device()
290 ResetEvent(overlapped.hEvent); in test_read_device()
295 ResetEvent(overlapped.hEvent); in test_read_device()
297 GetOverlappedResult(device, &overlapped, &read, FALSE); in test_read_device()
316 CloseHandle(overlapped.hEvent); in test_read_device()
/reactos/modules/rostests/winetests/ws2_32/
H A Dsock.c8233 memset(&overlapped, 0, sizeof(overlapped)); in test_ConnectEx()
8449 memset(&overlapped, 0, sizeof(overlapped)); in test_AcceptEx()
8977 memset(&overlapped, 0, sizeof(overlapped)); in test_DisconnectEx()
8982 memset(&overlapped, 0, sizeof(overlapped)); in test_DisconnectEx()
8993 memset(&overlapped, 0, sizeof(overlapped)); in test_DisconnectEx()
9472 memset(&overlapped, 0, sizeof(overlapped)); in test_sioAddressListChange()
9491 memset(&overlapped, 0, sizeof(overlapped)); in test_sioAddressListChange()
9510 memset(&overlapped, 0, sizeof(overlapped)); in test_sioAddressListChange()
9529 memset(&overlapped, 0, sizeof(overlapped)); in test_sioAddressListChange()
9560 memset(&overlapped, 0, sizeof(overlapped)); in test_sioAddressListChange()
[all …]
/reactos/modules/rostests/winetests/iphlpapi/
H A Diphlpapi.c1264 OVERLAPPED overlapped; in testNotifyAddrChange() local
1280 ZeroMemory(&overlapped, sizeof(overlapped)); in testNotifyAddrChange()
1281 ret = pNotifyAddrChange(&handle, &overlapped); in testNotifyAddrChange()
1290 success = pCancelIPChangeNotify(&overlapped); in testNotifyAddrChange()
1293 ZeroMemory(&overlapped, sizeof(overlapped)); in testNotifyAddrChange()
1294 success = pCancelIPChangeNotify(&overlapped); in testNotifyAddrChange()
1298 ZeroMemory(&overlapped, sizeof(overlapped)); in testNotifyAddrChange()
1300 ret = pNotifyAddrChange(&handle, &overlapped); in testNotifyAddrChange()
1307 success = pCancelIPChangeNotify(&overlapped); in testNotifyAddrChange()
1313 ZeroMemory(&overlapped, sizeof(overlapped)); in testNotifyAddrChange()
[all …]
/reactos/dll/win32/mmdrv/
H A Dwave_io.c18 LPOVERLAPPED overlapped) in CompleteWaveOverlap() argument
/reactos/dll/directx/wine/dmusic/
H A Dport.c410 … LPVOID out_buffer, DWORD out_buffer_size, LPDWORD bytes_returned, LPOVERLAPPED overlapped) in SynthPortImpl_IDirectMusicPort_DeviceIoControl() argument
414 …_control_code, in_buffer, in_buffer_size, out_buffer, out_buffer_size, bytes_returned, overlapped); in SynthPortImpl_IDirectMusicPort_DeviceIoControl()
1048 OVERLAPPED *overlapped) in midi_IDirectMusicPort_DeviceIoControl() argument
1051 , size_out, ret_len, overlapped); in midi_IDirectMusicPort_DeviceIoControl()
/reactos/dll/win32/iphlpapi/
H A Diphlpapi_main.c2712 DWORD WINAPI NotifyAddrChange(PHANDLE Handle, LPOVERLAPPED overlapped) in NotifyAddrChange() argument
2714 FIXME("(Handle %p, overlapped %p): stub\n", Handle, overlapped); in NotifyAddrChange()
2716 if (overlapped) ((IO_STATUS_BLOCK *) overlapped)->Status = STATUS_PENDING; in NotifyAddrChange()
2737 DWORD WINAPI NotifyRouteChange(PHANDLE Handle, LPOVERLAPPED overlapped) in NotifyRouteChange() argument
2739 FIXME("(Handle %p, overlapped %p): stub\n", Handle, overlapped); in NotifyRouteChange()
/reactos/dll/win32/mcicda/
H A Dmcicda.c82 …id *inbuffer, DWORD insize, void *outbuffer, DWORD outsize, DWORD *retsize, OVERLAPPED *overlapped) in device_io() argument
85 … BOOL ret = DeviceIoControl(dev, code, inbuffer, insize, outbuffer, outsize, retsize, overlapped); in device_io()
/reactos/dll/win32/winmm/
H A Dwinmm_res.rc611 L"overlapped\0", 0x00cf0000L, MCI_INTEGER,
768 L"overlapped\0", 0x00cf0000L, MCI_INTEGER,
/reactos/drivers/storage/ide/uniata/
H A Dtodo.txt185 113.add support for hardware queueing/overlapped commands
/reactos/dll/win32/mciavi32/
H A Dmciavi_res.rc204 L"overlapped\0", 0x00cf0000L, MCI_INTEGER,
/reactos/dll/win32/mciqtz32/
H A Dmciavi_res.rc204 L"overlapped\0", 0x00cf0000L, MCI_INTEGER,
/reactos/media/doc/
H A Dnotes130 LPOVERLAPPED lpOverlapped // pointer to overlapped structure for