MFCreateASFProfileFromPresentationDescriptor function (wmcontainer.h)
Creates an ASF profile object from a presentation descriptor.
HRESULT MFCreateASFProfileFromPresentationDescriptor(
IMFPresentationDescriptor *pIPD,
IMFASFProfile **ppIProfile
);
pIPD
Pointer to the IMFPresentationDescriptor interface of the presentation descriptor that contains the profile information.
ppIProfile
Receives a pointer to the IMFASFProfile interface. The caller must release the interface.
The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The function succeeded. |
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 |