Object Explorer  Class Hierarchy  This Framework  Index

Global Function System.CATInstantiateComponent


HRESULT __stdcall CATInstantiateComponent( const char* iname,
const IID& iid,
void** oppv)
Creates an class instance by its name.
Parameters:
iname
The class name for which an instance is requested.
iid
The identifier of the interface which is queryied on the implementation.
oppv
The address where the returned pointer to the interface is located.
Returns:
S_OK
if the query succeeds
E_UNEXPECTED
for an unexpected failure
E_NOINTERFACE
if the interface does not exist

This object is included in the file: CATInstantiateComponent.h

Copyright © 2000, Dassault Systèmes. All rights reserved.