Windows Media Format SDK banner art
PreviousNext

IWMReaderAdvanced::GetReceiveStreamSamples

The GetReceiveStreamSamples method retrieves a flag indicating whether stream samples are delivered to the IWMReaderCallbackAdvanced::OnStreamSample call. Stream samples are samples directly from the source file, and are not decompressed.

Syntax

HRESULT GetReceiveStreamSamples(
  WORD  wStreamNum,
  BOOL*  pfReceiveStreamSamples
);

Parameters

  wStreamNum

[in]  Word containing the stream number.

  pfReceiveStreamSamples

[out]  Pointer to a flag. TRUE indicates that stream samples are delivered.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Meaning
E_UNEXPECTED The method failed for an unspecified reason.
E_POINTER The pfReceiveStreamSamples parameter is NULL.

Remarks

Stream numbers may only be in the range of 1-64.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.