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
7e458398
Commit
7e458398
authored
Jan 21, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Jan 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack: Add a stub for RebootCheckOnInstall.
parent
cac3bf84
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
1 deletion
+33
-1
advpack.c
dlls/advpack/advpack.c
+31
-0
advpack.spec
dlls/advpack/advpack.spec
+1
-1
advpub.h
include/advpub.h
+1
-0
No files found.
dlls/advpack/advpack.c
View file @
7e458398
...
...
@@ -348,6 +348,37 @@ HRESULT WINAPI OpenINFEngine(PCSTR pszInfFilename, PCSTR pszInstallSection,
}
/***********************************************************************
* RebootCheckOnInstall (ADVPACK.@)
*
* Checks if a reboot is required for an installed INF section.
*
* PARAMS
* hWnd [I] Handle to the window used for messages.
* pszINF [I] Filename of the INF file.
* pszSec [I] INF section to check.
* dwReserved [I] Reserved. Must be 0.
*
* RETURNS
* Success: S_OK - Reboot is needed if the INF section is installed.
* S_FALSE - Reboot is not needed.
* Failure: HRESULT of GetLastError().
*
* NOTES
* if pszSec is NULL, RebootCheckOnInstall checks the DefaultInstall
* or DefaultInstall.NT section.
*
* BUGS
* Unimplemented.
*/
HRESULT
WINAPI
RebootCheckOnInstall
(
HWND
hWnd
,
LPCSTR
pszINF
,
LPCSTR
pszSec
,
DWORD
dwReserved
)
{
FIXME
(
"(%p, %p, %p, %ld) stub
\n
"
,
hWnd
,
pszINF
,
pszSec
,
dwReserved
);
return
E_FAIL
;
}
/***********************************************************************
* RegisterOCX (ADVPACK.@)
*/
void
WINAPI
RegisterOCX
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPCSTR
cmdline
,
INT
show
)
...
...
dlls/advpack/advpack.spec
View file @
7e458398
...
...
@@ -18,7 +18,7 @@
@ stdcall NeedReboot(long)
@ stdcall NeedRebootInit()
@ stdcall OpenINFEngine(str str long ptr ptr)
@ st
ub RebootCheckOnInstall
@ st
dcall RebootCheckOnInstall(long str str long)
@ stdcall RegInstall(ptr str ptr)
@ stdcall RegRestoreAll(ptr str long)
@ stdcall RegSaveRestore(ptr str long str str str long)
...
...
include/advpub.h
View file @
7e458398
...
...
@@ -139,6 +139,7 @@ DWORD WINAPI NeedRebootInit(VOID);
BOOL
WINAPI
NeedReboot
(
DWORD
dwRebootCheck
);
HRESULT
WINAPI
OpenINFEngine
(
PCSTR
pszInfFilename
,
PCSTR
pszInstallSection
,
DWORD
dwFlags
,
HINF
*
phInf
,
PVOID
pvReserved
);
HRESULT
WINAPI
RebootCheckOnInstall
(
HWND
hWnd
,
LPCSTR
pszINF
,
LPCSTR
pszSec
,
DWORD
dwReserved
);
HRESULT
WINAPI
RegInstall
(
HMODULE
hm
,
LPCSTR
pszSection
,
LPCSTRTABLE
pstTable
);
HRESULT
WINAPI
RegRestoreAll
(
HWND
hWnd
,
PSTR
pszTitleString
,
HKEY
hkBackupKey
);
HRESULT
WINAPI
RegSaveRestore
(
HWND
hWnd
,
PCSTR
pszTitleString
,
HKEY
hkBackupKey
,
...
...
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