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
1a0112a4
Commit
1a0112a4
authored
Feb 17, 2003
by
Ove Kaaven
Committed by
Alexandre Julliard
Feb 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make NdrDllRegisterProxy use the interface stub header instead of the
interface proxy header to avoid stubless proxy ambiguities.
parent
9859ec4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cpsf.c
dlls/rpcrt4/cpsf.c
+4
-4
No files found.
dlls/rpcrt4/cpsf.c
View file @
1a0112a4
...
...
@@ -166,7 +166,7 @@ HRESULT WINAPI NdrDllRegisterProxy(HMODULE hDll,
while
(
*
pProxyFileList
)
{
unsigned
u
;
for
(
u
=
0
;
u
<
(
*
pProxyFileList
)
->
TableSize
;
u
++
)
{
CInterface
ProxyVtbl
*
proxy
=
(
*
pProxyFileList
)
->
pProxy
VtblList
[
u
];
CInterface
StubVtbl
*
proxy
=
(
*
pProxyFileList
)
->
pStub
VtblList
[
u
];
PCInterfaceName
name
=
(
*
pProxyFileList
)
->
pNamesArray
[
u
];
LPSTR
iid
;
...
...
@@ -193,7 +193,7 @@ HRESULT WINAPI NdrDllRegisterProxy(HMODULE hDll,
/* register clsid to point to module */
snprintf
(
keyname
,
sizeof
(
keyname
),
"CLSID
\\
%s"
,
clsid
);
GetModuleFileNameA
(
hDll
,
module
,
sizeof
(
module
));
TRACE
(
"registering %s => %s
\n
"
,
clsid
,
module
);
TRACE
(
"registering
CLSID
%s => %s
\n
"
,
clsid
,
module
);
if
(
RegCreateKeyExA
(
HKEY_CLASSES_ROOT
,
keyname
,
0
,
NULL
,
0
,
KEY_WRITE
,
NULL
,
&
key
,
NULL
)
==
ERROR_SUCCESS
)
{
if
(
RegCreateKeyExA
(
key
,
"InProcServer32"
,
0
,
NULL
,
0
,
...
...
@@ -226,7 +226,7 @@ HRESULT WINAPI NdrDllUnregisterProxy(HMODULE hDll,
while
(
*
pProxyFileList
)
{
unsigned
u
;
for
(
u
=
0
;
u
<
(
*
pProxyFileList
)
->
TableSize
;
u
++
)
{
CInterface
ProxyVtbl
*
proxy
=
(
*
pProxyFileList
)
->
pProxy
VtblList
[
u
];
CInterface
StubVtbl
*
proxy
=
(
*
pProxyFileList
)
->
pStub
VtblList
[
u
];
PCInterfaceName
name
=
(
*
pProxyFileList
)
->
pNamesArray
[
u
];
LPSTR
iid
;
...
...
@@ -243,7 +243,7 @@ HRESULT WINAPI NdrDllUnregisterProxy(HMODULE hDll,
/* unregister clsid */
snprintf
(
keyname
,
sizeof
(
keyname
),
"CLSID
\\
%s"
,
clsid
);
GetModuleFileNameA
(
hDll
,
module
,
sizeof
(
module
));
TRACE
(
"unregistering %s <= %s
\n
"
,
clsid
,
module
);
TRACE
(
"unregistering
CLSID
%s <= %s
\n
"
,
clsid
,
module
);
RegDeleteKeyA
(
HKEY_CLASSES_ROOT
,
keyname
);
/* done */
...
...
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