rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvCOMInterfaceFromCLSID< INTERFACE > Class Template Reference

This class queries for a specific interface from an CLSID. More...

#include <ilviews/windows/com.h>

Inheritance diagram for IlvCOMInterfaceFromCLSID< INTERFACE >:
IlvAbstractCOMInterface< INTERFACE >

List of all members.

Public Member Functions

 IlvCOMInterfaceFromCLSID (REFCLSID clsID, REFIID rIID, DWORD dwClsContext=CLSCTX_INPROC_SERVER)
 Constructor.
virtual ~IlvCOMInterfaceFromCLSID ()
 The destructor.

Detailed Description

template<class INTERFACE>
class IlvCOMInterfaceFromCLSID< INTERFACE >

This class queries for a specific interface from an CLSID.

Library: ilvcom


Constructor & Destructor Documentation

template<class INTERFACE >
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.

Parameters:
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).
See also:
IlvCOMInterfaceFromCLSID::~IlvCOMInterfaceFromCLSID.
template<class INTERFACE >
IlvCOMInterfaceFromCLSID< INTERFACE >::~IlvCOMInterfaceFromCLSID (  )  [virtual]

The destructor.

It releases the resources used by the object.

See also:
IlvCOMInterfaceFromCLSID::IlvCOMInterfaceFromCLSID.

© Copyright 2012, 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.