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

# OpenINFEngineW(3w)

## NAME

**OpenINFEngineW** (ADVPACK.@)

## SYNOPSIS

HRESULT OpenINFEngineW\
  (\
   LPCWSTR *pszInfFilename*,\
   LPCWSTR *pszInstallSection*,\
   DWORD   *dwFlags*,\
   HINF\*   *phInf*,\
   PVOID   *pvReserved*\
  )

## DESCRIPTION

Opens and returns a handle to an **INF** file to be used by TranslateInfStringEx to continuously translate the **INF** file.

## PARAMS

*pszInfFilename* **\[In\]**  Filename of the **INF** to open.

*pszInstallSection* **\[In\]**  Name of the Install section in the **INF**.

*dwFlags* **\[In\]**  See advpub.h.

*phInf* **\[Out\]**  Handle to the loaded **INF** file.

*pvReserved* **\[In\]**  Reserved. Must be **NULL**.

## RETURNS

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

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

## IMPLEMENTATION

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

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

Debug channel **"advpack"**.
