Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

MFSerializePresentationDescriptor function

Serializes a presentation descriptor to a byte array.

Syntax


HRESULT MFSerializePresentationDescriptor(
   IMFPresentationDescriptor *pPD,
   DWORD                     *pcbData,
   BYTE                      **ppbData
);

Parameters

pPD

Pointer to the IMFPresentationDescriptor interface of the presentation descriptor to serialize.

pcbData

Receives the size of the ppbData array, in bytes.

ppbData

Receives a pointer to an array of bytes containing the serialized presentation descriptor. The caller must free the memory for the array by calling CoTaskMemFree.

Return value

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

Return codeDescription
S_OK

The function succeeded.

 

Remarks

To deserialize the presentation descriptor, pass the byte array to the MFDeserializePresentationDescriptor function.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mfplat.lib

DLL

Mfplat.dll

See also

IMFPresentationDescriptor
Media Foundation Functions

 

 

Community Additions

ADD
Show:
© 2015 Microsoft