wininet: Add prototypes for a couple of mpr functions.

Francois Gouget fgouget at free.fr
Tue Nov 15 07:34:41 CST 2011


They are not declared in any public header and will be called with the 
wrong calling convention without these.
---
 dlls/wininet/dialogs.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/wininet/dialogs.c b/dlls/wininet/dialogs.c
index 4a24818..9674718 100644
--- a/dlls/wininet/dialogs.c
+++ b/dlls/wininet/dialogs.c
@@ -170,6 +170,10 @@ static BOOL WININET_GetAuthRealm( HINTERNET hRequest, LPWSTR szBuf, DWORD sz, BO
     return TRUE;
 }
 
+/* These two are not defined in the public headers */
+extern DWORD WINAPI WNetCachePassword(LPSTR,WORD,LPSTR,WORD,BYTE,WORD);
+extern DWORD WINAPI WNetGetCachedPassword(LPSTR,WORD,LPSTR,LPWORD,BYTE);
+
 /***********************************************************************
  *         WININET_GetSetPassword
  */
-- 
1.7.7.1



More information about the wine-patches mailing list