Share via


Windows Media Player 11 SDK IWMPClosedCaption2::get_SAMIStyleCount 

Windows Media Player SDK banner art

Previous Next

IWMPClosedCaption2::get_SAMIStyleCount

The get_SAMIStyleCount method retrieves the number of styles supported by the current SAMI file.

Syntax

  

Parameters

plCount

[out]  Pointer to a long containing the count.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Remarks

This method cannot be used until a digital media file is open.

Windows Media Player 10 Mobile: This method always retrieves a long set to 0.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next