Freigeben über


MFCreateCollection Function

Creates an empty collection object.

Syntax

HRESULT MFCreateCollection(
  __out  IMFCollection **ppIMFCollection
);

Parameter

  • ppIMFCollection [out]
    Receives a pointer to the collection object's IMFCollection interface. The caller must release the interface.

Rückgabewert

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

Rückgabecode Beschreibung
S_OK

The method succeeded.

 

Anforderungen

Mindestens unterstützter Client

Windows Vista

Mindestens unterstützter Server

Windows Server 2008

Header

Mfapi.h

Bibliothek

Mfplat.lib

DLL

Mfplat.dll

Siehe auch

Media Foundation Functions