Microsoft DirectX 9.0

IATSCComponentType::get_Flags

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

Syntax

HRESULT get_Flags(
  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 Values

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

See Also