Microsoft DirectX 8.1 (C++)

ICAComponent::get_Component

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The get_Component method retrieves the component’s IComponent interface. You can use the IComponent interface to set or retrieve properties on the component, such as the description and the status.

Syntax

HRESULT get_Component(
  IComponent**  ppComponent
);

Parameters

  ppComponent

[out]  Pointer to a variable that receives an IComponent interface pointer.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

The returned IComponent interface has an outstanding reference count. The caller must release the interface.

See Also