| Microsoft DirectX 8.1 (C++) | 
The Unadvise method removes an advise request.
Syntax
HRESULT Unadvise(
    DWORD dwAdviseCookie
);
Parameters
dwAdviseCookie
Identifier of the advise request, returned by the CAMSchedule::AddAdvisePacket method.
Return Value
Returns one of the HRESULT values shown in the following table.
| Value | Description | 
| S_FALSE | Not found | 
| S_OK | Success | 
See Also