Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fc7f6071
Commit
fc7f6071
authored
Jan 06, 2001
by
Huw D M Davies
Committed by
Alexandre Julliard
Jan 06, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement InternetCanonicalizeUrl.
parent
d8dea427
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
Makefile.in
dlls/Makefile.in
+1
-1
internet.c
dlls/wininet/internet.c
+10
-10
wininet.spec
dlls/wininet/wininet.spec
+1
-0
No files found.
dlls/Makefile.in
View file @
fc7f6071
...
...
@@ -445,7 +445,7 @@ win32s/libw32skrnl.@LIBEXT@: libkernel32.@LIBEXT@ libntdll.@LIBEXT@
winaspi/libwnaspi32.@LIBEXT@
:
libadvapi32.@LIBEXT@ libkernel32.@LIBEXT@ libntdll.@LIBEXT@
winedos/libwinedos.@LIBEXT@
:
libuser32.@LIBEXT@ libkernel32.@LIBEXT@ libntdll.@LIBEXT@
wineps/libwineps.@LIBEXT@
:
libuser32.@LIBEXT@ libgdi32.@LIBEXT@ libkernel32.@LIBEXT@ libntdll.@LIBEXT@
wininet/libwininet.@LIBEXT@
:
libuser32.@LIBEXT@ libkernel32.@LIBEXT@ libntdll.@LIBEXT@
wininet/libwininet.@LIBEXT@
:
lib
shlwapi.@LIBEXT@ lib
user32.@LIBEXT@ libkernel32.@LIBEXT@ libntdll.@LIBEXT@
winmm/joystick/libjoystick.drv.@LIBEXT@
:
libwinmm.@LIBEXT@ libuser32.@LIBEXT@ libntdll.@LIBEXT@
winmm/libwinmm.@LIBEXT@
:
libuser32.@LIBEXT@ libadvapi32.@LIBEXT@ libkernel32.@LIBEXT@ libntdll.@LIBEXT@
winmm/mcianim/libmcianim.drv.@LIBEXT@
:
libwinmm.@LIBEXT@ libuser32.@LIBEXT@ libkernel32.@LIBEXT@ libntdll.@LIBEXT@
...
...
dlls/wininet/internet.c
View file @
fc7f6071
...
...
@@ -25,6 +25,7 @@
#include "debugtools.h"
#include "winerror.h"
#include "winsock.h"
#include "shlwapi.h"
#include "internet.h"
...
...
@@ -724,20 +725,19 @@ INTERNETAPI DWORD WINAPI InternetAttemptConnect(DWORD dwReserved)
BOOL
WINAPI
InternetCanonicalizeUrlA
(
LPCSTR
lpszUrl
,
LPSTR
lpszBuffer
,
LPDWORD
lpdwBufferLength
,
DWORD
dwFlags
)
{
BOOL
bSuccess
=
FALSE
;
HRESULT
hr
;
TRACE
(
"%s %p %p %08lx
\n
"
,
debugstr_a
(
lpszUrl
),
lpszBuffer
,
lpdwBufferLength
,
dwFlags
);
FIXME
(
"Stub!
\n
"
);
/* Flip this bit to correspond to URL_ESCAPE_UNSAFE */
dwFlags
^=
ICU_NO_ENCODE
;
if
(
lpszUrl
)
{
strncpy
(
lpszBuffer
,
lpszUrl
,
*
lpdwBufferLength
);
*
lpdwBufferLength
=
strlen
(
lpszBuffer
);
bSuccess
=
TRUE
;
}
dwFlags
|=
0x80000000
;
/* Don't know what this means */
return
bSuccess
;
}
hr
=
UrlCanonicalizeA
(
lpszUrl
,
lpszBuffer
,
lpdwBufferLength
,
dwFlags
);
return
(
hr
==
S_OK
)
?
TRUE
:
FALSE
;
}
/***********************************************************************
* InternetSetStatusCallback (WININET.133)
...
...
dlls/wininet/wininet.spec
View file @
fc7f6071
...
...
@@ -2,6 +2,7 @@ name wininet
type win32
init WININET_LibMain
import shlwapi.dll
import user32.dll
import kernel32.dll
import ntdll.dll
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment