Class: Fzeet::Windows::WebBrowserEvents
- Inherits:
-
Object
- Object
- Fzeet::Windows::WebBrowserEvents
- Defined in:
- lib/fzeet/windows/shdocvw.rb
Instance Method Summary collapse
Instance Method Details
#Invoke(dispid, *rest) ⇒ Object
49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/fzeet/windows/shdocvw.rb', line 49 def Invoke(dispid, *rest) method = (self.class::VTBL.members - IDispatch::VTBL.members).find { |name| dispidName = "DISPID_#{name.upcase}" Windows.const_defined?(dispidName) && Windows.const_get(dispidName) == dispid } return E_NOTIMPL unless method send(method, DISPPARAMS.new(rest[3])) S_OK end |