IComponentData::CreateComponent

[This is preliminary documentation and subject to change.]

Creates a component that will be associated with this IComponentData interface.

HRESULT CreateComponent (
  LPCOMPONENT * ppComponent  // pointer to the new pointer's 
                             // location
);
 

Parameters

ppComponent
[out] Pointer to the location that stores the newly created pointer to IComponent.

Return Values

S_OK
The component was successfully created.
E_UNEXPECTED
An unexpected error occurred.

See Also

IComponent, IComponentData, IConsole