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
39cedf0b
Commit
39cedf0b
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 LaunchINFSectionA to its Unicode counterpart.
parent
844eebd0
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
install.c
dlls/advpack/install.c
+23
-2
No files found.
dlls/advpack/advpack.spec
View file @
39cedf0b
...
...
@@ -36,7 +36,7 @@
@ stdcall GetVersionFromFileEx(str ptr ptr long) GetVersionFromFileExA
@ stdcall IsNTAdmin(long ptr)
@ stdcall LaunchINFSectionA(ptr ptr str long)
#
stdcall LaunchINFSectionW(ptr ptr wstr long)
@
stdcall LaunchINFSectionW(ptr ptr wstr long)
@ stdcall LaunchINFSection(ptr ptr str long) LaunchINFSectionA
@ stdcall LaunchINFSectionExA(ptr ptr str long)
@ stdcall LaunchINFSectionExW(ptr ptr wstr long)
...
...
dlls/advpack/install.c
View file @
39cedf0b
...
...
@@ -156,6 +156,27 @@ HRESULT WINAPI ExecuteCabW(HWND hwnd, CABINFOW* pCab, LPVOID pReserved)
/***********************************************************************
* LaunchINFSectionA (ADVPACK.@)
*
* See LaunchINFSectionW.
*/
INT
WINAPI
LaunchINFSectionA
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPSTR
cmdline
,
INT
show
)
{
UNICODE_STRING
cmd
;
HRESULT
hr
;
TRACE
(
"(%p, %p, %s, %d)
\n
"
,
hWnd
,
hInst
,
debugstr_a
(
cmdline
),
show
);
RtlCreateUnicodeStringFromAsciiz
(
&
cmd
,
cmdline
);
hr
=
LaunchINFSectionW
(
hWnd
,
hInst
,
cmd
.
Buffer
,
show
);
RtlFreeUnicodeString
(
&
cmd
);
return
hr
;
}
/***********************************************************************
* LaunchINFSectionW (ADVPACK.@)
*
* Installs an INF section without BACKUP/ROLLBACK capabilities.
*
* PARAMS
...
...
@@ -180,9 +201,9 @@ HRESULT WINAPI ExecuteCabW(HWND hwnd, CABINFOW* pCab, LPVOID pReserved)
* BUGS
* Unimplemented.
*/
INT
WINAPI
LaunchINFSection
A
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPSTR
cmdline
,
INT
show
)
INT
WINAPI
LaunchINFSection
W
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPWSTR
cmdline
,
INT
show
)
{
FIXME
(
"(%p
%p %s %d): stub
\n
"
,
hWnd
,
hInst
,
debugstr_a
(
cmdline
),
show
);
FIXME
(
"(%p
, %p, %s, %d): stub
\n
"
,
hWnd
,
hInst
,
debugstr_w
(
cmdline
),
show
);
return
0
;
}
...
...
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