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
f8d79c83
Commit
f8d79c83
authored
Dec 30, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jan 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Remove unused IUnknown *outer parameter from object constructor.
parent
5cf3c1f4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
main.c
dlls/winhttp/main.c
+2
-5
request.c
dlls/winhttp/request.c
+2
-2
winhttp_private.h
dlls/winhttp/winhttp_private.h
+1
-1
No files found.
dlls/winhttp/main.c
View file @
f8d79c83
...
...
@@ -53,7 +53,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
return
TRUE
;
}
typedef
HRESULT
(
*
fnCreateInstance
)(
IUnknown
*
outer
,
void
**
obj
);
typedef
HRESULT
(
*
fnCreateInstance
)(
void
**
obj
);
struct
winhttp_cf
{
...
...
@@ -110,14 +110,11 @@ static HRESULT WINAPI requestcf_CreateInstance(
if
(
outer
)
return
CLASS_E_NOAGGREGATION
;
hr
=
cf
->
pfnCreateInstance
(
outer
,
(
void
**
)
&
unknown
);
hr
=
cf
->
pfnCreateInstance
(
(
void
**
)
&
unknown
);
if
(
FAILED
(
hr
))
return
hr
;
hr
=
IUnknown_QueryInterface
(
unknown
,
riid
,
obj
);
if
(
FAILED
(
hr
))
return
hr
;
IUnknown_Release
(
unknown
);
return
hr
;
}
...
...
dlls/winhttp/request.c
View file @
f8d79c83
...
...
@@ -3814,11 +3814,11 @@ static const struct IWinHttpRequestVtbl winhttp_request_vtbl =
winhttp_request_SetAutoLogonPolicy
};
HRESULT
WinHttpRequest_create
(
IUnknown
*
unknown
,
void
**
obj
)
HRESULT
WinHttpRequest_create
(
void
**
obj
)
{
struct
winhttp_request
*
request
;
TRACE
(
"%p
, %p
\n
"
,
unknown
,
obj
);
TRACE
(
"%p
\n
"
,
obj
);
if
(
!
(
request
=
heap_alloc
(
sizeof
(
*
request
)
)))
return
E_OUTOFMEMORY
;
request
->
IWinHttpRequest_iface
.
lpVtbl
=
&
winhttp_request_vtbl
;
...
...
dlls/winhttp/winhttp_private.h
View file @
f8d79c83
...
...
@@ -282,7 +282,7 @@ void delete_domain( domain_t * ) DECLSPEC_HIDDEN;
BOOL
set_server_for_hostname
(
connect_t
*
,
LPCWSTR
,
INTERNET_PORT
)
DECLSPEC_HIDDEN
;
void
destroy_authinfo
(
struct
authinfo
*
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WinHttpRequest_create
(
IUnknown
*
,
void
**
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WinHttpRequest_create
(
void
**
)
DECLSPEC_HIDDEN
;
static
inline
const
char
*
debugstr_variant
(
const
VARIANT
*
v
)
{
...
...
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