winhttp: Add stub implementation for WinHttpSendRequest.

This commit is contained in:
Zac Brown 2008-07-02 14:37:35 -07:00 committed by Alexandre Julliard
parent ae1e79d43e
commit f094b4332d
2 changed files with 14 additions and 1 deletions

View File

@ -167,3 +167,16 @@ HINTERNET WINAPI WinHttpOpenRequest (HINTERNET hConnect, LPCWSTR pwszVerb, LPCWS
SetLastError(ERROR_NOT_SUPPORTED); SetLastError(ERROR_NOT_SUPPORTED);
return NULL; return NULL;
} }
/***********************************************************************
* WinHttpSendRequest (winhttp.@)
*/
BOOL WINAPI WinHttpSendRequest (HINTERNET hRequest, LPCWSTR pwszHeaders, DWORD dwHeadersLength,
LPVOID lpOptional, DWORD dwOptionalLength, DWORD dwTotalLength,
DWORD_PTR dwContext)
{
FIXME("(%s, %d, %d, %d): stub\n", debugstr_w(pwszHeaders), dwHeadersLength, dwOptionalLength, dwTotalLength);
SetLastError(ERROR_NOT_SUPPORTED);
return FALSE;
}

View File

@ -20,7 +20,7 @@
@ stub WinHttpQueryOption @ stub WinHttpQueryOption
@ stub WinHttpReadData @ stub WinHttpReadData
@ stub WinHttpReceiveResponse @ stub WinHttpReceiveResponse
@ stub WinHttpSendRequest @ stdcall WinHttpSendRequest(ptr wstr long ptr long long ptr)
@ stub WinHttpSetCredentials @ stub WinHttpSetCredentials
@ stub WinHttpSetDefaultProxyConfiguration @ stub WinHttpSetDefaultProxyConfiguration
@ stub WinHttpSetOption @ stub WinHttpSetOption