Microsoft Windows CE 3.0  

CBaseReferenceClock::Unadvise

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Removes a previously established advise link.

HRESULT Unadvise(
DWORD
dwAdviseToken
);

Parameters

dwAdviseToken
Identifier (token) of the link that is being reset. This is the same value that was returned on CBaseReferenceClock::AdviseTimeor CBaseReferenceClock::AdvisePeriodic.

Return Values

Returns S_OK if the successful, S_FALSE if not.

Remarks

This member function implements the IReferenceClock::Unadvisemethod. Call Unadviseto remove the previously established clock advise links. It is mandatory to call Unadviseon periodic advises in order to stop further calls. It is recommended to call Unadvisefor single-shot advise links.