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
e688167c
Commit
e688167c
authored
Jul 08, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Register interfaces and add a typelib resource.
parent
d25abc35
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
6 deletions
+36
-6
.gitignore
.gitignore
+1
-0
Makefile.in
dlls/winhttp/Makefile.in
+4
-2
main.c
dlls/winhttp/main.c
+6
-4
version.rc
dlls/winhttp/version.rc
+3
-0
winhttp_tlb.idl
dlls/winhttp/winhttp_tlb.idl
+21
-0
wine.inf.in
tools/wine.inf.in
+1
-0
No files found.
.gitignore
View file @
e688167c
...
@@ -140,6 +140,7 @@ dlls/urlmon/urlmon_urlmon_p.c
...
@@ -140,6 +140,7 @@ dlls/urlmon/urlmon_urlmon_p.c
dlls/vbscript/vbscript_classes.h
dlls/vbscript/vbscript_classes.h
dlls/windowscodecs/windowscodecs_wincodec.h
dlls/windowscodecs/windowscodecs_wincodec.h
dlls/windowscodecs/windowscodecs_wincodec_p.c
dlls/windowscodecs/windowscodecs_wincodec_p.c
dlls/winhttp/winhttp_tlb.tlb
dlls/wuapi/wuapi_tlb.tlb
dlls/wuapi/wuapi_tlb.tlb
include/activaut.h
include/activaut.h
include/activdbg.h
include/activdbg.h
...
...
dlls/winhttp/Makefile.in
View file @
e688167c
...
@@ -13,7 +13,9 @@ C_SRCS = \
...
@@ -13,7 +13,9 @@ C_SRCS = \
session.c
\
session.c
\
url.c
url.c
RC_SRCS
=
\
IDL_TLB_SRCS
=
winhttp_tlb.idl
version.rc
IDL_R_SRCS
=
winhttp_tlb.idl
RC_SRCS
=
version.rc
@MAKE_DLL_RULES@
@MAKE_DLL_RULES@
dlls/winhttp/main.c
View file @
e688167c
...
@@ -23,12 +23,15 @@
...
@@ -23,12 +23,15 @@
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "objbase.h"
#include "objbase.h"
#include "rpcproxy.h"
#include "httprequest.h"
#include "httprequest.h"
#include "winhttp.h"
#include "winhttp.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "winhttp_private.h"
#include "winhttp_private.h"
static
HINSTANCE
instance
;
WINE_DEFAULT_DEBUG_CHANNEL
(
winhttp
);
WINE_DEFAULT_DEBUG_CHANNEL
(
winhttp
);
/******************************************************************
/******************************************************************
...
@@ -39,6 +42,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
...
@@ -39,6 +42,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
switch
(
fdwReason
)
switch
(
fdwReason
)
{
{
case
DLL_PROCESS_ATTACH
:
case
DLL_PROCESS_ATTACH
:
instance
=
hInstDLL
;
DisableThreadLibraryCalls
(
hInstDLL
);
DisableThreadLibraryCalls
(
hInstDLL
);
break
;
break
;
case
DLL_PROCESS_DETACH
:
case
DLL_PROCESS_DETACH
:
...
@@ -166,8 +170,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
...
@@ -166,8 +170,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
*/
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
{
FIXME
(
"()
\n
"
);
return
__wine_register_resources
(
instance
,
NULL
);
return
S_OK
;
}
}
/***********************************************************************
/***********************************************************************
...
@@ -175,6 +178,5 @@ HRESULT WINAPI DllRegisterServer(void)
...
@@ -175,6 +178,5 @@ HRESULT WINAPI DllRegisterServer(void)
*/
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
{
FIXME
(
"()
\n
"
);
return
__wine_unregister_resources
(
instance
,
NULL
);
return
S_OK
;
}
}
dlls/winhttp/version.rc
View file @
e688167c
...
@@ -16,6 +16,9 @@
...
@@ -16,6 +16,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
/* @makedep: winhttp_tlb.tlb */
1 TYPELIB winhttp_tlb.tlb
#define WINE_FILEDESCRIPTION_STR "Wine HTTP Library"
#define WINE_FILEDESCRIPTION_STR "Wine HTTP Library"
#define WINE_FILENAME_STR "winhttp.dll"
#define WINE_FILENAME_STR "winhttp.dll"
#define WINE_FILEVERSION_MAJOR 5
#define WINE_FILEVERSION_MAJOR 5
...
...
dlls/winhttp/winhttp_tlb.idl
0 → 100644
View file @
e688167c
/*
*
Typelib
for
winhttp
*
*
Copyright
2011
Hans
Leidekker
for
CodeWeavers
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
#
include
"httprequest.idl"
tools/wine.inf.in
View file @
e688167c
...
@@ -2564,6 +2564,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
...
@@ -2564,6 +2564,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
11,,windowscodecs.dll,1
11,,windowscodecs.dll,1
11,,winegstreamer.dll,1
11,,winegstreamer.dll,1
11,,wineqtdecoder.dll,1
11,,wineqtdecoder.dll,1
11,,winhttp.dll,1
11,,wintrust.dll,1
11,,wintrust.dll,1
11,,wmiutils.dll,1
11,,wmiutils.dll,1
11,,wuapi.dll,1
11,,wuapi.dll,1
...
...
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