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
063a36b6
Commit
063a36b6
authored
Apr 03, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Apr 04, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack: Forward RegRestoreAllA to its Unicode counterpart.
parent
ef7fce84
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
3 deletions
+24
-3
advpack.spec
dlls/advpack/advpack.spec
+1
-1
reg.c
dlls/advpack/reg.c
+23
-2
No files found.
dlls/advpack/advpack.spec
View file @
063a36b6
...
...
@@ -53,7 +53,7 @@
# stdcall RegInstallW(ptr wstr ptr)
@ stdcall RegInstall(ptr str ptr) RegInstallA
@ stdcall RegRestoreAllA(ptr str long)
#
stdcall RegRestoreAllW(ptr wstr long)
@
stdcall RegRestoreAllW(ptr wstr long)
@ stdcall RegRestoreAll(ptr str long) RegRestoreAllA
@ stdcall RegSaveRestoreA(ptr str long str str str long)
# stdcall RegSaveRestoreW(ptr wstr long wstr wstr wstr long)
...
...
dlls/advpack/reg.c
View file @
063a36b6
...
...
@@ -191,6 +191,27 @@ HRESULT WINAPI RegInstallA(HMODULE hm, LPCSTR pszSection, const STRTABLEA* pstTa
/***********************************************************************
* RegRestoreAllA (advpack.@)
*
* See RegRestoreAllW.
*/
HRESULT
WINAPI
RegRestoreAllA
(
HWND
hWnd
,
LPSTR
pszTitleString
,
HKEY
hkBackupKey
)
{
UNICODE_STRING
title
;
HRESULT
hr
;
TRACE
(
"(%p, %s, %p)
\n
"
,
hWnd
,
pszTitleString
,
hkBackupKey
);
RtlCreateUnicodeStringFromAsciiz
(
&
title
,
pszTitleString
);
hr
=
RegRestoreAllW
(
hWnd
,
title
.
Buffer
,
hkBackupKey
);
RtlFreeUnicodeString
(
&
title
);
return
hr
;
}
/***********************************************************************
* RegRestoreAllW (advpack.@)
*
* Restores all saved registry entries.
*
* PARAMS
...
...
@@ -205,9 +226,9 @@ HRESULT WINAPI RegInstallA(HMODULE hm, LPCSTR pszSection, const STRTABLEA* pstTa
* BUGS
* Unimplemented.
*/
HRESULT
WINAPI
RegRestoreAll
A
(
HWND
hWnd
,
LP
STR
pszTitleString
,
HKEY
hkBackupKey
)
HRESULT
WINAPI
RegRestoreAll
W
(
HWND
hWnd
,
LPW
STR
pszTitleString
,
HKEY
hkBackupKey
)
{
FIXME
(
"(%p, %
p, %p) stub
\n
"
,
hWnd
,
pszTitleString
,
hkBackupKey
);
FIXME
(
"(%p, %
s, %p) stub
\n
"
,
hWnd
,
debugstr_w
(
pszTitleString
)
,
hkBackupKey
);
return
E_FAIL
;
}
...
...
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