Windows Media Format SDK banner art
PreviousNext

IWMReaderAdvanced::SetReceiveSelectionCallbacks

The SetReceiveSelectionCallbacks method specifies whether the stream selection callback should be sent to IWMReaderCallbackAdvanced::OnStreamSelection.

Syntax

HRESULT SetReceiveSelectionCallbacks(
  BOOL  fGetCallbacks
);

Parameters

  fGetCallbacks

[in]  Flag indicating that stream selections should generate callbacks.

Return Values

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

Return code Meaning
E_NOINTERFACE No callback interface has been specified.

Remarks

The user can also choose to get callbacks when automatic stream selection occurs.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.