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
0d37433d
Commit
0d37433d
authored
Aug 02, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Remove typelib registrations.
parent
c091a3fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
38 deletions
+1
-38
oleaut.c
dlls/oleaut32/oleaut.c
+1
-37
wine.inf.in
tools/wine.inf.in
+0
-1
No files found.
dlls/oleaut32/oleaut.c
View file @
0d37433d
...
...
@@ -843,48 +843,12 @@ BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved)
return
OLEAUTPS_DllMain
(
hInstDll
,
fdwReason
,
lpvReserved
);
}
static
HRESULT
register_typelib
(
const
WCHAR
*
name
)
{
static
const
WCHAR
backslash
[]
=
{
'\\'
,
0
};
HRESULT
hr
;
ITypeLib
*
typelib
;
WCHAR
*
path
;
DWORD
len
;
len
=
GetSystemDirectoryW
(
NULL
,
0
)
+
strlenW
(
name
)
+
1
;
if
(
!
(
path
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
*
sizeof
(
WCHAR
)
)))
return
E_OUTOFMEMORY
;
GetSystemDirectoryW
(
path
,
len
);
strcatW
(
path
,
backslash
);
strcatW
(
path
,
name
);
hr
=
LoadTypeLib
(
path
,
&
typelib
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
RegisterTypeLib
(
typelib
,
path
,
NULL
);
ITypeLib_Release
(
typelib
);
}
HeapFree
(
GetProcessHeap
(),
0
,
path
);
return
hr
;
}
/***********************************************************************
* DllRegisterServer (OLEAUT32.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
HRESULT
hr
;
TRACE
(
"
\n
"
);
hr
=
OLEAUTPS_DllRegisterServer
();
if
(
SUCCEEDED
(
hr
))
{
const
WCHAR
stdole32W
[]
=
{
's'
,
't'
,
'd'
,
'o'
,
'l'
,
'e'
,
'3'
,
'2'
,
'.'
,
't'
,
'l'
,
'b'
,
0
};
const
WCHAR
stdole2W
[]
=
{
's'
,
't'
,
'd'
,
'o'
,
'l'
,
'e'
,
'2'
,
'.'
,
't'
,
'l'
,
'b'
,
0
};
hr
=
register_typelib
(
stdole2W
);
if
(
SUCCEEDED
(
hr
))
hr
=
register_typelib
(
stdole32W
);
}
return
hr
;
return
OLEAUTPS_DllRegisterServer
();
}
/***********************************************************************
...
...
tools/wine.inf.in
View file @
0d37433d
...
...
@@ -2486,7 +2486,6 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
[RegisterDllsSection]
;;some dlls have to be registered first
11,,oleaut32.dll,1
11,,shell32.dll,1
11,,comctl32.dll,2
...
...
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