Microsoft Windows CE 3.0  

CSourceSeeking::CheckCapabilities

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

HRESULT CheckCapabilities(
DWORD
*
pCapabilities
);

Parameters

pCapabilities
Pointer to a DWORD containing the desired seeking capabilities flags in m_dwSeekingCaps. This value can be any 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 Values

    Returns E_POINTER if pCapabilitiesis not a valid pointer, S_OK if all the requested capabilities in pCapabilitiesare supported, or S_FALSE if they are not.