MFCreatePresentationDescriptorFromASFProfile function (wmcontainer.h)

Creates a presentation descriptor from an ASF profile object.

Syntax

HRESULT MFCreatePresentationDescriptorFromASFProfile(
  IMFASFProfile             *pIProfile,
  IMFPresentationDescriptor **ppIPD
);

Parameters

pIProfile

Pointer to the IMFASFProfile interface of the ASF profile object.

ppIPD

Receives a pointer to the IMFPresentationDescriptor interface. The caller must release the interface.

Return value

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The function succeeded.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wmcontainer.h
Library Mf.lib
DLL Mf.dll

See also

Media Foundation Functions