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

# CoUnmarshalInterface(3w)

## NAME

**CoUnmarshalInterface** (OLE32.@)

## SYNOPSIS

HRESULT CoUnmarshalInterface\
  (\
   IStream\* *pStream*,\
   REFIID   *riid*,\
   LPVOID\*  *ppv*\
  )

## DESCRIPTION

Unmarshals an object from a stream by creating a proxy to the remote object, if necessary.

## PARAMS

*pStream* **\[In\]**  Stream containing the marshaled object.

*riid* **\[In\]**  Interface identifier of the object to create a proxy to.

*ppv* **\[Out\]**  Address where proxy will be stored.

## RETURNS

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

**Failure:** **HRESULT** code.

## SEE ALSO

CoMarshalInterface().

## IMPLEMENTATION

Declared in **"objbase.h"**.

Implemented in **"dlls/ole32/marshal.c"**.

Debug channel **"ole"**.
