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

# ReadClassStg16(3w)

## NAME

**ReadClassStg16** (OLE2.18)

## SYNOPSIS

HRESULT ReadClassStg16\
  (\
   SEGPTR *pstg*,\
   CLSID\* *pclsid*\
  )

## DESCRIPTION

This method reads the **CLSID** previously written to a storage object with the WriteClassStg.

## PARAMS

*pstg* **\[In\]**  Segmented **LPSTORAGE** pointer.

*pclsid* **\[Out\]**  Pointer to where the **CLSID** is written.

## RETURNS

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

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

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in **"dlls/ole2.dll16/ole2.c"**.

Debug channel **"ole"**.
