LaunchINFSectionExW(3w)

LaunchINFSectionExW3w

Usage

HRESULT LaunchINFSectionExW
(
HWND hWnd,
HINSTANCE hInst,
LPWSTR cmdline,
INT show
)

Overview

Installs an INF section with 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,CAB,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".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

Bugs

Doesn't handle the reboot flag.

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.