RebootCheckOnInstallW3w
Usage
HRESULT RebootCheckOnInstallW
(
HWND hWnd,
LPCWSTR pszINF,
LPCWSTR pszSec,
DWORD dwReserved
)
Overview
Checks if a reboot is required for an installed INF section.
Params
hWnd [In] Handle to the window used for messages.
pszINF [In] Filename of the INF file.
pszSec [In] INF section to check.
dwReserved [In] 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(3w).
Notes
if pszSec is NULL, RebootCheckOnInstall checks the DefaultInstall or DefaultInstall. NT section.
Implementation
Declared in "advpub.h".
Implemented in "dlls/advpack/advpack.c".
Debug channel "advpack".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.