次の方法で共有


IATSCComponentType::get_Flags

 
Microsoft DirectShow 9.0

IATSCComponentType::get_Flags

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

Syntax

  HRESULT get_Flags(
  long*  
);

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 Values

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

Requirements

Header: Dshow.h.

Library: Quartz.dll.

See Also