Share via


CAMThread::CallWorker

 
Microsoft DirectShow 9.0

CAMThread::CallWorker

The CallWorker method signals the thread with a request.

Syntax

  DWORD CallWorker(
    DWORD dwParam
);

Parameters

dwParam

Request parameter. The derived class defines the meaning of the parameter.

Return Value

Returns a value that is defined by the derived class.

Remarks

The CAMThread::GetRequest and CAMThread::CheckRequest methods retrieve the value of the dwParam parameter. The GetRequest method blocks until CallWorker is called.

This method blocks until the CAMThread::Reply method is called. The return value is the parameter given to Reply.

This method holds the CAMThread::m_AccessLock lock to serialize requests. Therefore, do call this method from the thread itself or from any member function that executes in the context of the thread.

Requirements

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

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

See Also