MFCreateCollection
TOC
Collapse the table of content
Expand the table of content

MFCreateCollection function

Creates an empty collection object.

Syntax


HRESULT MFCreateCollection(
  _Out_ IMFCollection **ppIMFCollection
);

Parameters

ppIMFCollection [out]

Receives a pointer to the collection object's IMFCollection 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 codeDescription
S_OK

The method succeeded.

 

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

Mfapi.h

Library

Mfplat.lib

DLL

Mfplat.dll

See also

Media Foundation Functions

 

 

Community Additions

ADD
Show:
© 2016 Microsoft