Microsoft DirectX 9.0

CBaseReferenceClock::Unadvise

The Unadvise method removes a pending advise request. This method implements the IReferenceClock::Unadvise method.

Syntax

HRESULT Unadvise(
    DWORD dwAdviseToken
);

Parameters

dwAdviseToken

Identifier of the request to remove. Use the value returned by the CBaseReferenceClock::AdviseTime or CBaseReferenceClock::AdvisePeriodic methods in the pdwAdviseToken parameter.

Return Value

Returns one of the HRESULT values shown in the following table.

Value Description
S_FALSE Not found.
S_OK Success.

See Also