Changeset 4724 for pjproject/trunk/pjlib/src/pj/ioqueue_winnt.c
- Timestamp:
- Jan 31, 2014 8:52:09 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ioqueue_winnt.c
r3553 r4724 634 634 /* 635 635 * Poll the I/O Completion Port, execute callback, 636 * and return the key and bytes transfer ed of the last operation.636 * and return the key and bytes transferred of the last operation. 637 637 */ 638 638 static pj_bool_t poll_iocp( HANDLE hIocp, DWORD dwTimeout, 639 639 pj_ssize_t *p_bytes, pj_ioqueue_key_t **p_key ) 640 640 { 641 DWORD dwBytesTransfer ed, dwKey;641 DWORD dwBytesTransferred, dwKey; 642 642 generic_overlapped *pOv; 643 643 pj_ioqueue_key_t *key; … … 646 646 647 647 /* Poll for completion status. */ 648 rcGetQueued = GetQueuedCompletionStatus(hIocp, &dwBytesTransfer ed,648 rcGetQueued = GetQueuedCompletionStatus(hIocp, &dwBytesTransferred, 649 649 &dwKey, (OVERLAPPED**)&pOv, 650 650 dwTimeout); … … 660 660 /* Event was dequeued for either successfull or failed I/O */ 661 661 key = (pj_ioqueue_key_t*)dwKey; 662 size_status = dwBytesTransfer ed;662 size_status = dwBytesTransferred; 663 663 664 664 /* Report to caller regardless */ … … 1382 1382 { 1383 1383 BOOL rc; 1384 DWORD bytesTransfer ed;1384 DWORD bytesTransferred; 1385 1385 1386 1386 rc = GetOverlappedResult( key->hnd, (LPOVERLAPPED)op_key, 1387 &bytesTransfer ed, FALSE );1387 &bytesTransferred, FALSE ); 1388 1388 1389 1389 if (rc == FALSE) {
Note: See TracChangeset
for help on using the changeset viewer.