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

# IUnknown\_SetOwner(3w)

## NAME

**IUnknown\_SetOwner** (SHLWAPI.173)

## SYNOPSIS

HRESULT IUnknown\_SetOwner\
  (\
   IUnknown\* *iface*,\
   IUnknown\* *pUnk*\
  )

## DESCRIPTION

Call a SetOwner method of IShellService from specified object.

## PARAMS

*iface* **\[In\]**  Object that supports IShellService.

*pUnk* **\[In\]**  Argument for the SetOwner call.

## RETURNS

Corresponding return value from last call or **E\_FAIL** for **NULL** input

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