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

# SHPropertyBag\_ReadLONG(3w)

## NAME

**SHPropertyBag\_ReadLONG** (SHLWAPI.496)

## SYNOPSIS

BOOL SHPropertyBag\_ReadLONG\
  (\
   IPropertyBag\* *ppb*,\
   LPCWSTR       *pszPropName*,\
   LPLONG        *pValue*\
  )

## DESCRIPTION

This function asks a property bag to read a named property as a **LONG**.

## PARAMS

**ppb:** a **IPropertyBag** interface

**pszPropName:** Unicode string that names the property

**pValue:** address to receive the property value as a **32**-bit signed integer.

## RETURNS

0 for Success

## 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"**.
