System Global Function CATCreateInstance
CATCreateInstance( | const | iClsid, |
| | pUnkOuter, |
| | iContext, |
| const | riid, |
| | 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 © 1999-2015, Dassault Systèmes. All rights reserved.