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