IMFSAMIStyle interface

Sets and retrieves Synchronized Accessible Media Interchange (SAMI) styles on the SAMI Media Source.

Inheritance

The IMFSAMIStyle interface inherits from the IUnknown interface. IMFSAMIStyle also has these types of members:

Methods

The IMFSAMIStyle interface has these methods.

Method Description
IMFSAMIStyle::GetSelectedStyle Gets the current style from the SAMI media source.
IMFSAMIStyle::GetStyleCount Gets the number of styles defined in the SAMI file.
IMFSAMIStyle::GetStyles Gets a list of the style names defined in the SAMI file.
IMFSAMIStyle::SetSelectedStyle Sets the current style on the SAMI media source.

Remarks

To get a pointer to this interface, call IMFGetService::GetService. The service identifier is MF_SAMI_SERVICE. Call GetService either directly on the SAMI media source, or on the Media Session (if you are using the SAMI source with the Media Session).

Requirements

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

See also

Media Foundation Interfaces

SAMI Media Source