ISectionList::GetNumberOfSections method (mpeg2data.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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

Syntax

HRESULT GetNumberOfSections(
  [out] WORD *pCount
);

Parameters

[out] pCount

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

Requirement Value
Target Platform Windows
Header mpeg2data.h

See also

ISectionList Interface