Share via


CAMSchedule::Unadvise

 
Microsoft DirectShow 9.0

CAMSchedule::Unadvise

The Unadvise method removes an advise request.

Syntax

  HRESULT Unadvise(
    DWORD_PTR 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

Requirements

**  Header:** Declared in Dsschedule.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also