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

# RegInstallW(3w)

## NAME

**RegInstallW** (ADVPACK.@)

## SYNOPSIS

HRESULT RegInstallW\
  (\
   HMODULE          *hm*,\
   LPCWSTR          *pszSection*,\
   const STRTABLEW\* *pstTable*\
  )

## DESCRIPTION

Loads an **INF** from a string resource, adds entries to the string substitution table, and executes the **INF**.

## PARAMS

*hm* **\[In\]**  Module that contains the **REGINST** resource.

*pszSection* **\[In\]**  The **INF** section to execute.

*pstTable* **\[In\]**  Table of string substitutions.

## RETURNS

**Success:** **S\_OK**.

**Failure:** **E\_FAIL**.

## IMPLEMENTATION

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

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

Debug channel **"advpack"**.
