Unadvise method

Cancels an event request.

Syntax

HRESULT retVal = object.Unadvise(dwCookie);

Parameters

  • dwCookie [in]
    Type: DWORD

    A DWORD containing the cookie returned from an ITimer::Advise call.