[DllImport("ole32.dll", SetLastError = true)] public static extern int CoMarshalInterface( IStream pStm, ref Guid riid, IUnknown pUnk, uint dwDestContext, IntPtr pvDestContext, uint mshlflags );
Microsoft documentation: Link
Last updated 1 year ago