Exemple #1
0
// 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)
}
Exemple #2
0
// 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)
}