IMFSAMIStyle::GetStyleCount method (mfidl.h)

Gets the number of styles defined in the SAMI file.

Syntax

HRESULT GetStyleCount(
  [out] DWORD *pdwCount
);

Parameters

[out] pdwCount

Receives the number of SAMI styles in the file.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
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