advpack: Add a stub for RebootCheckOnInstall.

oldstable
James Hawkins 2006-01-21 19:22:17 +01:00 committed by Alexandre Julliard
parent cac3bf8471
commit 7e45839823
3 changed files with 33 additions and 1 deletions

View File

@ -347,6 +347,37 @@ HRESULT WINAPI OpenINFEngine(PCSTR pszInfFilename, PCSTR pszInstallSection,
return E_FAIL;
}
/***********************************************************************
* 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.@)
*/

View File

@ -18,7 +18,7 @@
@ stdcall NeedReboot(long)
@ stdcall NeedRebootInit()
@ stdcall OpenINFEngine(str str long ptr ptr)
@ stub RebootCheckOnInstall
@ stdcall RebootCheckOnInstall(long str str long)
@ stdcall RegInstall(ptr str ptr)
@ stdcall RegRestoreAll(ptr str long)
@ stdcall RegSaveRestore(ptr str long str str str long)

View File

@ -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,