Microsoft DirectX 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]  Pointer to a variable that 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.

See Also