GetStyles
Collapse the table of content
Expand the table of content

IMFSAMIStyle::GetStyles method

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

Syntax


HRESULT GetStyles(
  [out] PROPVARIANT *pPropVarStyleArray
);

Parameters

pPropVarStyleArray [out]

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]

Header

Mfidl.h

Library

Mfuuid.lib

See also

IMFSAMIStyle
SAMI Media Source

 

 

Show:
© 2016 Microsoft