All Frameworks  Class Hierarchy  This Framework  Indexes

System Global Function CATCreateInstance


HRESULT CATCreateInstance( const CLSID& iClsid,
IUnknown* pUnkOuter,
DWORD iContext,
const IID& riid,
void** ppv)
Creates an instance of the class associated with a specified CLSID.
Parameters:
iClsid
The class identifier (CLSID) of the object
pUnkOuter
Must be NULL
iContext
Must be equal to 0
riid
The reference to the identifier of the requested interface
ppv
The address of output variable that receives the interface pointer requested in riid
Returns:
S_OK if the creation succeeded, E_FAIL otherwise.

This object is included in the file: CATCreateInstance.h

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