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

# RegSaveRestoreOnINFW(3w)

## NAME

**RegSaveRestoreOnINFW** (ADVPACK.@)

## SYNOPSIS

HRESULT RegSaveRestoreOnINFW\
  (\
   HWND    *hWnd*,\
   LPCWSTR *pszTitle*,\
   LPCWSTR *pszINF*,\
   LPCWSTR *pszSection*,\
   HKEY    *hHKLMBackKey*,\
   HKEY    *hHKCUBackKey*,\
   DWORD   *dwFlags*\
  )

## DESCRIPTION

Saves or restores the specified **INF** Reg section.

## PARAMS

*hWnd* **\[In\]**  Handle to the window used for the display.

*pszTitle* **\[In\]**  Title of the window.

*pszINF* **\[In\]**  Filename of the **INF**.

*pszSection* **\[In\]**  Section to save or restore.

*hHKLMBackKey* **\[In\]**  Opened key in **HKLM** to store data.

*hHKCUBackKey* **\[In\]**  Opened key in **HKCU** to store data.

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

## RETURNS

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

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

## BUGS

Unimplemented.

## IMPLEMENTATION

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

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

Debug channel **"advpack"**.
