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
15a2169e
Commit
15a2169e
authored
Mar 22, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Mar 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack: Forward RebootCheckOnInstallA to its Unicode counterpart.
parent
b88b981d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
4 deletions
+33
-4
advpack.c
dlls/advpack/advpack.c
+32
-3
advpack.spec
dlls/advpack/advpack.spec
+1
-1
No files found.
dlls/advpack/advpack.c
View file @
15a2169e
...
...
@@ -324,6 +324,34 @@ HRESULT WINAPI OpenINFEngineW(LPCWSTR pszInfFilename, LPCWSTR pszInstallSection,
/***********************************************************************
* RebootCheckOnInstallA (ADVPACK.@)
*
* See RebootCheckOnInstallW.
*/
HRESULT
WINAPI
RebootCheckOnInstallA
(
HWND
hWnd
,
LPCSTR
pszINF
,
LPSTR
pszSec
,
DWORD
dwReserved
)
{
UNICODE_STRING
infW
,
secW
;
HRESULT
res
;
TRACE
(
"(%p, %s, %s, %ld)
\n
"
,
hWnd
,
debugstr_a
(
pszINF
),
debugstr_a
(
pszSec
),
dwReserved
);
if
(
!
pszINF
||
!
pszSec
)
return
E_INVALIDARG
;
RtlCreateUnicodeStringFromAsciiz
(
&
infW
,
pszINF
);
RtlCreateUnicodeStringFromAsciiz
(
&
secW
,
pszSec
);
res
=
RebootCheckOnInstallW
(
hWnd
,
infW
.
Buffer
,
secW
.
Buffer
,
dwReserved
);
RtlFreeUnicodeString
(
&
infW
);
RtlFreeUnicodeString
(
&
secW
);
return
res
;
}
/***********************************************************************
* RebootCheckOnInstallW (ADVPACK.@)
*
* Checks if a reboot is required for an installed INF section.
*
* PARAMS
...
...
@@ -344,10 +372,11 @@ HRESULT WINAPI OpenINFEngineW(LPCWSTR pszInfFilename, LPCWSTR pszInstallSection,
* BUGS
* Unimplemented.
*/
HRESULT
WINAPI
RebootCheckOnInstall
A
(
HWND
hWnd
,
LPC
STR
pszINF
,
LP
STR
pszSec
,
DWORD
dwReserved
)
HRESULT
WINAPI
RebootCheckOnInstall
W
(
HWND
hWnd
,
LPCW
STR
pszINF
,
LPW
STR
pszSec
,
DWORD
dwReserved
)
{
FIXME
(
"(%p, %p, %p, %ld) stub
\n
"
,
hWnd
,
pszINF
,
pszSec
,
dwReserved
);
FIXME
(
"(%p, %s, %s, %ld) stub
\n
"
,
hWnd
,
debugstr_w
(
pszINF
),
debugstr_w
(
pszSec
),
dwReserved
);
return
E_FAIL
;
}
...
...
dlls/advpack/advpack.spec
View file @
15a2169e
...
...
@@ -47,7 +47,7 @@
@ stdcall OpenINFEngineW(wstr wstr long ptr ptr)
@ stdcall OpenINFEngine(str str long ptr ptr) OpenINFEngineA
@ stdcall RebootCheckOnInstallA(long str str long)
#
stdcall RebootCheckOnInstallW(long wstr wstr long)
@
stdcall RebootCheckOnInstallW(long wstr wstr long)
@ stdcall RebootCheckOnInstall(long str str long) RebootCheckOnInstallA
@ stdcall RegInstallA(ptr str ptr)
# stdcall RegInstallW(ptr wstr 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