Windows Dev Center

IMFMediaEngineEx::GetPresentationAttribute method

Gets a presentation attribute from the media resource.

Syntax


HRESULT GetPresentationAttribute(
  [in]  REFGUID     guidMFAttribute,
  [out] PROPVARIANT *pvValue
);

Parameters

guidMFAttribute [in]

The attribute to query. For a list of presentation attributes, see Presentation Descriptor Attributes.

pvValue [out]

A pointer to a PROPVARIANT that receives the value. The method fills the PROPVARIANT with a copy of the stored value. The caller must free the PROPVARIANT by calling PropVariantClear.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfmediaengine.h

See also

IMFMediaEngineEx

 

 

Community Additions

ADD
Show:
© 2015 Microsoft