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

# SHLoadFromPropertyBag(3w)

## NAME

**SHLoadFromPropertyBag** (SHLWAPI.187)

## SYNOPSIS

DWORD SHLoadFromPropertyBag\
  (\
   IUnknown\*     *lpUnknown*,\
   IPropertyBag\* *lpPropBag*\
  )

## DESCRIPTION

Call **IPersistPropertyBag\_Load(3w)** on an object.

## PARAMS

*lpUnknown* **\[In\]**  Object supporting the **IPersistPropertyBag** interface.

*lpPropBag* **\[Out\]**  Destination for loaded IPropertyBag.

## RETURNS

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

**Failure:** An **HRESULT** error code, or **E\_FAIL** if *lpUnknown* is **NULL**.

## IMPLEMENTATION

Exported by ordinal only. Use **[GetProcAddress(3w)](/GetProcAddress/3w.md)** to obtain a pointer to the function.

Implemented in **"dlls/shlwapi/ordinal.c"**.

Debug channel **"shell"**.
