Commit a29b4c7c authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

Report real handles to the application, not Wine internal ones.

parent a9d2fb8e
...@@ -982,7 +982,7 @@ HINTERNET FTP_FtpOpenFileA(HINTERNET hFtpSession, ...@@ -982,7 +982,7 @@ HINTERNET FTP_FtpOpenFileA(HINTERNET hFtpSession,
if (lpwh) if (lpwh)
{ {
iar.dwResult = (DWORD)lpwh; iar.dwResult = (DWORD)handle;
iar.dwError = ERROR_SUCCESS; iar.dwError = ERROR_SUCCESS;
hIC->lpfnStatusCB(hFtpSession, lpwfs->hdr.dwContext, INTERNET_STATUS_HANDLE_CREATED, hIC->lpfnStatusCB(hFtpSession, lpwfs->hdr.dwContext, INTERNET_STATUS_HANDLE_CREATED,
&iar, sizeof(INTERNET_ASYNC_RESULT)); &iar, sizeof(INTERNET_ASYNC_RESULT));
...@@ -1582,7 +1582,7 @@ HINTERNET FTP_Connect(HINTERNET hInternet, LPCSTR lpszServerName, ...@@ -1582,7 +1582,7 @@ HINTERNET FTP_Connect(HINTERNET hInternet, LPCSTR lpszServerName,
{ {
INTERNET_ASYNC_RESULT iar; INTERNET_ASYNC_RESULT iar;
iar.dwResult = (DWORD)lpwfs; iar.dwResult = (DWORD)handle;
iar.dwError = ERROR_SUCCESS; iar.dwError = ERROR_SUCCESS;
hIC->lpfnStatusCB(hInternet, dwContext, INTERNET_STATUS_HANDLE_CREATED, hIC->lpfnStatusCB(hInternet, dwContext, INTERNET_STATUS_HANDLE_CREATED,
......
...@@ -679,7 +679,7 @@ HINTERNET WINAPI HTTP_HttpOpenRequestA(HINTERNET hHttpSession, ...@@ -679,7 +679,7 @@ HINTERNET WINAPI HTTP_HttpOpenRequestA(HINTERNET hHttpSession,
{ {
INTERNET_ASYNC_RESULT iar; INTERNET_ASYNC_RESULT iar;
iar.dwResult = (DWORD)lpwhr; iar.dwResult = (DWORD)handle;
iar.dwError = ERROR_SUCCESS; iar.dwError = ERROR_SUCCESS;
SendAsyncCallback(hIC, hHttpSession, dwContext, SendAsyncCallback(hIC, hHttpSession, dwContext,
...@@ -1626,7 +1626,7 @@ HINTERNET HTTP_Connect(HINTERNET hInternet, LPCSTR lpszServerName, ...@@ -1626,7 +1626,7 @@ HINTERNET HTTP_Connect(HINTERNET hInternet, LPCSTR lpszServerName,
{ {
INTERNET_ASYNC_RESULT iar; INTERNET_ASYNC_RESULT iar;
iar.dwResult = (DWORD)lpwhs; iar.dwResult = (DWORD)handle;
iar.dwError = ERROR_SUCCESS; iar.dwError = ERROR_SUCCESS;
SendAsyncCallback(hIC, hInternet, dwContext, SendAsyncCallback(hIC, hInternet, dwContext,
......
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