IReferenceClock::Unadvise method

The Unadvise method removes a pending advise request.

Syntax


HRESULT Unadvise(
  [in] 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 codeDescription
S_FALSE

Not found.

S_OK

Success.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IReferenceClock Interface

 

 

Show: