Share via


ISectionList::GetNumberOfSections Method

The GetNumberOfSections method returns the number of MPEG-2 sections that were received.

Syntax

HRESULT GetNumberOfSections(
  [out]  WORD *pCount
);

Parameters

  • pCount [out]
    Receives the number of sections.

Return Value

The method returns an HRESULT. Possible values include those in the following table.

Return code Description

E_ACCESSDENIED

The request has not completed yet.

E_POINTER

NULL pointer argument.

S_OK

The method succeeded.

Requirements

Header Declared in Mpeg2data.h.

See Also

ISectionList Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008