winhttp: Add stub implementation for WinHttpReadData.

This commit is contained in:
Zac Brown 2008-07-07 13:20:57 -07:00 committed by Alexandre Julliard
parent cb5908fcb7
commit 058c23f77d
2 changed files with 13 additions and 1 deletions

View File

@ -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;
}

View File

@ -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