Microsoft DirectX 8.1 (C++)

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.

See Also