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

# UlRelease(3w)

## NAME

**UlRelease** (MAPI32.129)

## SYNOPSIS

ULONG UlRelease\
  (\
   void\* *lpUnk*\
  )

## DESCRIPTION

Remove a reference from an object.

## PARAMS

*lpUnk* **\[In\]**  Object to remove reference from.

## RETURNS

The new reference count of the object, or **0** if *lpUnk* is **NULL**. If *lpUnk* is non-NULL and this function returns **0**, the object pointed to by *lpUnk* has been released.

## NOTES

See **IUnknown\_Release(3w)**.

## IMPLEMENTATION

Declared in **"mapiutil.h"**.

Implemented in **"dlls/mapi32/util.c"**.

Debug channel **"mapi"**.
