advpack: Add a stub for RebootCheckOnInstall.
This commit is contained in:
parent
cac3bf8471
commit
7e45839823
|
@ -347,6 +347,37 @@ HRESULT WINAPI OpenINFEngine(PCSTR pszInfFilename, PCSTR pszInstallSection,
|
||||||
return E_FAIL;
|
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.@)
|
* RegisterOCX (ADVPACK.@)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
@ stdcall NeedReboot(long)
|
@ stdcall NeedReboot(long)
|
||||||
@ stdcall NeedRebootInit()
|
@ stdcall NeedRebootInit()
|
||||||
@ stdcall OpenINFEngine(str str long ptr ptr)
|
@ stdcall OpenINFEngine(str str long ptr ptr)
|
||||||
@ stub RebootCheckOnInstall
|
@ stdcall RebootCheckOnInstall(long str str long)
|
||||||
@ stdcall RegInstall(ptr str ptr)
|
@ stdcall RegInstall(ptr str ptr)
|
||||||
@ stdcall RegRestoreAll(ptr str long)
|
@ stdcall RegRestoreAll(ptr str long)
|
||||||
@ stdcall RegSaveRestore(ptr str long str str str long)
|
@ stdcall RegSaveRestore(ptr str long str str str long)
|
||||||
|
|
|
@ -139,6 +139,7 @@ DWORD WINAPI NeedRebootInit(VOID);
|
||||||
BOOL WINAPI NeedReboot(DWORD dwRebootCheck);
|
BOOL WINAPI NeedReboot(DWORD dwRebootCheck);
|
||||||
HRESULT WINAPI OpenINFEngine(PCSTR pszInfFilename, PCSTR pszInstallSection,
|
HRESULT WINAPI OpenINFEngine(PCSTR pszInfFilename, PCSTR pszInstallSection,
|
||||||
DWORD dwFlags, HINF *phInf, PVOID pvReserved);
|
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 RegInstall(HMODULE hm, LPCSTR pszSection, LPCSTRTABLE pstTable);
|
||||||
HRESULT WINAPI RegRestoreAll(HWND hWnd, PSTR pszTitleString, HKEY hkBackupKey);
|
HRESULT WINAPI RegRestoreAll(HWND hWnd, PSTR pszTitleString, HKEY hkBackupKey);
|
||||||
HRESULT WINAPI RegSaveRestore(HWND hWnd, PCSTR pszTitleString, HKEY hkBackupKey,
|
HRESULT WINAPI RegSaveRestore(HWND hWnd, PCSTR pszTitleString, HKEY hkBackupKey,
|
||||||
|
|
Loading…
Reference in New Issue