Share via


CBaseReferenceClock::Unadvise

 
Microsoft DirectShow 9.0

CBaseReferenceClock::Unadvise

The Unadvise method removes a pending advise request. This method implements the IReferenceClock::Unadvise method.

Syntax

  HRESULT Unadvise(
    DWORD_PTR dwAdviseToken
);

Parameters

dwAdviseToken

Identifier of the request to remove. Use the value returned by the CBaseReferenceClock::AdviseTime or CBaseReferenceClock::AdvisePeriodic methods in the pdwAdviseToken parameter.

Return Value

Returns one of the HRESULT values shown in the following table.

Value Description
S_FALSE Not found.
S_OK Success.

Requirements

**  Header:** Declared in Refclock.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also