Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]

Header

Mfmediaengine.h

See also

IMFMediaEngineEx

 

 

Show:
© 2017 Microsoft