Class: TurboRex::Windows::COM::Interface::IPSFactoryBuffer

Inherits:
TurboRex::Windows::COM::Interface show all
Defined in:
lib/turborex/windows/com/interface.rb

Constant Summary collapse

METHOD_DEFS =
"  HRESULT STDMETHODCALLTYPE QueryInterface( \n      IPSFactoryBuffer * This,\n      REFIID riid,\n      void **ppvObject);\n  \n  ULONG STDMETHODCALLTYPE AddRef( \n      IPSFactoryBuffer * This);\n  \n  ULONG STDMETHODCALLTYPE Release( \n      IPSFactoryBuffer * This);\n  \n  HRESULT STDMETHODCALLTYPE CreateProxy( \n      IPSFactoryBuffer * This,\n      IUnknown *pUnkOuter,\n      REFIID riid,\n      IRpcProxyBuffer **ppProxy,\n      void **ppv);\n  \n  HRESULT STDMETHODCALLTYPE CreateStub( \n      IPSFactoryBuffer * This,\n      REFIID riid,\n      IUnknown *pUnkServer,\n      IRpcStubBuffer **ppStub);\n"
METHODS =
[
           _symbol['QueryInterface'],
           _symbol['AddRef'],                    
           _symbol['Release'],
           _symbol['CreateProxy'],
           _symbol['CreateStub']
]

Constants included from WellKnownIID

WellKnownIID::IID_IClassFactory, WellKnownIID::IID_IPSFactoryBuffer, WellKnownIID::IID_IRpcProxyBuffer, WellKnownIID::IID_IRpcStubBuffer, WellKnownIID::IID_IStorage, WellKnownIID::IID_IStream, WellKnownIID::IID_IUnknown

Instance Attribute Summary

Attributes inherited from TurboRex::Windows::COM::Interface

#iid, #methods, #parent, #pvtbl, #this, #vtbl

Instance Method Summary collapse

Methods inherited from TurboRex::Windows::COM::Interface

define_interface, #marshal_to_string

Constructor Details

#initializeIPSFactoryBuffer

Returns a new instance of IPSFactoryBuffer.



220
221
222
223
224
# File 'lib/turborex/windows/com/interface.rb', line 220

def initialize
  methods = METHODS
  parent = nil
  super(IID_IPSFactoryBuffer, methods, parent)
end

Instance Method Details

#nameObject



226
227
228
# File 'lib/turborex/windows/com/interface.rb', line 226

def name
  self.class.to_s
end