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
8bd9a3aa
Commit
8bd9a3aa
authored
Dec 16, 2008
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
janitorial: Don't depend on user32 for the self registration functions.
parent
94b87d08
Show whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
65 additions
and
32 deletions
+65
-32
regsvr.c
dlls/amstream/regsvr.c
+2
-1
regsvr.c
dlls/avifil32/regsvr.c
+2
-1
regsvr.c
dlls/browseui/regsvr.c
+2
-1
regsvr.c
dlls/d3dxof/regsvr.c
+2
-1
regsvr.c
dlls/ddraw/regsvr.c
+2
-1
regsvr.c
dlls/dinput/regsvr.c
+2
-1
regsvr.c
dlls/dmband/regsvr.c
+2
-1
regsvr.c
dlls/dmcompos/regsvr.c
+2
-1
regsvr.c
dlls/dmime/regsvr.c
+2
-1
regsvr.c
dlls/dmloader/regsvr.c
+2
-1
regsvr.c
dlls/dmscript/regsvr.c
+2
-1
regsvr.c
dlls/dmstyle/regsvr.c
+2
-1
regsvr.c
dlls/dmsynth/regsvr.c
+2
-1
regsvr.c
dlls/dmusic/regsvr.c
+2
-1
regsvr.c
dlls/dplayx/regsvr.c
+2
-1
regsvr.c
dlls/dpnet/regsvr.c
+2
-1
regsvr.c
dlls/dsound/regsvr.c
+2
-1
regsvr.c
dlls/dswave/regsvr.c
+2
-1
regsvr.c
dlls/dxdiagn/regsvr.c
+3
-1
regsvr.c
dlls/hhctrl.ocx/regsvr.c
+2
-1
regsvr.c
dlls/inetcomm/regsvr.c
+2
-1
regsvr.c
dlls/inseng/regsvr.c
+2
-1
regsvr.c
dlls/mlang/regsvr.c
+3
-1
regsvr.c
dlls/msi/regsvr.c
+2
-1
regsvr.c
dlls/msxml3/regsvr.c
+2
-1
regsvr.c
dlls/objsel/regsvr.c
+2
-1
regsvr.c
dlls/ole32/regsvr.c
+2
-1
regsvr.c
dlls/oleaut32/regsvr.c
+2
-1
regsvr.c
dlls/quartz/regsvr.c
+2
-1
regsvr.c
dlls/shell32/regsvr.c
+3
-2
regsvr.c
dlls/urlmon/regsvr.c
+2
-1
No files found.
dlls/amstream/regsvr.c
View file @
8bd9a3aa
...
...
@@ -33,6 +33,7 @@
#include "amstream.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
amstream
);
...
...
@@ -159,7 +160,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/avifil32/regsvr.c
View file @
8bd9a3aa
...
...
@@ -32,6 +32,7 @@
#include "avifile_private.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
avifile
);
...
...
@@ -158,7 +159,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/browseui/regsvr.c
View file @
8bd9a3aa
...
...
@@ -33,6 +33,7 @@
#include "browseui.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
browseui
);
...
...
@@ -159,7 +160,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/d3dxof/regsvr.c
View file @
8bd9a3aa
...
...
@@ -34,6 +34,7 @@
#include "dxfile.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
d3dxof
);
...
...
@@ -160,7 +161,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/ddraw/regsvr.c
View file @
8bd9a3aa
...
...
@@ -31,6 +31,7 @@
#include "ddraw.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
ddraw
);
...
...
@@ -150,7 +151,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/dinput/regsvr.c
View file @
8bd9a3aa
...
...
@@ -31,6 +31,7 @@
#include "dinput.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dinput
);
...
...
@@ -157,7 +158,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/dmband/regsvr.c
View file @
8bd9a3aa
...
...
@@ -19,6 +19,7 @@
*/
#include "dmband_private.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dmband
);
...
...
@@ -142,7 +143,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list) {
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/dmcompos/regsvr.c
View file @
8bd9a3aa
...
...
@@ -19,6 +19,7 @@
*/
#include "dmcompos_private.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dmcompos
);
...
...
@@ -142,7 +143,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list) {
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/dmime/regsvr.c
View file @
8bd9a3aa
...
...
@@ -19,6 +19,7 @@
*/
#include "dmime_private.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dmime
);
...
...
@@ -142,7 +143,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list) {
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/dmloader/regsvr.c
View file @
8bd9a3aa
...
...
@@ -19,6 +19,7 @@
*/
#include "dmloader_private.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dmloader
);
...
...
@@ -142,7 +143,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list) {
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/dmscript/regsvr.c
View file @
8bd9a3aa
...
...
@@ -19,6 +19,7 @@
*/
#include "dmscript_private.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dmscript
);
...
...
@@ -142,7 +143,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list) {
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/dmstyle/regsvr.c
View file @
8bd9a3aa
...
...
@@ -19,6 +19,7 @@
*/
#include "dmstyle_private.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dmstyle
);
...
...
@@ -142,7 +143,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list) {
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/dmsynth/regsvr.c
View file @
8bd9a3aa
...
...
@@ -19,6 +19,7 @@
*/
#include "dmsynth_private.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dmsynth
);
...
...
@@ -142,7 +143,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list) {
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/dmusic/regsvr.c
View file @
8bd9a3aa
...
...
@@ -19,6 +19,7 @@
*/
#include "dmusic_private.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dmusic
);
...
...
@@ -142,7 +143,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list) {
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/dplayx/regsvr.c
View file @
8bd9a3aa
...
...
@@ -31,6 +31,7 @@
#include "dplobby.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dplay
);
...
...
@@ -157,7 +158,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/dpnet/regsvr.c
View file @
8bd9a3aa
...
...
@@ -33,6 +33,7 @@
#include "dplobby8.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dpnet
);
...
...
@@ -159,7 +160,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/dsound/regsvr.c
View file @
8bd9a3aa
...
...
@@ -31,6 +31,7 @@
#include "dsound.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dsound
);
...
...
@@ -160,7 +161,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/dswave/regsvr.c
View file @
8bd9a3aa
...
...
@@ -19,6 +19,7 @@
*/
#include "dswave_private.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dswave
);
...
...
@@ -142,7 +143,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list) {
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/dxdiagn/regsvr.c
View file @
8bd9a3aa
...
...
@@ -30,7 +30,9 @@
#include "initguid.h"
#include "dxdiag_private.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dxdiag
);
...
...
@@ -157,7 +159,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/hhctrl.ocx/regsvr.c
View file @
8bd9a3aa
...
...
@@ -31,6 +31,7 @@
#include "ole2.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
htmlhelp
);
...
...
@@ -157,7 +158,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/inetcomm/regsvr.c
View file @
8bd9a3aa
...
...
@@ -35,6 +35,7 @@
#include "inetcomm_private.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
inetcomm
);
...
...
@@ -151,7 +152,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/inseng/regsvr.c
View file @
8bd9a3aa
...
...
@@ -33,6 +33,7 @@
#include "initguid.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
inseng
);
...
...
@@ -162,7 +163,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/mlang/regsvr.c
View file @
8bd9a3aa
...
...
@@ -33,6 +33,8 @@
#include "mlang.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "initguid.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mlang
);
...
...
@@ -163,7 +165,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/msi/regsvr.c
View file @
8bd9a3aa
...
...
@@ -36,6 +36,7 @@
#include "oleauto.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "msi.h"
#include "initguid.h"
...
...
@@ -179,7 +180,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list) {
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/msxml3/regsvr.c
View file @
8bd9a3aa
...
...
@@ -45,6 +45,7 @@
#include "msxml_private.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
ole
);
...
...
@@ -180,7 +181,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/objsel/regsvr.c
View file @
8bd9a3aa
...
...
@@ -34,6 +34,7 @@
#include "objsel.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "initguid.h"
...
...
@@ -168,7 +169,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list) {
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/ole32/regsvr.c
View file @
8bd9a3aa
...
...
@@ -38,6 +38,7 @@
#include "moniker.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
ole
);
...
...
@@ -155,7 +156,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/oleaut32/regsvr.c
View file @
8bd9a3aa
...
...
@@ -34,6 +34,7 @@
#include "typelib.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
ole
);
...
...
@@ -150,7 +151,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/quartz/regsvr.c
View file @
8bd9a3aa
...
...
@@ -36,6 +36,7 @@
#include "strmif.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
quartz
);
...
...
@@ -215,7 +216,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/shell32/regsvr.c
View file @
8bd9a3aa
/*
* self-registerable dll functions for shell32.dll
*
*
* Copyright (C) 2003 John K. Hohm
*
* This library is free software; you can redistribute it and/or
...
...
@@ -37,6 +37,7 @@
#include "shfldr.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
ole
);
...
...
@@ -191,7 +192,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
dlls/urlmon/regsvr.c
View file @
8bd9a3aa
...
...
@@ -26,6 +26,7 @@
#include "advpub.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
urlmon
);
...
...
@@ -152,7 +153,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
KEY_READ
|
KEY_WRITE
,
NULL
,
&
key
,
NULL
);
if
(
res
!=
ERROR_SUCCESS
)
goto
error_close_iid_key
;
w
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
sprintfW
(
buf
,
fmt
,
list
->
num_methods
);
res
=
RegSetValueExW
(
key
,
NULL
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)
buf
,
(
lstrlenW
(
buf
)
+
1
)
*
sizeof
(
WCHAR
));
...
...
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