Rogue Wave Views |
Rogue Wave Views Documentation Home |
This class queries for a specific interface from an CLSID. More...
#include <ilviews/windows/com.h>
Public Member Functions | |
IlvCOMInterfaceFromCLSID (REFCLSID clsID, REFIID rIID, DWORD dwClsContext=CLSCTX_INPROC_SERVER) | |
Constructor. More... | |
virtual | ~IlvCOMInterfaceFromCLSID () |
The destructor. More... | |
Public Member Functions inherited from IlvAbstractCOMInterface< INTERFACE > | |
virtual | ~IlvAbstractCOMInterface ()=0 |
Destructor. More... | |
INTERFACE * | getInterface () const |
This member function returns the interface associated to this class. More... | |
operator INTERFACE * () const | |
This operator returns the interface associated to this class. More... | |
operator INTERFACE const * () const | |
This const operator returns the interface associated to this class. More... | |
INTERFACE * | operator-> () const |
This operator lets the class to be used as a plain pointer. More... | |
HRESULT | setInterface (IUnknown *iunk, REFIID iid) |
This function modifies the interface stored by this object through a call to the function QueryInterface of the IUnknown interface. More... | |
void | setInterface (INTERFACE *interf) |
This function replaces the previous interface stored in this object by a new one. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from IlvAbstractCOMInterface< INTERFACE > | |
IlvAbstractCOMInterface () | |
Default constructor. More... | |
IlvAbstractCOMInterface (IlvAbstractCOMInterface const &other) | |
Copy constructor. More... | |
IlvAbstractCOMInterface (CntPtr const &initObj) | |
Constructor. More... | |
CntPtr const & | getInitializer () const |
This function returns a reference counter to the library initializer. More... | |
IlvAbstractCOMInterface & | operator= (IlvAbstractCOMInterface const &other) |
Assignment operator. More... | |
This class queries for a specific interface from an CLSID.
Library: ilvcom
IlvCOMInterfaceFromCLSID< INTERFACE >::IlvCOMInterfaceFromCLSID | ( | REFCLSID | clsID, |
REFIID | rIID, | ||
DWORD | dwClsContext = CLSCTX_INPROC_SERVER |
||
) |
Constructor.
It builds an object from a REFCLSID and a REFIID. The last parameter lets to specify the context for running executable code.
clsID | A REFCLSID. |
rIID | A REFIID. |
dwClsContext | A DWORD. The default value is CLSCTX_INPROC_SERVER. See the documentation of the Windows API function CoCreateInstance for more information (third parameter). |
|
virtual |
The destructor.
It releases the resources used by the object.
© Copyright 2015, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.