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
269f77d8
Commit
269f77d8
authored
Sep 25, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Cast-qual warnings fix.
parent
7147f791
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cpsf.c
dlls/rpcrt4/cpsf.c
+3
-3
No files found.
dlls/rpcrt4/cpsf.c
View file @
269f77d8
...
...
@@ -225,7 +225,7 @@ HRESULT WINAPI NdrDllRegisterProxy(HMODULE hDll,
if
(
RegCreateKeyExA
(
HKEY_CLASSES_ROOT
,
keyname
,
0
,
NULL
,
0
,
KEY_WRITE
,
NULL
,
&
key
,
NULL
)
==
ERROR_SUCCESS
)
{
if
(
name
)
RegSetValueExA
(
key
,
NULL
,
0
,
REG_SZ
,
(
LPBYTE
)
name
,
strlen
(
name
));
RegSetValueExA
(
key
,
NULL
,
0
,
REG_SZ
,
(
const
BYTE
*
)
name
,
strlen
(
name
));
if
(
RegCreateKeyExA
(
key
,
"ProxyStubClsid32"
,
0
,
NULL
,
0
,
KEY_WRITE
,
NULL
,
&
subkey
,
NULL
)
==
ERROR_SUCCESS
)
{
snprintf
(
module
,
sizeof
(
module
),
"{%s}"
,
clsid
);
...
...
@@ -245,11 +245,11 @@ HRESULT WINAPI NdrDllRegisterProxy(HMODULE hDll,
TRACE
(
"registering CLSID %s => %s
\n
"
,
clsid
,
module
);
if
(
RegCreateKeyExA
(
HKEY_CLASSES_ROOT
,
keyname
,
0
,
NULL
,
0
,
KEY_WRITE
,
NULL
,
&
key
,
NULL
)
==
ERROR_SUCCESS
)
{
RegSetValueExA
(
subkey
,
NULL
,
0
,
REG_SZ
,
(
LPBYTE
)
"PSFactoryBuffer"
,
strlen
(
"PSFactoryBuffer"
));
RegSetValueExA
(
subkey
,
NULL
,
0
,
REG_SZ
,
(
const
BYTE
*
)
"PSFactoryBuffer"
,
strlen
(
"PSFactoryBuffer"
));
if
(
RegCreateKeyExA
(
key
,
"InProcServer32"
,
0
,
NULL
,
0
,
KEY_WRITE
,
NULL
,
&
subkey
,
NULL
)
==
ERROR_SUCCESS
)
{
RegSetValueExA
(
subkey
,
NULL
,
0
,
REG_SZ
,
(
LPBYTE
)
module
,
strlen
(
module
));
RegSetValueExA
(
subkey
,
"ThreadingModel"
,
0
,
REG_SZ
,
(
LPBYTE
)
"Both"
,
strlen
(
"Both"
));
RegSetValueExA
(
subkey
,
"ThreadingModel"
,
0
,
REG_SZ
,
(
const
BYTE
*
)
"Both"
,
strlen
(
"Both"
));
RegCloseKey
(
subkey
);
}
RegCloseKey
(
key
);
...
...
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