Share via


IATSCComponentType::get_Flags Method

The get_Flags method queries whether an audio component is in AC-3 format.

Syntax

HRESULT get_Flags(
  [out]  long *pFlags
);

Parameters

  • pFlags [out]
    Pointer to a variable that receives one of the following values.

    Value Description
    Zero The component does not contain AC-3 audio
    ATSCCT_AC3 The component contains AC-3 audio

    See ATSCComponentTypeFlags Enumeration.

Return Value

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

Requirements

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

See Also

IATSCComponentType Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008