IReferenceClock::Unadvise

 
Microsoft DirectShow 9.0

IReferenceClock::Unadvise

The Unadvise method removes a pending advise request.

Syntax

  HRESULT Unadvise(
  DWORD_PTR dwAdviseCookie
);

Parameters

dwAdviseCookie

[in] Identifier of the request to remove. Use the value returned by IReferenceClock::AdviseTime or IReferenceClock::AdvisePeriodic in the pdwAdviseToken parameter.

Return Value

Returns an HRESULT value. Possible values include the following.

Return code Description
S_FALSE Not found.
S_OK Success.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also