BindMoniker (ole32)
Last changed: -46.196.199.29

.
Summary
Locates an object via its moniker, activates the object if it is inactive, and retrieves a pointer to the specified interface on that object.

C# Signature:

[DllImport("ole32.dll", CharSet=CharSet.Unicode, ExactSpelling=true, PreserveSig=false)]
[return: MarshalAs(UnmanagedType.Interface)]
static extern object BindMoniker(UCOMIMoniker pmk, uint grfOpt,
    [In, MarshalAs(UnmanagedType.LPStruct)] Guid iidResult);

VB Signature:

Declare Function BindMoniker Lib "ole32.dll" (pmk As UCOMIMoniker, grfOpt As Integer, _
   <[In]> ByRef iidResult As Guid, <MarshalAs(UnmanagedType.Interface), Out> ByRef _
   ppresult As Object) As Integer

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation
BindMoniker on MSDN