- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
/*
* HttpReceiveRequestEntityBody
*/
static ULONG __cdecl
HttpReceiveRequestEntityBody_called(BOOL carry_on,
DWORD ret_addr,
HANDLE ReqQueueHandle,
HTTP_REQUEST_ID RequestId,
ULONG Flags,
PVOID pBuffer,
ULONG BufferLength,
PULONG pBytesReceived,
LPOVERLAPPED pOverlapped)
{
if (GetCurrentThreadId() != cur_thread_id && ReqQueueHandle == cur_req_queue)
{
carry_on = FALSE;
return ERROR_IO_PENDING; /* evil evil */
}
return 0;
}
Комментарии (6) RSS
Добавить комментарий