CPosPassThru::SetPositions (Windows CE 5.0)

Send Feedback

Sets current and stop positions and applies flags to both.

HRESULTSetPositions(LONGLONG* pCurrent,DWORDdwCurrentFlags,LONGLONG* pStop,DWORDdwStopFlags);

Parameters

  • pCurrent
    Start position if stopped, or position to continue from if paused.
  • dwCurrentFlags
    When seeking, one of these flags must be set to indicate the type of seek. See the IMediaSeeking::SetPositions method for a description of these flags.
  • pStop
    Position in the stream at which to quit.
  • dwStopFlags
    Stop position seeking options to be applied. These are the same as listed for dwCurrentFlags.

Return Values

Returns the HRESULT value returned from calling IMediaSeeking::SetPositions on the connected pin.

Remarks

This member function implements the IMediaSeeking::SetPositions method by calling this same method on the upstream filter's output pin. It allows the retrieval of several values with only one call.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

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.