Compartilhar via


CSourceSeeking::CheckCapabilities (Compact 2013)

3/26/2014

Checks that all the requested capabilities are among the flags in m_dwSeekingCaps.

Syntax

HRESULT CheckCapabilities(
  DWORD* pCapabilities 
);

Parameters

  • pCapabilities
    Pointer to a DWORD containing the desired seeking capabilities flags in m_dwSeekingCaps.

    This value can be a combination of the following flags:

    • AM_SEEKING_CanGetCurrentPos
    • AM_SEEKING_CanGetDuration
    • AM_SEEKING_CanGetStopPos
    • AM_SEEKING_CanPlayBackwards
    • AM_SEEKING_CanSeekAbsolute
    • AM_SEEKING_CanSeekBackwards
    • AM_SEEKING_CanSeekForwards

Return Value

Returns E_POINTER if pCapabilities is not a valid pointer, S_OK if all requested capabilities in pCapabilities are supported, or S_FALSE if they are not.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CSourceSeeking Class