This topic has not yet been rated - Rate this topic

Marshal.GetComInterfaceForObject Method

Returns an interface pointer that represents an interface for an object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member GetComInterfaceForObject(Object, Type) Returns a pointer to an IUnknown interface that represents the specified interface on the specified object. Custom query interface access is enabled by default.
Public method Static member GetComInterfaceForObject(Object, Type, CustomQueryInterfaceMode) Returns a pointer to an IUnknown interface that represents the specified interface on the specified object. Custom query interface access is controlled by the specified customization mode.
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.