IMFSAMIStyle interface

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

Members

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

Methods

The IMFSAMIStyle interface has these methods.

MethodDescription
GetSelectedStyle

Gets the current style from the SAMI media source.

GetStyleCount

Gets the number of styles defined in the SAMI file.

GetStyles

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

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]

Header

Mfidl.h

Library

Mfuuid.lib

See also

Media Foundation Interfaces
SAMI Media Source

 

 

Community Additions

ADD
Show:
© 2014 Microsoft