Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5018d320
Commit
5018d320
authored
Mar 23, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Mar 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack: Forward SetPerUserSecValuesA to its Unicode counterpart.
parent
1c788ead
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
2 deletions
+34
-2
advpack.c
dlls/advpack/advpack.c
+33
-1
advpack.spec
dlls/advpack/advpack.spec
+1
-1
No files found.
dlls/advpack/advpack.c
View file @
5018d320
...
...
@@ -428,6 +428,38 @@ void WINAPI RegisterOCX( HWND hWnd, HINSTANCE hInst, LPCSTR cmdline, INT show )
/***********************************************************************
* SetPerUserSecValuesA (ADVPACK.@)
*
* See SetPerUserSecValuesW.
*/
HRESULT
WINAPI
SetPerUserSecValuesA
(
PERUSERSECTIONA
*
pPerUser
)
{
PERUSERSECTIONW
perUserW
;
TRACE
(
"(%p)
\n
"
,
pPerUser
);
if
(
!
pPerUser
)
return
E_INVALIDARG
;
MultiByteToWideChar
(
CP_ACP
,
0
,
pPerUser
->
szGUID
,
-
1
,
perUserW
.
szGUID
,
sizeof
(
perUserW
.
szGUID
)
/
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
pPerUser
->
szDispName
,
-
1
,
perUserW
.
szDispName
,
sizeof
(
perUserW
.
szDispName
)
/
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
pPerUser
->
szLocale
,
-
1
,
perUserW
.
szLocale
,
sizeof
(
perUserW
.
szLocale
)
/
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
pPerUser
->
szStub
,
-
1
,
perUserW
.
szStub
,
sizeof
(
perUserW
.
szStub
)
/
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
pPerUser
->
szVersion
,
-
1
,
perUserW
.
szVersion
,
sizeof
(
perUserW
.
szVersion
)
/
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
pPerUser
->
szCompID
,
-
1
,
perUserW
.
szCompID
,
sizeof
(
perUserW
.
szCompID
)
/
sizeof
(
WCHAR
));
perUserW
.
dwIsInstalled
=
pPerUser
->
dwIsInstalled
;
perUserW
.
bRollback
=
pPerUser
->
bRollback
;
return
SetPerUserSecValuesW
(
&
perUserW
);
}
/***********************************************************************
* SetPerUserSecValuesW (ADVPACK.@)
*
* Prepares the per-user stub values under IsInstalled\{GUID} that
* control the per-user installation.
*
...
...
@@ -441,7 +473,7 @@ void WINAPI RegisterOCX( HWND hWnd, HINSTANCE hInst, LPCSTR cmdline, INT show )
* BUGS
* Unimplemented.
*/
HRESULT
WINAPI
SetPerUserSecValues
A
(
PERUSERSECTIONA
*
pPerUser
)
HRESULT
WINAPI
SetPerUserSecValues
W
(
PERUSERSECTIONW
*
pPerUser
)
{
FIXME
(
"(%p) stub
\n
"
,
pPerUser
);
...
...
dlls/advpack/advpack.spec
View file @
5018d320
...
...
@@ -66,7 +66,7 @@
# stdcall RunSetupCommandW(long wstr wstr wstr wstr wptr long ptr)
@ stdcall RunSetupCommand(long str str str str ptr long ptr) RunSetupCommandA
@ stdcall SetPerUserSecValuesA(ptr)
#
stdcall SetPerUserSecValuesW(ptr)
@
stdcall SetPerUserSecValuesW(ptr)
@ stdcall SetPerUserSecValues(ptr) SetPerUserSecValuesA
@ stdcall TranslateInfStringA(str str str str ptr long ptr ptr)
@ stdcall TranslateInfStringW(wstr wstr wstr wstr ptr long ptr ptr)
...
...
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