Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IComponentData::CreateComponent method

The IComponentData::CreateComponent method creates an instance of the IComponent that will be associated with this IComponentData interface.

Syntax


HRESULT CreateComponent(
  [out] LPCOMPONENT *ppComponent
);

Parameters

ppComponent [out]

A pointer to the location that stores the newly created pointer to IComponent.

Return value

This method can return one of these values.

S_OK

The component was successfully created.

E_UNEXPECTED

An unexpected error occurred.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

See also

IComponent
IComponentData
IConsole2

 

 

Show: