# ReleaseStgMedium

```csharp
[DllImport("ole32.dll", SetLastError = true)]
public static extern void ReleaseStgMedium(
   ref STGMEDIUM pmedium
);
```

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