# CoCreateFreeThreadedMarshaler

```csharp
[DllImport("ole32.dll", SetLastError = true)]
public static extern int CoCreateFreeThreadedMarshaler(
   IUnknown punkOuter,
   out IUnknown ppunkMarshal
);
```

Microsoft documentation: [Link](https://docs.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-cocreatefreethreadedmarshaler)
