IMFSAMIStyle::GetStyles method

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

Syntax

HRESULT GetStyles(
  PROPVARIANT *pPropVarStyleArray
);

Parameters

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.

Requirements

   
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

IMFSAMIStyle

SAMI Media Source