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

# ReadClassStm(3w)

## NAME

**ReadClassStm** (OLE32.@)

## SYNOPSIS

HRESULT ReadClassStm\
  (\
   IStream\* *pStm*,\
   CLSID\*   *pclsid*\
  )

## DESCRIPTION

Reads a **CLSID** from a stream.

## PARAMS

*pStm* **\[In\]**  Stream to read from.

rclsid **\[Out\]**  **CLSID** to read.

## RETURNS

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

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

## IMPLEMENTATION

Declared in **"ole2.h"**.

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

Debug channel **"storage"**.
