Share via


ISectionList::GetNumberOfSections

 
Microsoft DirectShow 9.0

ISectionList::GetNumberOfSections

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

Syntax

  HRESULT GetNumberOfSections(
  WORD*  pCount
);

Parameters

pCount

[out]  Receives the number of sections.

Return Values

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: Include Mpeg2data.h.

See Also