Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f09bbacf
Commit
f09bbacf
authored
May 03, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
May 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: get_msi_typelib() is not used anymore so remove it.
parent
c3bac586
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
37 deletions
+0
-37
msi_main.c
dlls/msi/msi_main.c
+0
-36
msipriv.h
dlls/msi/msipriv.h
+0
-1
No files found.
dlls/msi/msi_main.c
View file @
f09bbacf
...
...
@@ -49,8 +49,6 @@ LPVOID gUIContext = NULL;
WCHAR
*
gszLogFile
=
NULL
;
HINSTANCE
msi_hInstance
;
static
WCHAR
msi_path
[
MAX_PATH
];
static
ITypeLib
*
msi_typelib
;
/*
* Dll lifetime tracking declaration
...
...
@@ -77,7 +75,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
DisableThreadLibraryCalls
(
hinstDLL
);
break
;
case
DLL_PROCESS_DETACH
:
if
(
msi_typelib
)
ITypeLib_Release
(
msi_typelib
);
msi_dialog_unregister_class
();
msi_free_handle_table
();
msi_free
(
gszLogFile
);
...
...
@@ -86,39 +83,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return
TRUE
;
}
static
CRITICAL_SECTION
MSI_typelib_cs
;
static
CRITICAL_SECTION_DEBUG
MSI_typelib_cs_debug
=
{
0
,
0
,
&
MSI_typelib_cs
,
{
&
MSI_typelib_cs_debug
.
ProcessLocksList
,
&
MSI_typelib_cs_debug
.
ProcessLocksList
},
0
,
0
,
{
(
DWORD_PTR
)(
__FILE__
": MSI_typelib_cs"
)
}
};
static
CRITICAL_SECTION
MSI_typelib_cs
=
{
&
MSI_typelib_cs_debug
,
-
1
,
0
,
0
,
0
,
0
};
ITypeLib
*
get_msi_typelib
(
LPWSTR
*
path
)
{
EnterCriticalSection
(
&
MSI_typelib_cs
);
if
(
!
msi_typelib
)
{
TRACE
(
"loading typelib
\n
"
);
if
(
GetModuleFileNameW
(
msi_hInstance
,
msi_path
,
MAX_PATH
))
LoadTypeLib
(
msi_path
,
&
msi_typelib
);
}
LeaveCriticalSection
(
&
MSI_typelib_cs
);
if
(
path
)
*
path
=
msi_path
;
if
(
msi_typelib
)
ITypeLib_AddRef
(
msi_typelib
);
return
msi_typelib
;
}
typedef
struct
tagIClassFactoryImpl
{
IClassFactory
IClassFactory_iface
;
HRESULT
(
*
create_object
)(
IUnknown
*
,
LPVOID
*
);
...
...
dlls/msi/msipriv.h
View file @
f09bbacf
...
...
@@ -704,7 +704,6 @@ typedef struct {
UINT
msi_strcpy_to_awstring
(
LPCWSTR
str
,
awstring
*
awbuf
,
DWORD
*
sz
)
DECLSPEC_HIDDEN
;
/* msi server interface */
extern
ITypeLib
*
get_msi_typelib
(
LPWSTR
*
path
)
DECLSPEC_HIDDEN
;
extern
HRESULT
create_msi_custom_remote
(
IUnknown
*
pOuter
,
LPVOID
*
ppObj
)
DECLSPEC_HIDDEN
;
extern
HRESULT
create_msi_remote_package
(
IUnknown
*
pOuter
,
LPVOID
*
ppObj
)
DECLSPEC_HIDDEN
;
extern
HRESULT
create_msi_remote_database
(
IUnknown
*
pOuter
,
LPVOID
*
ppObj
)
DECLSPEC_HIDDEN
;
...
...
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