Expand Minimize

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.

 

Remarks

Windows Phone 8: This API is supported.

Windows Phone 8.1: This API is supported.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfapi.h

Library

Mfplat.lib

DLL

Mfplat.dll

See also

Media Foundation Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft