GetClassDesc
Purpose
The CMetaAIM GetClassDesc function returns the class description object specified by name.
Description
If an application has the ObjectGUID or ObjectID of this object, it can instantiate the CMetaClassDesc using these identification parameters, and use the ReadObject function to read this object.
The application is responsible to free the returned object.
Requirements
The class must be in the current model.
Syntax
HRESULT GetClassDesc (
LPCTSTR Name,
CMetaClassDesc *&pClassPtr);
Argument |
In/Out |
Description |
Name |
In |
Name of the class. |
pClassPtr |
Out |
Pointer to the class object. |