Share via


IComponent::put_Status Method

The put_Status method sets the requested or actual status of the component.

Syntax

HRESULT put_Status(
  [in]  ComponentStatus Status
);

Parameters

  • Status [in]
    A variable of type ComponentStatus that specifies the status value.

Return Value

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Remarks

Use this method to activate or inactivate a stream component.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IComponent Interface
IComponent::get_Status

Send comments about this topic to Microsoft

Build date: 12/4/2008