Platform SDK: DirectX

IReferenceClock::Unadvise

The IReferenceClock::Unadvise method cancels a request for notification.

HRESULT Unadvise(
  DWORD dwAdviseCookie
);

Parameters

dwAdviseCookie
Identifier of the request that is to be canceled, as set in the IReferenceClock::AdviseTime or the IReferenceClock::AdvisePeriodic method.

Return Values

Return values are determined by the implementation. If the method succeeds, it returns S_OK.

If it fails, the method can return one of the following error values:

E_FAIL
E_POINTER
E_INVALIDARG
E_NOTIMPL

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dmusicc.h.