IMFSAMIStyle::GetStyles method (mfidl.h)

Gets a list of the style names defined in the SAMI file.


HRESULT GetStyles(
  [out] PROPVARIANT *pPropVarStyleArray


[out] pPropVarStyleArray

Pointer to a PROPVARIANT that receives an array of null-terminated wide-character strings. The PROPVARIANT type is VT_VECTOR | VT_LPWSTR. The caller must clear the PROPVARIANT by calling PropVariantClear.

Return value

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


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfidl.h
Library Mfuuid.lib

See also


SAMI Media Source