// QueryInterface will query interface and return object by reference. func (c *ConnectionPoint) QueryInterface(interfaceID *com.GUID, element interface{}) error { return iunknown.QueryInterface(c, c.VTable().QueryInterface, interfaceID, &element) }
// QueryInterface will query interface and return object by reference. func (d *Dispatch) QueryInterface(interfaceID *com.GUID, element interface{}) error { return iunknown.QueryInterface(d, d.VTable().QueryInterface, interfaceID, &element) }