Creates an empty collection object.
HRESULT MFCreateCollection(
IMFCollection **ppIMFCollection
)
ppIMFCollection
Type: IMFCollection **
[out]
Receives a pointer to the collection object’s IMFCollection interface. The caller must release the interface.
Type: HRESULT
The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
| S_OK | The method succeeded. |
Refer to Media Foundation return codes.
Header: Declared in mfapi.h.
Library: Use Mfplat.lib.