MFCreateAttributes Function
Creates an empty attribute store.
Syntax
HRESULT MFCreateAttributes(
__out IMFAttributes **ppMFAttributes,
__in UINT32 cInitialSize
);
Parameter
ppMFAttributes [out]
Receives a pointer to the IMFAttributes interface. The caller must release the interface.cInitialSize [in]
The initial number of elements allocated for the attribute store. The attribute store grows as needed.
Rückgabewert
Ist Funktion erfolgreich, wird "S_OK" zurückgegeben. Andernfalls wird ein HRESULT-Fehlercode zurückgegeben.
Hinweise
Attributes are used throughout Microsoft Media Foundation to configure objects, describe media formats, query object properties, and other purposes. For more information, see Attributes in Media Foundation.
For a complete list of all the defined attribute GUIDs in Media Foundation, see Media Foundation Attributes.
Anforderungen
Mindestens unterstützter Client |
Windows Vista |
Mindestens unterstützter Server |
Windows Server 2008 |
Header |
Mfapi.h |
Bibliothek |
Mfplat.lib |
DLL |
Mfplat.dll |