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

# CoReleaseMarshalData(3w)

## NAME

**CoReleaseMarshalData** (OLE32.@)

## SYNOPSIS

HRESULT CoReleaseMarshalData\
  (\
   IStream\* *pStream*\
  )

## DESCRIPTION

Releases resources associated with an object that has been marshaled into a stream.

## PARAMS

*pStream* **\[In\]**  The stream that the object has been marshaled into.

## RETURNS

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

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

## NOTES

Call this function to release resources associated with a normal or table-weak marshal that will not be unmarshaled, and all table-strong marshals when they are no longer needed.

## SEE ALSO

CoMarshalInterface(), **[CoUnmarshalInterface(3w)](/CoUnmarshalInterface/3w.md)**.

## IMPLEMENTATION

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

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

Debug channel **"ole"**.
