Reference

LaunchINFSectionW(3w)

NAME

LaunchINFSectionW (ADVPACK.@)

SYNOPSIS

INT LaunchINFSectionW
(
HWND hWnd,
HINSTANCE hInst,
LPWSTR cmdline,
INT show
)

DESCRIPTION

Installs an INF section without BACKUP/ROLLBACK capabilities.

PARAMS

hWnd [In] Handle to parent window, NULL for desktop.

hInst [In] Instance of the process.

cmdline [In] Contains parameters in the order INF,section,flags,reboot.

show [In] How the window should be shown.

RETURNS

Success: ADV_SUCCESS.

Failure: ADV_FAILURE.

NOTES

INF - Filename of the INF to launch. section - INF section to install. flags - see advpub.h. reboot - smart reboot behavior 'A' Always reboot. 'I' Reboot if needed (default). 'N' No reboot.

IMPLEMENTATION

Declared in "advpub.h".

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

Debug channel "advpack".

History