Commit 058c23f7 authored by Zac Brown's avatar Zac Brown Committed by Alexandre Julliard

winhttp: Add stub implementation for WinHttpReadData.

parent cb5908fc
......@@ -224,3 +224,15 @@ BOOL WINAPI WinHttpSetOption (HINTERNET hInternet, DWORD dwOption, LPVOID lpBuff
SetLastError(ERROR_NOT_SUPPORTED);
return FALSE;
}
/***********************************************************************
* WinHttpReadData (winhttp.@)
*/
BOOL WINAPI WinHttpReadData (HINTERNET hInternet, LPVOID lpBuffer, DWORD dwNumberOfBytesToRead,
LPDWORD lpdwNumberOfBytesRead)
{
FIXME("(%d): stub\n", dwNumberOfBytesToRead);
SetLastError(ERROR_NOT_SUPPORTED);
return FALSE;
}
......@@ -18,7 +18,7 @@
@ stdcall WinHttpQueryDataAvailable(ptr ptr)
@ stub WinHttpQueryHeaders
@ stdcall WinHttpQueryOption(ptr long ptr ptr)
@ stub WinHttpReadData
@ stdcall WinHttpReadData(ptr ptr long ptr)
@ stdcall WinHttpReceiveResponse(ptr ptr)
@ stdcall WinHttpSendRequest(ptr wstr long ptr long long ptr)
@ stub WinHttpSetCredentials
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment