**IApcLegacyEvents::ClassID Event**
Called by APC during project open to determine the CLSID of the host project item at the specified index.
Before a VBA project is opened, the host application should know the number of host project items and the CLSID of each. Then, during project open, APC calls this method to for each host project item in the VBA project.
HRESULT ClassID(long ProjectItemIndex, BSTR* pbstrClassID);
- ProjectItemIndex [in] A long containing the index of the host project item whose class ID is to be returned.
Called by APC during project open to determine the CLSID of the host project item at the specified index.
Before a VBA project is opened, the host application should know the number of host project items and the CLSID of each. Then, during project open, APC calls this method to for each host project item in the VBA project.
HRESULT ClassID(long ProjectItemIndex, BSTR* pbstrClassID);
- ProjectItemIndex [in] A long containing the index of the host project item whose class ID is to be returned.