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

# ImportPrivacySettings(3w)

## NAME

**ImportPrivacySettings** (SHDOCVW.@)

## SYNOPSIS

BOOL ImportPrivacySettings\
  (\
   LPCWSTR *filename*,\
   BOOL\*   *pGlobalPrefs*,\
   BOOL\*   *pPerSitePrefs*\
  )

## DESCRIPTION

Import global and/or per site privacy preferences from an xml file.

## PARAMS

*filename* **\[In\]**  **XML** file to use.

*pGlobalPrefs* **\[IO\]**  **PTR** to a usage flag for the global privacy preferences.

*pPerSitePrefs* **\[IO\]**  **PTR** to a usage flag for the per site privacy preferences.

## RETURNS

**Success:** **TRUE** (the privacy preferences where updated)

**Failure:** **FALSE** (the privacy preferences are unchanged).

## NOTES

Set the flag to **TRUE**, when the related privacy preferences in the xml file should be used (parsed and overwrite the current settings). On return, the flag is **TRUE**, when the related privacy settings where used

## IMPLEMENTATION

Declared in **"shlobj.h"**.

Implemented in **"dlls/shdocvw/shdocvw\_main.c"**.

Debug channel **"shdocvw"**.
