Share via


CSourceStream::GetRequest

 
Microsoft DirectShow 9.0

CSourceStream::GetRequest

The GetRequest method waits for the next thread request.

Syntax

  Command GetRequest(void);

Return Value

Returns the next thread request.

Remarks

This method overrides the CAMThread::GetRequest method. The return value is cast to the following enumerated type:

enum Command {CMD_INIT, CMD_PAUSE, CMD_RUN, CMD_STOP, CMD_EXIT};

Requirements

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

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

See Also