cogetobject (ole32)
Last changed: anonymous

.
Summary
Converts a display name into a moniker that identifies the object named, and then binds to the object identified by the moniker.

C# Signature:

[DllImport("ole32.dll", CharSet=CharSet.Unicode, ExactSpelling=true, PreserveSig=false)]
[return: MarshalAs(UnmanagedType.Interface)]
static extern object CoGetObject(
   string pszName,
   [In] ref BIND_OPTS pBindOptions,
   [In, MarshalAs(UnmanagedType.LPStruct)] Guid riid);

User-Defined Types:

BIND_OPTS

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation
CoGetObject on MSDN