System CATBaseDispatch
Usage: you can derive this class.
public class CATBaseDispatch
Base class for Automation interfaces.
Role: All Automation interfaces must inherit from
the CATBaseDispatch interface. They usually do not
inherit directly from CATBaseDispatch, but rather
from one of its subclasses: CATIABase individual objects
or CATIACollection for collection objects.
Some methods may however have arguments of type CATBaseDispatch
when they accept both individual objects or collection objects.
The interface provides no functionalities per se.
Method Index
- o
QueryInterface(IID&,void**)
- Retrieves a pointer to a given interface.
Methods
o QueryInterface
public virtual QueryInterface( | const | iid, |
| | ppv) |
-
Retrieves a pointer to a given interface.
- Parameters:
-
- iid
- The interface identifier for which a pointer is requested.
- ppv
- The address where the returned pointer to the interface is located.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- The query succeeds.
- E_NOINTERFACE
- The interface does not exist.
- E_FAIL
- The object is not valid.
- E_OUTOFMEMORY
- One memory allocation fails
- E_UNEXPECTED
- The query fails for any other reason
This object is included in the file: CATBaseDispatch.h
If needed, your Imakefile.mk should include the module: JS0GROUP
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.