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
e50dc73b
Commit
e50dc73b
authored
Nov 04, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon/tests: Preparation for -D__WINESRC__.
parent
b9e1bcb7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
20 deletions
+20
-20
misc.c
dlls/urlmon/tests/misc.c
+2
-2
protocol.c
dlls/urlmon/tests/protocol.c
+5
-5
sec_mgr.c
dlls/urlmon/tests/sec_mgr.c
+4
-4
url.c
dlls/urlmon/tests/url.c
+9
-9
No files found.
dlls/urlmon/tests/misc.c
View file @
e50dc73b
...
...
@@ -1783,7 +1783,7 @@ static void test_internet_features_registry(void) {
RegCloseKey
(
feature
);
RegDeleteKeyA
(
feature_control
,
szFeatureBehaviorsKey
);
}
else
{
RegDeleteValue
(
feature
,
name
);
RegDeleteValue
A
(
feature
,
name
);
RegCloseKey
(
feature
);
}
...
...
@@ -1905,7 +1905,7 @@ START_TEST(misc)
{
HMODULE
hurlmon
;
hurlmon
=
GetModuleHandle
(
"urlmon.dll"
);
hurlmon
=
GetModuleHandle
A
(
"urlmon.dll"
);
pCoInternetCompareUrl
=
(
void
*
)
GetProcAddress
(
hurlmon
,
"CoInternetCompareUrl"
);
pCoInternetGetSecurityUrl
=
(
void
*
)
GetProcAddress
(
hurlmon
,
"CoInternetGetSecurityUrl"
);
pCoInternetGetSession
=
(
void
*
)
GetProcAddress
(
hurlmon
,
"CoInternetGetSession"
);
...
...
dlls/urlmon/tests/protocol.c
View file @
e50dc73b
...
...
@@ -3722,7 +3722,7 @@ START_TEST(protocol)
{
HMODULE
hurlmon
;
hurlmon
=
GetModuleHandle
(
"urlmon.dll"
);
hurlmon
=
GetModuleHandle
A
(
"urlmon.dll"
);
pCoInternetGetSession
=
(
void
*
)
GetProcAddress
(
hurlmon
,
"CoInternetGetSession"
);
pReleaseBindInfo
=
(
void
*
)
GetProcAddress
(
hurlmon
,
"ReleaseBindInfo"
);
pCreateUri
=
(
void
*
)
GetProcAddress
(
hurlmon
,
"CreateUri"
);
...
...
@@ -3737,10 +3737,10 @@ START_TEST(protocol)
OleInitialize
(
NULL
);
event_complete
=
CreateEvent
(
NULL
,
FALSE
,
FALSE
,
NULL
);
event_complete2
=
CreateEvent
(
NULL
,
FALSE
,
FALSE
,
NULL
);
event_continue
=
CreateEvent
(
NULL
,
FALSE
,
FALSE
,
NULL
);
event_continue_done
=
CreateEvent
(
NULL
,
FALSE
,
FALSE
,
NULL
);
event_complete
=
CreateEvent
W
(
NULL
,
FALSE
,
FALSE
,
NULL
);
event_complete2
=
CreateEvent
W
(
NULL
,
FALSE
,
FALSE
,
NULL
);
event_continue
=
CreateEvent
W
(
NULL
,
FALSE
,
FALSE
,
NULL
);
event_continue_done
=
CreateEvent
W
(
NULL
,
FALSE
,
FALSE
,
NULL
);
thread_id
=
GetCurrentThreadId
();
test_file_protocol
();
...
...
dlls/urlmon/tests/sec_mgr.c
View file @
e50dc73b
...
...
@@ -514,7 +514,7 @@ static void test_url_action(IInternetSecurityManager *secmgr, IInternetZoneManag
return
;
}
wsprintf
(
buf
,
"%X"
,
action
);
wsprintf
A
(
buf
,
"%X"
,
action
);
size
=
sizeof
(
DWORD
);
res
=
RegQueryValueExA
(
hkey
,
buf
,
NULL
,
NULL
,
(
BYTE
*
)
&
reg_policy
,
&
size
);
RegCloseKey
(
hkey
);
...
...
@@ -843,7 +843,7 @@ static void run_child_process(void)
char
path
[
MAX_PATH
];
char
**
argv
;
PROCESS_INFORMATION
pi
;
STARTUPINFO
si
=
{
0
};
STARTUPINFO
A
si
=
{
0
};
BOOL
ret
;
GetModuleFileNameA
(
NULL
,
path
,
MAX_PATH
);
...
...
@@ -851,7 +851,7 @@ static void run_child_process(void)
si
.
cb
=
sizeof
(
si
);
winetest_get_mainargs
(
&
argv
);
sprintf
(
cmdline
,
"
\"
%s
\"
%s domain_tests"
,
argv
[
0
],
argv
[
1
]);
ret
=
CreateProcess
(
argv
[
0
],
cmdline
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
);
ret
=
CreateProcess
A
(
argv
[
0
],
cmdline
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
);
ok
(
ret
,
"Failed to spawn child process: %u
\n
"
,
GetLastError
());
winetest_wait_child_process
(
pi
.
hProcess
);
CloseHandle
(
pi
.
hThread
);
...
...
@@ -1991,7 +1991,7 @@ START_TEST(sec_mgr)
int
argc
;
char
**
argv
;
hurlmon
=
GetModuleHandle
(
"urlmon.dll"
);
hurlmon
=
GetModuleHandle
A
(
"urlmon.dll"
);
pCoInternetCreateSecurityManager
=
(
void
*
)
GetProcAddress
(
hurlmon
,
"CoInternetCreateSecurityManager"
);
pCoInternetCreateZoneManager
=
(
void
*
)
GetProcAddress
(
hurlmon
,
"CoInternetCreateZoneManager"
);
pCoInternetGetSecurityUrl
=
(
void
*
)
GetProcAddress
(
hurlmon
,
"CoInternetGetSecurityUrl"
);
...
...
dlls/urlmon/tests/url.c
View file @
e50dc73b
...
...
@@ -1977,9 +1977,9 @@ static HRESULT WINAPI statusclb_OnDataAvailable(IBindStatusCallbackEx *iface, DW
if
(
mime_type
[
0
])
{
INT
ret
;
clipfmt
[
0
]
=
0
;
ret
=
GetClipboardFormatName
(
pformatetc
->
cfFormat
,
clipfmt
,
sizeof
(
clipfmt
)
-
1
);
ret
=
GetClipboardFormatName
A
(
pformatetc
->
cfFormat
,
clipfmt
,
sizeof
(
clipfmt
)
-
1
);
ok
(
ret
,
"GetClipboardFormatName failed, error %d
\n
"
,
GetLastError
());
ok
(
!
l
strcmp
(
clipfmt
,
mime_type
),
"clipformat %x != mime_type,
\"
%s
\"
!=
\"
%s
\"\n
"
,
ok
(
!
strcmp
(
clipfmt
,
mime_type
),
"clipformat %x != mime_type,
\"
%s
\"
!=
\"
%s
\"\n
"
,
pformatetc
->
cfFormat
,
clipfmt
,
mime_type
);
}
else
{
ok
(
pformatetc
->
cfFormat
==
0
,
"clipformat=%x
\n
"
,
pformatetc
->
cfFormat
);
...
...
@@ -3053,9 +3053,9 @@ static void test_BindToStorage(int protocol, DWORD flags, DWORD t)
return
;
if
((
bindf
&
BINDF_ASYNCHRONOUS
)
&&
!
no_callback
)
{
while
(
!
stopped_binding
&&
GetMessage
(
&
msg
,
NULL
,
0
,
0
))
{
while
(
!
stopped_binding
&&
GetMessage
A
(
&
msg
,
NULL
,
0
,
0
))
{
TranslateMessage
(
&
msg
);
DispatchMessage
(
&
msg
);
DispatchMessage
A
(
&
msg
);
}
}
...
...
@@ -3323,9 +3323,9 @@ static void test_BindToObject(int protocol, DWORD flags, HRESULT exhres)
IUnknown_Release
(
unk
);
while
((
bindf
&
BINDF_ASYNCHRONOUS
)
&&
!
((
!
emulate_protocol
||
stopped_binding
)
&&
stopped_obj_binding
)
&&
GetMessage
(
&
msg
,
NULL
,
0
,
0
))
{
!
((
!
emulate_protocol
||
stopped_binding
)
&&
stopped_obj_binding
)
&&
GetMessage
A
(
&
msg
,
NULL
,
0
,
0
))
{
TranslateMessage
(
&
msg
);
DispatchMessage
(
&
msg
);
DispatchMessage
A
(
&
msg
);
}
CLEAR_CALLED
(
QueryInterface_IBindStatusCallbackEx
);
...
...
@@ -3835,7 +3835,7 @@ START_TEST(url)
{
HMODULE
hurlmon
;
hurlmon
=
GetModuleHandle
(
"urlmon.dll"
);
hurlmon
=
GetModuleHandle
A
(
"urlmon.dll"
);
pCreateAsyncBindCtxEx
=
(
void
*
)
GetProcAddress
(
hurlmon
,
"CreateAsyncBindCtxEx"
);
if
(
!
GetProcAddress
(
hurlmon
,
"CompareSecurityIds"
))
{
...
...
@@ -3847,8 +3847,8 @@ START_TEST(url)
if
(
!
pCreateUri
)
win_skip
(
"IUri not supported
\n
"
);
complete_event
=
CreateEvent
(
NULL
,
FALSE
,
FALSE
,
NULL
);
complete_event2
=
CreateEvent
(
NULL
,
FALSE
,
FALSE
,
NULL
);
complete_event
=
CreateEvent
W
(
NULL
,
FALSE
,
FALSE
,
NULL
);
complete_event2
=
CreateEvent
W
(
NULL
,
FALSE
,
FALSE
,
NULL
);
thread_id
=
GetCurrentThreadId
();
create_html_file
();
create_cache_file
();
...
...
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