---
name: "LaunchINFSectionExW"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/LaunchINFSectionExW"
---

# LaunchINFSectionExW(3w)

## NAME

**LaunchINFSectionExW** (ADVPACK.@)

## SYNOPSIS

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

## DESCRIPTION

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.

## BUGS

Doesn't handle the reboot flag.

## IMPLEMENTATION

Declared in **"advpub.h"**.

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

Debug channel **"advpack"**.
