Reference

RebootCheckOnInstallW(3w)

NAME

RebootCheckOnInstallW (ADVPACK.@)

SYNOPSIS

HRESULT RebootCheckOnInstallW
(
HWND hWnd,
LPCWSTR pszINF,
LPCWSTR pszSec,
DWORD dwReserved
)

DESCRIPTION

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.

BUGS

Unimplemented.

IMPLEMENTATION

Declared in "advpub.h".

Implemented in "dlls/advpack/advpack.c".

Debug channel "advpack".

History