Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.