다음을 통해 공유


IAMStreamSelect::Enable (Windows CE 5.0)

Send Feedback

This method enables or disables a given stream.

HRESULT Enable(longlIndex,DWORDdwFlags);

Parameters

  • lIndex
    [in] Index number of desired stream. Zero-based.
  • dwFlags
    [in] Flag indicating whether to enable or disable the stream. Valid values include the following.
    Value Description
    Zero Disable all streams in the group containing this stream.
    AMSTREAMSELECTENABLE_ENABLE Enable only this stream within the given group and disable all others.
    AMSTREAMSELECTENABLE_ENABLEALL Enable all streams in the group containing this stream.

Return Values

Returns an HRESULT value that depends on the implementation of the interface. The current DirectShow implementation returns E_NOTIMPL if support for the specified flag has not been implemented, E_INVALIDARG if the stream ID is invalid, or S_OK otherwise.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.