IReferenceClock::Unadvise

DirectMusic

Microsoft DirectX 9.0 SDK Update (Summer 2004)

IReferenceClock::Unadvise

The Unadvise method cancels a request for notification.

Syntax

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 error values shown in the following table.

Return code
E_FAIL
E_POINTER
E_INVALIDARG
E_NOTIMPL

Requirements

  Header: Declared in dmusicc.h.

See Also


© 2004 Microsoft Corporation. All rights reserved.