IMsoComponentManager::FRegisterComponent Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Registers a component with the component manager.

BOOL FRegisterComponent(
   IMsoComponent *piComponent,
   const MSOCRINFO *pcrinfo,
   DWORD_PTR *pdwComponentID
);

Parameters

  • piComponent [in]
    A pointer to the IMsoComponent interface that is being registered.

  • pcrinfo [in]
    A pointer to the component registration information that is specified in a MSOCRINFO structure.

  • pdwComponentID [out]
    A pointer to the ID of the component when the component calls other IMsoComponentManager interface methods.

Return Value

TRUE if the component was successfully registered; otherwise, FALSE.

See Also

Reference

IMsoComponentManager Interface