imported wininet from wine
Deleted: trunk/reactos/lib/wininet/.cvsignore
Modified: trunk/reactos/lib/wininet/dialogs.c
Modified: trunk/reactos/lib/wininet/netconnection.c
Deleted: trunk/reactos/lib/wininet/tests/.cvsignore
Modified: trunk/reactos/lib/wininet/utility.c
_____
Deleted: trunk/reactos/lib/wininet/.cvsignore
--- trunk/reactos/lib/wininet/.cvsignore 2005-04-19 04:50:10 UTC
(rev 14691)
+++ trunk/reactos/lib/wininet/.cvsignore 2005-04-19 04:57:39 UTC
(rev 14692)
@@ -1,5 +0,0 @@
-Makefile
-rsrc.res
-version.res
-wininet.dll.dbg.c
-wininet.spec.def
_____
Modified: trunk/reactos/lib/wininet/dialogs.c
--- trunk/reactos/lib/wininet/dialogs.c 2005-04-19 04:50:10 UTC (rev
14691)
+++ trunk/reactos/lib/wininet/dialogs.c 2005-04-19 04:57:39 UTC (rev
14692)
@@ -157,6 +157,7 @@
*/
if( bSet )
{
+#ifndef __REACTOS__
szUserPass[0] = 0;
GetWindowTextW( hUserItem, szUserPass,
(sizeof szUserPass-1)/sizeof(WCHAR) );
@@ -171,14 +172,17 @@
(CHAR*)szUserPass, u_len, dwMagic, 0 );
return ( r == WN_SUCCESS );
+#else
+ return FALSE;
+#endif
}
sz = sizeof szUserPass;
r_len = (strlenW( szResource ) + 1)*sizeof(WCHAR);
- r = WNetGetCachedPassword( (CHAR*)szResource, r_len,
- (CHAR*)szUserPass, &sz, dwMagic );
- if( r != WN_SUCCESS )
- return FALSE;
+// r = WNetGetCachedPassword( (CHAR*)szResource, r_len,
+// (CHAR*)szUserPass, &sz, dwMagic );
+// if( r != WN_SUCCESS )
+// return FALSE;
p = strchrW( szUserPass, ':' );
if( p )
_____
Modified: trunk/reactos/lib/wininet/netconnection.c
--- trunk/reactos/lib/wininet/netconnection.c 2005-04-19 04:50:10 UTC
(rev 14691)
+++ trunk/reactos/lib/wininet/netconnection.c 2005-04-19 04:57:39 UTC
(rev 14692)
@@ -37,7 +37,7 @@
#include <stdlib.h>
#include <string.h>
-#include "wine/library.h"
+//#include "wine/library.h"
#include "windef.h"
#include "winbase.h"
#include "wininet.h"
_____
Deleted: trunk/reactos/lib/wininet/tests/.cvsignore
--- trunk/reactos/lib/wininet/tests/.cvsignore 2005-04-19 04:50:10 UTC
(rev 14691)
+++ trunk/reactos/lib/wininet/tests/.cvsignore 2005-04-19 04:57:39 UTC
(rev 14692)
@@ -1,4 +0,0 @@
-Makefile
-generated.ok
-http.ok
-testlist.c
_____
Modified: trunk/reactos/lib/wininet/utility.c
--- trunk/reactos/lib/wininet/utility.c 2005-04-19 04:50:10 UTC (rev
14691)
+++ trunk/reactos/lib/wininet/utility.c 2005-04-19 04:57:39 UTC (rev
14692)
@@ -42,7 +42,9 @@
WINE_DEFAULT_DEBUG_CHANNEL(wininet);
#define TIME_STRING_LEN 30
+#define CP_UNIXCP 65010 /* Wine extension */
+
time_t ConvertTimeString(LPCWSTR asctime)
{
WCHAR tmpChar[TIME_STRING_LEN];