Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ BindToMoniker()

static object System.Runtime.InteropServices.Marshal.BindToMoniker ( string monikerName)
inlinestatic

Definition at line 591 of file Marshal.cs.

592 {
594 {
595 throw new NotSupportedException(SR.NotSupported_COM);
596 }
597 CreateBindCtx(0u, out var ppbc);
598 MkParseDisplayName(ppbc, monikerName, out var _, out var ppmk);
599 BindMoniker(ppmk, 0u, ref IID_IUnknown, out var ppvResult);
600 return ppvResult;
601 }
static void CreateBindCtx(uint reserved, out IBindCtx ppbc)
static void MkParseDisplayName(IBindCtx pbc, [MarshalAs(UnmanagedType.LPWStr)] string szUserName, out uint pchEaten, out IMoniker ppmk)
static void BindMoniker(IMoniker pmk, uint grfOpt, ref Guid iidResult, [MarshalAs(UnmanagedType.Interface)] out object ppvResult)

References System.Runtime.InteropServices.Marshal.BindMoniker(), System.Runtime.InteropServices.Marshal.CreateBindCtx(), System.Runtime.InteropServices.Marshal.IID_IUnknown, System.Runtime.InteropServices.Marshal.IsBuiltInComSupported, System.Runtime.InteropServices.Marshal.MkParseDisplayName(), and System.SR.NotSupported_COM.