IMFMetadata::GetAllPropertyNames method

Gets a list of all the metadata property names on this object.

Syntax


HRESULT GetAllPropertyNames(
  [out] PROPVARIANT *ppvNames
);

Parameters

ppvNames [out]

Pointer to a PROPVARIANT that receives an array of null-terminated wide-character strings. If no properties are available, the PROPVARIANT type is VT_EMPTY. Otherwise, the PROPVARIANT type is VT_VECTOR | VT_LPWSTR. The caller must free the PROPVARIANT by calling PropVariantClear.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfidl.h

Library

Mfuuid.lib

See also

Media Metadata
IMFMetadata

 

 

Show: