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
844eebd0
Commit
844eebd0
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 RegSaveRestoreOnINFA to its Unicode counterpart.
parent
96a42806
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
4 deletions
+33
-4
advpack.spec
dlls/advpack/advpack.spec
+1
-1
reg.c
dlls/advpack/reg.c
+32
-3
No files found.
dlls/advpack/advpack.spec
View file @
844eebd0
...
...
@@ -59,7 +59,7 @@
@ stdcall RegSaveRestoreW(ptr wstr long wstr wstr wstr long)
@ stdcall RegSaveRestore(ptr str long str str str long) RegSaveRestoreA
@ stdcall RegSaveRestoreOnINFA(ptr str str str long long long)
#
stdcall RegSaveRestoreOnINFW(ptr wstr wstr wstr long long long)
@
stdcall RegSaveRestoreOnINFW(ptr wstr wstr wstr long long long)
@ stdcall RegSaveRestoreOnINF(ptr str str str long long long) RegSaveRestoreOnINFA
@ stdcall RegisterOCX(ptr ptr str long)
@ stdcall RunSetupCommandA(long str str str str ptr long ptr)
...
...
dlls/advpack/reg.c
View file @
844eebd0
...
...
@@ -298,6 +298,35 @@ HRESULT WINAPI RegSaveRestoreW(HWND hWnd, LPCWSTR pszTitleString, HKEY hkBackupK
/***********************************************************************
* RegSaveRestoreOnINFA (advpack.@)
*
* See RegSaveRestoreOnINFW.
*/
HRESULT
WINAPI
RegSaveRestoreOnINFA
(
HWND
hWnd
,
LPCSTR
pszTitle
,
LPCSTR
pszINF
,
LPCSTR
pszSection
,
HKEY
hHKLMBackKey
,
HKEY
hHKCUBackKey
,
DWORD
dwFlags
)
{
UNICODE_STRING
title
,
inf
,
section
;
HRESULT
hr
;
TRACE
(
"(%p, %p, %p, %p, %p, %p, %ld)
\n
"
,
hWnd
,
pszTitle
,
pszINF
,
pszSection
,
hHKLMBackKey
,
hHKCUBackKey
,
dwFlags
);
RtlCreateUnicodeStringFromAsciiz
(
&
title
,
pszTitle
);
RtlCreateUnicodeStringFromAsciiz
(
&
inf
,
pszINF
);
RtlCreateUnicodeStringFromAsciiz
(
&
section
,
pszSection
);
hr
=
RegSaveRestoreOnINFW
(
hWnd
,
title
.
Buffer
,
inf
.
Buffer
,
section
.
Buffer
,
hHKLMBackKey
,
hHKCUBackKey
,
dwFlags
);
RtlFreeUnicodeString
(
&
title
);
RtlFreeUnicodeString
(
&
inf
);
RtlFreeUnicodeString
(
&
section
);
return
hr
;
}
/***********************************************************************
* RegSaveRestoreOnINFW (advpack.@)
*
* Saves or restores the specified INF Reg section.
*
* PARAMS
...
...
@@ -316,9 +345,9 @@ HRESULT WINAPI RegSaveRestoreW(HWND hWnd, LPCWSTR pszTitleString, HKEY hkBackupK
* BUGS
* Unimplemented.
*/
HRESULT
WINAPI
RegSaveRestoreOnINF
A
(
HWND
hWnd
,
LPCSTR
pszTitle
,
LPC
STR
pszINF
,
LPC
STR
pszSection
,
HKEY
hHKLMBackKey
,
HKEY
hHKCUBackKey
,
DWORD
dwFlags
)
HRESULT
WINAPI
RegSaveRestoreOnINF
W
(
HWND
hWnd
,
LPCWSTR
pszTitle
,
LPCW
STR
pszINF
,
LPCW
STR
pszSection
,
HKEY
hHKLMBackKey
,
HKEY
hHKCUBackKey
,
DWORD
dwFlags
)
{
FIXME
(
"(%p, %p, %p, %p, %p, %p, %ld) stub
\n
"
,
hWnd
,
pszTitle
,
pszINF
,
pszSection
,
hHKLMBackKey
,
hHKCUBackKey
,
dwFlags
);
...
...
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