mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
Report real handles to the application, not Wine internal ones.
This commit is contained in:
parent
a9d2fb8ee7
commit
a29b4c7cde
@ -982,7 +982,7 @@ HINTERNET FTP_FtpOpenFileA(HINTERNET hFtpSession,
|
||||
|
||||
if (lpwh)
|
||||
{
|
||||
iar.dwResult = (DWORD)lpwh;
|
||||
iar.dwResult = (DWORD)handle;
|
||||
iar.dwError = ERROR_SUCCESS;
|
||||
hIC->lpfnStatusCB(hFtpSession, lpwfs->hdr.dwContext, INTERNET_STATUS_HANDLE_CREATED,
|
||||
&iar, sizeof(INTERNET_ASYNC_RESULT));
|
||||
@ -1582,7 +1582,7 @@ HINTERNET FTP_Connect(HINTERNET hInternet, LPCSTR lpszServerName,
|
||||
{
|
||||
INTERNET_ASYNC_RESULT iar;
|
||||
|
||||
iar.dwResult = (DWORD)lpwfs;
|
||||
iar.dwResult = (DWORD)handle;
|
||||
iar.dwError = ERROR_SUCCESS;
|
||||
|
||||
hIC->lpfnStatusCB(hInternet, dwContext, INTERNET_STATUS_HANDLE_CREATED,
|
||||
|
@ -679,7 +679,7 @@ HINTERNET WINAPI HTTP_HttpOpenRequestA(HINTERNET hHttpSession,
|
||||
{
|
||||
INTERNET_ASYNC_RESULT iar;
|
||||
|
||||
iar.dwResult = (DWORD)lpwhr;
|
||||
iar.dwResult = (DWORD)handle;
|
||||
iar.dwError = ERROR_SUCCESS;
|
||||
|
||||
SendAsyncCallback(hIC, hHttpSession, dwContext,
|
||||
@ -1626,7 +1626,7 @@ HINTERNET HTTP_Connect(HINTERNET hInternet, LPCSTR lpszServerName,
|
||||
{
|
||||
INTERNET_ASYNC_RESULT iar;
|
||||
|
||||
iar.dwResult = (DWORD)lpwhs;
|
||||
iar.dwResult = (DWORD)handle;
|
||||
iar.dwError = ERROR_SUCCESS;
|
||||
|
||||
SendAsyncCallback(hIC, hInternet, dwContext,
|
||||
|
Loading…
Reference in New Issue
Block a user