# ReadClassStm

```csharp
[DllImport("ole32.dll", SetLastError = true)]
public static extern int ReadClassStm(
   IStream pStm,
   out Guid pclsid
);
```

Microsoft documentation: [Link](https://learn.microsoft.com/en-us/windows/win32/api/coml2api/nf-coml2api-readclassstm)
