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

# CoUnmarshalHresult(3w)

## NAME

**CoUnmarshalHresult** (OLE32.@)

## SYNOPSIS

HRESULT CoUnmarshalHresult\
  (\
   LPSTREAM *pStm*,\
   HRESULT\* *phresult*\
  )

## DESCRIPTION

Unmarshals an **HRESULT** value from a stream.

## PARAMS

*pStm* **\[In\]**  Stream that hresult will be unmarshalled from.

*phresult* **\[In\]**  Pointer to **HRESULT** where the value will be unmarshalled to.

## RETURNS

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

**Failure:** A **COM** error code.

## SEE ALSO

CoMarshalHresult().

## IMPLEMENTATION

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

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

Debug channel **"ole"**.
